code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
namespace Decent.Minecraft.Client.Blocks
{
/// <summary>
/// <a href="http://minecraft.gamepedia.com/Fence">Gamepedia link</a>.
/// </summary>
public class Fence : IBlock
{
}
}
| Petermarcu/minecraft.client | Decent.Minecraft.Client/Blocks/Fence.cs | C# | mit | 204 |
package jsock.enums;
/**
* Created by czifro on 6/5/15.
*/
public enum FunctionType {
ONLY_NULLS,
NON_ASCII,
NON_UNICODE
}
| czifro-development/JSocket | jsocket/src/main/java/jsock/enums/FunctionType.java | Java | mit | 138 |
import sys
import pprint
class Reference(object):
def __init__(self, tb_index, varname, target):
self.tb_index = tb_index
self.varname = varname
self.target = target
def marker(self, xtb, tb_index, key):
return Marker(self, xtb, tb_index, key)
class Marker(object):
def... | Hypernode/xtraceback | xtraceback/reference.py | Python | mit | 1,552 |
/*******************************************************************************
* This file is part of the Twig eclipse plugin.
*
* (c) Robert Gruendler <r.gruendler@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
******... | gencer/Twig-Eclipse-Plugin | com.dubture.twig.ui/src/com/dubture/twig/ui/editor/configuration/TwigStructuredPresentationReconciler.java | Java | mit | 671 |
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="../assets/stylesheets/bootstrap.min.css" />
<link href='http://fonts.googleapis.com/css?family=Share+Tech' rel='stylesheet' type='text/css'>
</head>
<body class="container"... | Nucc/luc | guides/public/introduction.html | HTML | mit | 3,543 |
npm install
pause | dmsovetov/necromancer.js | install.bat | Batchfile | mit | 17 |
format MS COFF
section '.text' code readable executable
public _memset
_memset:
push edi
mov edi, [esp+8]
mov al, [esp+12]
mov ecx, [esp+16]
rep stosb
pop edi
ret
| devlato/kolibrios-llvm | programs/other/graph/memset.asm | Assembly | mit | 170 |
local AuthsCache = require 'apicast.policy.3scale_batcher.auths_cache'
local Usage = require 'apicast.usage'
local Transaction = require 'apicast.policy.3scale_batcher.transaction'
local lrucache =require 'resty.lrucache'
local storage
local cache
local usage
local service_id = 's1'
local auth_status = 200
describe(... | 3scale/docker-gateway | spec/policy/3scale_batcher/auths_cache_spec.lua | Lua | mit | 2,853 |
# React Table Docs
This is source code to react-table.tanstack.com. It is forked from the [Formik](https://formik.org) docs and is built with:
- Next.js
- MDX
- Tailwind
- Algolia
- Notion
## Running locally
```sh
yarn install
```
At the moment, you need to signup for Notion, and [follow these instructions](https:... | react-tools/react-table | docs/README.md | Markdown | mit | 899 |
Flask-Multi-Session [](https://travis-ci.org/nbob/flask-multi-session) [](https://pypi.python.org/pypi/Flask-Multi-Session)
==============
__Flask-Multi-Session__ pro... | atkin1450/flask-multi-session | README.md | Markdown | mit | 2,367 |
---
title: Margaret Clark
submitted: 2017-09-06
gender: female
course:
- Music
graduated: 1977
contact_allowed: true
---
Worked as Admin Assistant in touring theatre group in Cumbria called Stage 77 in Autumn 1977. Library Services roles 1978 - 2005. Sang in several local choirs and choral societies up to present da... | johnathan99j/history-project | _people/margaret_clark.md | Markdown | mit | 323 |
require 'jquery-nested-rails/rails' | cisin/jquery-nested-rails-cis | lib/jquery-nested-rails.rb | Ruby | mit | 35 |
<h2>Registration</h2>
<?php include_partial('home/notice', array()) ?>
<?php include_partial('home/error', array()) ?>
| lebedta/christmedia | apps/frontend/modules/registration/templates/registrationProceedSuccess.php | PHP | mit | 120 |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_TXMEMPOOL_H
#define BITCOIN_TXMEMPOOL_H
#include <memory>
#inclu... | ahmedbodi/temp_vert | src/txmempool.h | C | mit | 29,791 |
# -*- coding: utf-8 -*-
"""
This scripts sets an initial layout for the ProEMOnline software. It uses the
PyQtGraph dockarea system and was designed from the dockarea.py example.
Contains:
Left column: Observing Log
Center column: Plots
Right column: Images and Process Log
Menu bar
"""
import pyqtgraph as pg
from p... | ccd-utexas/ProEMOnline | layout.py | Python | mit | 7,341 |
module Fog
module Concerto
class Compute
class Mock
def get_ssh_profile(id)
Fog::Mock.not_implemented
end
end
class Real
def get_ssh_profile(id)
request(path: "cloud/ssh_profiles/#{id}", expects: [200])
end
end
end
end
end | flexiant/fog-concerto | lib/fog-concerto/requests/compute/get_ssh_profile.rb | Ruby | mit | 311 |
<?php
namespace RybakDigital\Bundle\UserBundle\Tests\Entity\Traits;
use \PHPUnit_Framework_TestCase as TestCase;
use RybakDigital\Bundle\UserBundle\Entity\Traits\UserOrganisationRole;
use RybakDigital\Bundle\UserBundle\Entity\Role;
use RybakDigital\Bundle\UserBundle\Entity\User;
use RybakDigital\Bundle\UserBundle\Ent... | rybakdigital/UserBundle | Tests/Entity/Triats/UserOrganisationRoleTest.php | PHP | mit | 959 |
<?php
declare(strict_types=1);
namespace BEAR\QueryRepository;
use BEAR\Resource\ResourceObject;
final class NullCacheControlHeaderSetter implements CdnCacheControlHeaderSetterInterface
{
public function __invoke(ResourceObject $ro, ?int $sMaxAge): void
{
}
}
| koriym/BEAR.QueryRepository | src/NullCacheControlHeaderSetter.php | PHP | mit | 276 |
<?php
header('Content-Type: application/xml; charset=utf-8'); // Necessary to do “real” XHTML.
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>An XHTML 1.0 Strict standard template</title... | nishant8BITS/instantclick | tests/xhtml.php | PHP | mit | 743 |
'use strict';
describe('Service: Location', function () {
// load the service's module
beforeEach(module('treasuremapApp'));
// instantiate service
var Location;
beforeEach(inject(function (_Location_) {
Location = _Location_;
}));
it('should do something', function () {
expect(!!Location).toB... | comvidnet/treasure-map-web | client/services/location/location.service.spec.js | JavaScript | mit | 340 |
import _plotly_utils.basevalidators
class PadValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="pad", parent_name="layout.title", **kwargs):
super(PadValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
dat... | plotly/python-api | packages/python/plotly/plotly/validators/layout/title/_pad.py | Python | mit | 945 |
void DynamicProgrammingQ2(double *Q1, double *T1, double *Q2, double *T2,
int m1, int n1, int n2, double *tv1, double *tv2,
int n1v, int n2v, double *G, double *T,
double *size, double lam1);
| JuliaPackageMirrors/ElasticFDA.jl | deps/src/fdasrsf/DynamicProgrammingQ2.h | C | mit | 270 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Rdbms;
using Umbraco.Tests.TestHelpers;
namespace Umbraco.Tests.Services
{
/// <summary>
/// Tests covering the DataTypeService
/// </summary>
[Da... | gavinfaux/Umbraco-CMS | src/Umbraco.Tests/Services/DataTypeServiceTests.cs | C# | mit | 11,042 |
<?php
namespace Vda\Query\Key;
class OneToOne extends OneToN
{
}
| dmitry027/query | src/Key/OneToOne.php | PHP | mit | 66 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
*
*/
class Bootstrap_system
{
function ui_topbar(){
$html = '
<nav class="navbar navbar-fixed-top">
<div class="container-fluid inverse {_themes}">
<div class="navbar-header">
<button type="button" class="navbar-toggle col... | kukuhsetiawan/lusara | application/libraries/Bootstrap_system.php | PHP | mit | 5,355 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Sun Nov 11 20:31:29 CET 2018 -->
<title>ImageUtils</title>
<meta name="date" content="2018-11-11">
<link rel="stylesheet" type="text/cs... | ev3dev-lang-java/ev3dev-lang-java.github.io | docs/api/v2.4.13/ev3dev-lang-java/ev3dev/hardware/display/ImageUtils.html | HTML | mit | 21,473 |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M23.64 7c-.45-.34-4.93-4-11.64-4-1.5 0-2.89.19-4.15.48L18.18 13.8 23.64 7zm-6.6 8.22L3.27 1.44 2 2.72l2.05 2.06C1.91 5.76.59 6.82.36 7l11.63 14.49... | allanalexandre/material-ui | packages/material-ui-icons/src/SignalWifiOff.js | JavaScript | mit | 415 |
using System.Collections.Generic;
namespace EasyNetQ.Topology
{
/// <summary>
/// Represents an AMQP exchange
/// </summary>
public interface IExchange : IBindable
{
/// <summary>
/// The exchange name.
/// </summary>
string Name { get; }
/// <summary>
... | zidad/EasyNetQ | Source/EasyNetQ/Topology/IExchange.cs | C# | mit | 862 |
Copyright (c) 2014 Matthew Green
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, subl... | NerdGGuy/wai-middleware-oauth2 | LICENSE.md | Markdown | mit | 1,057 |
OBJS = \
bio.o\
console.o\
exec.o\
file.o\
fs.o\
ide.o\
ioapic.o\
kalloc.o\
kbd.o\
lapic.o\
log.o\
main.o\
mp.o\
picirq.o\
pipe.o\
proc.o\
spinlock.o\
string.o\
swtch.o\
syscall.o\
sysfile.o\
sysproc.o\
timer.o\
trapasm.o\
trap.o\
uart.o\
vectors.o\
vm.o\
semaphore.o\
# Cross-compiling (e.... | MrHohn/CS-OperatingSystem-hw2 | Makefile | Makefile | mit | 8,788 |
using System;
using System.Collections.Generic;
using HoloToolkit.Unity;
namespace HoloToolkit.Sharing
{
/// <summary>
/// Keeps track of the users in the current session.
/// Instance is created by Sharing Stage when a connection is found.
/// </summary>
public class SessionUsersTracker : IDispos... | AllBecomesGood/Share-UpdateHolograms | ShareAndKeepSynced/Assets/HoloToolKit/Sharing/Scripts/SessionUsersTracker.cs | C# | mit | 5,480 |
(function() {
var checkVersion = Dagaz.Model.checkVersion;
Dagaz.Model.checkVersion = function(design, name, value) {
if (name != "magyar-no-pass") {
checkVersion(design, name, value);
}
}
var CheckInvariants = Dagaz.Model.CheckInvariants;
Dagaz.Model.CheckInvariants = function(board) {
var ... | GlukKazan/Dagaz | src/debug/games/checkers/magyar-no-pass.js | JavaScript | mit | 562 |
import {ScopedStructure} from "./../../../../structures";
import {Scope} from "./../../../../definitions";
import {ScopedBinder} from "./../../../base";
export class StructureScopedBinder extends ScopedBinder {
constructor(private readonly structure: ScopedStructure) {
super();
}
getScope() {
... | dsherret/type-info-ts | src/binders/structure/class/base/StructureScopedBinder.ts | TypeScript | mit | 380 |
package com.firebase.androidchat;
import android.app.ListActivity;
import android.content.SharedPreferences;
import android.database.DataSetObserver;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.widget.*;
import com.firebas... | Pankaj-Dream/MrMafia | src/com/firebase/androidchat/MainActivity.java | Java | mit | 4,551 |
/*
* UserLogin Messages
*
* This contains all the text for the UserLogin component.
*/
import { defineMessages } from 'react-intl';
export default defineMessages({
header: {
id: 'app.containers.UserLogin.header',
defaultMessage: 'This is UserLogin container !',
},
usernameInput: {
id: 'app.contai... | VeloCloud/website-ui | app/containers/UserLogin/messages.js | JavaScript | mit | 1,013 |
<?php
/**
* @author Honza Cerny (http://honzacerny.com)
*/
namespace App\Model;
class DuplicateEntryException extends \RuntimeException
{
} | matej21/planette-doctrine | app/model/exceptions.php | PHP | mit | 144 |
# Problem
A common genre of document across many publishers is a consumer review of products or media, such as movies, books, or gadgets. A consumer review is like any other article, but it often includes a formal rating of the item being reviewed. Rating values may be used:
* to create renderable widgets on the site ... | washingtonpost/ans-schema | docs/proposals/2017-11-17_-_Ratings.md | Markdown | mit | 4,728 |
<?php
/**
* This file is property of crakmedia (http://crakmedia.com)
*
* PHP Version 5.4
*
* @copyright 2015 Crakmedia
*/
require_once __DIR__.'/../vendor/autoload.php';
$app = new Silex\Application();
require __DIR__ . '/../app/app.php';
$app->run();
| CrakLabs/skeleton-service | web/index.php | PHP | mit | 263 |
<div class="container">
<header></header>
<div class="row col-xs-8">
<tabs>
<tab tabTitle="Multi Result">
<table-bet typeBet="{{typeBetEnum.MultiResult}}"></table-bet>
</tab>
<tab tabTitle="Doble Chance">
<table-bet typeBet="{{typeBetEnum.DobleChance}}"></table-bet>
</tab... | vicmator/Angular-Webpack | src/app/app.component.html | HTML | mit | 506 |
from sentence import Sentence
from textblob import TextBlob
from itertools import chain
from collections import Counter
def findSubject(lines):
sentences = []
if len(lines) == 0:
print "messages are empty"
return None
for m in lines:
sentences.append(Sentence(m).nouns)
if len(sen... | ZacharyJacobCollins/Fallen | tagger.py | Python | mit | 554 |
"use babel";
// @flow
export function filterAtomEnv(env: Object) {
const filteredVars = ["ATOM_HOME", "NODE_PATH"];
return Object.entries(env).reduce((newEnv, [key, value]) => {
if (filteredVars.find(v => v === key) != null) return newEnv;
return { ...newEnv, [key]: value };
}, {});
}
| alanzanattadev/atom-molecule-dev-environment | lib/ExecutionControlEpic/TerminalFeature/Model/utils.js | JavaScript | mit | 302 |
/***************************************************************************
GanttProject.java - description
-------------------
begin : dec 2002
copyright : (C) 2002 by Thomas Alexandre
email : alexthomas(at)ganttproject.org
*********************************************... | mmohan01/ReFactory | data/ganttproject/ganttproject-1.10/net/sourceforge/ganttproject/GanttProject.java | Java | mit | 104,947 |
package app
import (
"os"
"strings"
)
type Environment struct {
Env string
Port string
}
func (this *App) defaultEnv() Environment {
return Environment{
Env: "development",
Port: "5000",
}
}
func envMap() map[string]string {
environ := os.Environ()
env := make(map[string]string)
for _, v := range en... | chocolat-team/chocolat | app/env.go | GO | mit | 407 |
package play_us.server.resources;
import java.net.URLEncoder;
import java.util.Arrays;
import java.util.List;
import org.restlet.resource.ClientResource;
import play_us.shared.domain.Track;
public class SoundcloudResource {
private static final String CLIENT_ID = "3989c2f241c8e4776d091b30d658a6a8";
private stati... | JuanLSanchez/Play-US | Play-US/Play_US/src/play_us/server/resources/SoundcloudResource.java | Java | mit | 896 |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CemeteryComponent } from './cemetery.component';
describe('CemeteryComponent', () => {
let component: CemeteryComponent;
let fixture: ComponentFixture<CemeteryComponent>;
beforeEach(async(() => {
TestBed.configureTestingModu... | the-reincarnation/tr-recode-ng2 | src/app/6soothsayer/cemetery/cemetery.component.spec.ts | TypeScript | mit | 646 |
/* Will change */
.wc-scrollPosition { will-change: scroll-position; }
.wc-contents { will-change: contents; }
.wc-transform { will-change: transform; }
.wc-opacity { will-change: opacity; }
.wc-top { will-change: top; }
.wc-left { will-change: left; }
.wc-bottom {... | modulz/modulz-css | src/css/utilities/will-change.css | CSS | mit | 2,236 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = clean;
var _path = require('path');
var _del = require('del');
var _del2 = _interopRequireDefault(_del);
var _config = require('../config');
var _config2 = _interopRequireDefault(_config);
function _interopRequireDef... | hsavit1/gosofi_webpage | node_modules/next/dist/server/build/clean.js | JavaScript | mit | 539 |
// Code generated by mockery 2.9.4. DO NOT EDIT.
package mocks
import mock "github.com/stretchr/testify/mock"
// XcconfigWriter is an autogenerated mock type for the Writer type
type XcconfigWriter struct {
mock.Mock
}
// Write provides a mock function with given fields: content
func (_m *XcconfigWriter) Write(con... | bitrise-io/steps-xcode-test | xcodebuild/mocks/XcconfigWriter.go | GO | mit | 643 |
package wallet
import (
"errors"
"github.com/NebulousLabs/Sia/crypto"
"github.com/NebulousLabs/Sia/encoding"
"github.com/NebulousLabs/Sia/modules"
"github.com/NebulousLabs/Sia/types"
"github.com/NebulousLabs/fastrand"
)
const (
// SiagFileExtension is the file extension to be used for siag files
SiagFileExte... | mharkus/Sia | modules/wallet/unseeded.go | GO | mit | 8,773 |
package April2021Leetcode;
public class _1328BreakAPalindrome {
public static void main(String[] args) {
System.out.println(breakPalindrome("abccba"));
System.out.println(breakPalindrome("a"));
}
public static String breakPalindrome(String palindrome) {
}
}
| darshanhs90/Java-InterviewPrep | src/April2021Leetcode/_1328BreakAPalindrome.java | Java | mit | 272 |
<?php
/**
* Bluz Framework Component
*
* @copyright Bluz PHP Team
* @link https://github.com/bluzphp/framework
*/
/**
* @namespace
*/
namespace Bluz\View\Helper;
use Bluz\Application\Application;
use Bluz\Proxy\Layout;
return
/**
* Set or generate <script> code for <head>
*
* @var Layout $t... | 9618211/framework | src/View/Helper/HeadScript.php | PHP | mit | 648 |
/* lsSnpPdb.c was originally generated by the autoSql program, which also
* generated lsSnpPdb.h and lsSnpPdb.sql. This module links the database and
* the RAM representation of objects. */
/* Copyright (C) 2014 The Regents of the University of California
* See README in this or parent directory for licensing in... | hillerlab/GenomeAlignmentTools | kent/src/hg/lib/lsSnpPdb.c | C | mit | 4,222 |
This document was moved to a [new location](../../user/project/import/index.md).
| t-zuehlsdorff/gitlabhq | doc/workflow/importing/README.md | Markdown | mit | 82 |
package br.com.project.checkskills.test.repositories;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import org.apache.log4j.Logger;
import org.junit.Test;
import br.com.project.checkskills.entities.avaliacao.AvaliacaoCompetenciaEntity;
import br.com.project.checkskills.en... | luan-analiseinfo/sistema-avaliacao-competencia | src/test/java/br/com/project/checkskills/test/repositories/AvalicaoRepositoryTest.java | Java | mit | 2,331 |
import { expect } from 'chai';
import { Promise } from 'es6-promise';
import { Db } from 'mongodb';
import { Factory } from '../src/index';
import { hooks } from '../src/hooks';
describe('API spec', function() {
const Adapter = Factory();
it('Adapter object API', function() {
expect(Adapter).to.have.all.key... | zoilorys/jupiter-orm-mongo | test/index.js | JavaScript | mit | 5,847 |
// ---------------------------------------------------------------------------- PCH
#include "app/rdo_studio/pch/editor_pch.h"
// ----------------------------------------------------------------------- INCLUDES
#include <boost/algorithm/string.hpp>
// --------------------------------------------------------------------... | AlexChernov/rdo_studio | app/rdo_studio/src/editor/parser_edit.cpp | C++ | mit | 15,095 |
package plugins;
/**
* This class represents the CaesarsCode1Plugin to change the text with the Caesar's code with a shift precised in the constructor
*
* @author Damien SAUVALLE, Laurent THIEBAULT, Amélie MULEBECQ, Nicolas SVIRCHEVSKY
*/
public class CaesarsCodePlugin implements Plugin {
protected int shift;
... | lauthieb/plugins | src/main/java/plugins/CaesarsCodePlugin.java | Java | mit | 1,411 |
import { checkTest } from './utils';
var MethodCallTracker = function(env, methodName) {
this._env = env;
this._methodName = methodName;
this._isExpectingNoCalls = false;
this._expecteds = [];
this._actuals = [];
};
MethodCallTracker.prototype = {
stubMethod() {
if (this._originalMethod) {
// Me... | Gaurav0/ember.js | packages/internal-test-helpers/lib/ember-dev/method-call-tracker.js | JavaScript | mit | 3,484 |
/**
* Example on how to use regular NodeJS files, the (module)exports is used
*/
var config = require('../../index')();
console.log(config.message);
// $> node example.js -> "We are in development"
// $> NODE_ENV=production node example.js -> "We are in production" | flesler/config-node | examples/js/example.js | JavaScript | mit | 270 |
package pelican
/*
import (
"fmt"
cv "github.com/glycerine/goconvey/convey"
"testing"
)
func TestKnownHostsSaveAndRestoreWork(t *testing.T) {
StopAllDockers()
StartDockerImage(DockerHubTestImage)
defer StopAllDockers()
my_known_hosts_file := "my.known.hosts"
CleanupOldKnownHosts(my_known_hosts_file)
h := ... | mailgun/pelican-protocol | persist_test.go | GO | mit | 987 |
class Comment < ActiveRecord::Base
validates :description, presence: true
belongs_to :user
belongs_to :commentable, polymorphic: true
has_many :votes, as: :voteable
def points
votes.sum(:value)
end
end
| samanthavholmes/TravelOverflow | app/models/comment.rb | Ruby | mit | 220 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | shopOFF/TelerikAcademyCourses | ASP.NET-Web-Forms/15. Live Demo - MVP pattern with Ninject/EmployeesLiveDemo/EmployeesLiveDemoWithoutMvp/Supplier.cs | C# | mit | 1,536 |
---
title: Cut Template Filter
linkText: Cut
description: Cut Template Filter
---
# Cut Template Filter
Removes all instances of value provided from the input
## Example
```text
{% raw %}
{{ TestValue|cut:' ' }}
{% endraw %}
```
| BlythMeister/Ensconce | docs/templates/filters/cut.md | Markdown | mit | 233 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>STPBankAccountParams Class Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset="utf-8">
<script src="../js/jquery.min.js" defer></scrip... | stripe/stripe-ios | docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPBankAccountParams.html | HTML | mit | 73,186 |
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.qs=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o... | kumu/widgets | test/browser/qs.js | JavaScript | mit | 8,121 |
var env = require('./environment.js');
exports.config = {
seleniumAddress: env.seleniumAddress,
framework: 'jasmine',
specs: ['pass_spec.js'],
baseUrl: env.baseUrl,
plugins: [{
path: '../index.js',
failOnWarning: false,
failOnError: false
}]
};
| sjelin/protractor-console-plugin | spec/consolePassConfig.js | JavaScript | mit | 270 |
#!/usr/bin/env node
/*
*
* Copyright 2013 Anis Kadri
*
* 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 applicab... | yfsun/FoodMe | node_modules/cordova/node_modules/plugman/main.js | JavaScript | mit | 2,639 |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using ... | JamesWTruher/PowerShell-1 | src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs | C# | mit | 361,440 |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- SEO n' stuff -->
<meta name="title" content="Shapr – Øyvind Nordbø">
<meta name="description" content="Introducing Shapr, a smart rubberband that tracks all your vitals. It's the personal coach that knows everything about your health, that can always tell you what to d... | onordbo/oyvind.co | src/shapr/index.html | HTML | mit | 7,703 |
require 'RMagick'
module FilesHelper
def self.store_avatar_to_cache(file)
FileUtils.mkdir_p "#{RAILS_ROOT}/public/images/avatars/"
image = Magick::Image::from_blob(file.content).first
white_bg = Magick::Image.new(Configuration.avatar_size, Configuration.avatar_size) {
self.format... | kuccello/forulio | app/helpers/files_helper.rb | Ruby | mit | 956 |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Sylius\Bundle\VariationBundle\Form\Type;
use PhpSpec\ObjectBehavior;
use Prophecy\Argu... | pfwd/Sylius | src/Sylius/Bundle/VariationBundle/spec/Form/Type/OptionTypeSpec.php | PHP | mit | 2,255 |
<!DOCTYPE html>
<meta charset="utf-8">
<title>window.external</title>
<link rel="help" href="https://html.spec.whatwg.org/multipage/obsolete.html#dom-external">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
"use strict";
test(() => {
assert_exists... | Zirro/jsdom | test/web-platform-tests/to-upstream/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/window-external.html | HTML | mit | 592 |
// Copyright (c) 2011-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_OPTIONSMODEL_H
#define BITCOIN_QT_OPTIONSMODEL_H
#include <cstdint>
#include <qt/guiconstants.h>
#includ... | mm-s/bitcoin | src/qt/optionsmodel.h | C | mit | 4,915 |
package uk.co.automatictester.lightning.core.reporters.junit;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import uk.co.automatictester.lightning.core.enums.TestResult;
import uk.co.automatictester.lightning.core.exceptions.JunitReportGenerationException;
import uk.co.automatictest... | deliverymind/lightning | lightning-core/src/main/java/uk/co/automatictester/lightning/core/reporters/junit/JunitReportGenerator.java | Java | mit | 4,514 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.Revit.DB;
using Autodesk.Revit.DB.IFC;
using Revit.IFC.Common.Utility;
using Revit.IFC.Common.Enums;
using Revit.IFC.Import.Enums;
using Revit.IFC.Import.Geometry;
using Revit.IFC.Import.U... | ivanifan/RevitCustomIFCexporter | trunk/2016/Source/Revit.IFC.Import/Data/IFCTriangulatedFaceSet.cs | C# | mit | 9,102 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css"... | darian311/VillageDashFlash | trunk/TrackingExample/libs/gaforflash-1.0.1.319/doc/com/google/analytics/utils/Timespan.html | HTML | mit | 6,564 |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CHAIN_PARAMS_H
#define BITCOIN_CHAIN_PARAMS_H
#include "bignum.h"... | basicincome/unpcoin-core | src/chainparams.h | C | mit | 3,483 |
#!/bin/bash
SPEC="Grid5k"
# Check Grid5k.tla for semantical meaning
K=${1-"04"}
L=${2-"01"}
N=${3-"10"}
C=${4-"04"}
MODEL='k'$K'_l'$L'_n'$N'_c'$C
# Performance related properties
WORKERS=${5-"$(nproc --all)"}
HEAP_MEM=${6-"8G"}
DIRECT_MEM=${7-"8g"}
FPSET_IMPL="tlc2.tool.fp.OffHeapDiskFPSet"
# TLC version
REV=$(git ... | lemmy/tlaplus | general/performance/measure.sh | Shell | mit | 2,013 |
/*
Copyright 2014-2015 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_HPP
#define BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_HPP
#include <boost/align/detail/is_alignment.hpp>
#in... | SingularInversions/FaceGenBaseLibrary | source/LibTpBoost/boost_1_67_0/boost/align/detail/aligned_alloc.hpp | C++ | mit | 1,219 |
// VirtualWire.cpp
//
// Virtual Wire implementation for Arduino
// See the README file in this directory fdor documentation
// See also
// ASH Transceiver Software Designer's Guide of 2002.08.07
// http://www.rfm.com/products/apnotes/tr_swg05.pdf
//
// Changes:
// 1.5 2008-05-25: fixed a bug that could prevent messa... | linhartr22/433_MHz_Wireless_TX-RX_Demo | libraries/VirtualWire/VirtualWire.cpp | C++ | mit | 20,068 |
// Copyright 2013-2015, The Gtk-rs Project Developers.
// See the COPYRIGHT file at the top-level directory of this distribution.
// Licensed under the MIT license, see the LICENSE file or <http://opensource.org/licenses/MIT>
//! GtkPlacesSidebar — Sidebar that displays frequently-used places in the file system
use f... | LordSentox/gtk | src/widgets/places_sidebar.rs | Rust | mit | 2,781 |
<?php
/**
* This file is automatically @generated by {@link BuildMetadataPHPFromXml}.
* Please don't modify it directly.
*/
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[268]\\d{8}',
'PossibleNumberPattern' => '\\d{9}',
),
'fixedLine' =>
array (
'NationalNumberPattern... | phpManufaktur/kfContact | Library/libphonenumber/src/libphonenumber/data/PhoneNumberMetadata_YT.php | PHP | mit | 2,437 |
import {CYCLE_STATES, PRACTICE, REFLECTION, COMPLETE} from 'src/common/models/cycle'
import {userCan} from 'src/common/util'
import getUser from 'src/server/actions/getUser'
import assertUserIsMember from 'src/server/actions/assertUserIsMember'
import createNextCycleForChapter from 'src/server/actions/createNextCycleF... | LearnersGuild/echo | src/server/cliCommand/commands/cycle.js | JavaScript | mit | 2,624 |
/*****************************************************************************
** Copyright (C) 1998-2001 Ljubomir Milanovic & Horst Wagner
** This file is part of the g2 library
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** Li... | lauringlab/CodonShuffle | lib/ViennaRNA-2.1.9/RNAforester/g2-0.70/src/X11/g2_X11.h | C | mit | 1,375 |
//-------------------------------------------------------------------------------------------------------
// VST Plug-Ins SDK
// Version 2.4 $Date: 2006/01/12 09:05:31 $
//
// Category : VST 2.x Classes
// Filename : audioeffect.h
// Created by : Steinberg Media Technologies
// Description : Class Audi... | JTriggerFish/protoplug | Frameworks/vstsdk2.4_minimal/public.sdk/source/vst2.x/audioeffect.h | C | mit | 11,400 |
/**
* Created by sunNode on 16/10/16.
*/
var should = require('should')
var app = require('../app')
var request = require('supertest')
describe('upload temporyary testing', function () {
it('uploadTemporyary should be return success', function (done) {
request(app)
.get('/admin/crawler')
... | SensitiveMix/commerce | test/test-crawel.js | JavaScript | mit | 463 |
module.exports = { str: "7.5.0" };
| repuestos-365/server | client/node_modules/auth0-js/version.js | JavaScript | mit | 35 |
<?php
require 'database.php';
header("Content-Type: application/json"); // Since we are sending a JSON response here (not an HTML document), set the MIME Type to application/json
session_start();
/*register*/
$username= $_POST['username'];
$pwd= $_POST['password'];
$_SESSION['username']= $username;
$_SESS... | Alex-Tran/CSE131Portal | insert.php | PHP | mit | 723 |
module VagrantPlugins
module DockerProvider
module Cap
module PublicAddress
def self.public_address(machine)
return nil if machine.state.id != :running
ssh_info = machine.ssh_info
return nil if !ssh_info
ssh_info[:host]
end
end
end
end
end... | trivoallan/vagrant | plugins/providers/docker/cap/public_address.rb | Ruby | mit | 321 |
#ifndef BOOST_SHARED_ARRAY_HPP_INCLUDED
#define BOOST_SHARED_ARRAY_HPP_INCLUDED
//
// shared_array.hpp
//
// (C) Copyright Greg Colvin and Beman Dawes 1998, 1999.
// Copyright (c) 2001, 2002 Peter Dimov
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_... | SingularInversions/FaceGenBaseLibrary | source/LibTpBoost/boost_1_67_0/boost/shared_array.hpp | C++ | mit | 555 |
'use strict';
import React = require('react');
export class FontAwesomeIcon extends React.Component<{ path?: string }, {}> {
// NOTES: SVG path data was obtained from: https://github.com/encharm/Font-Awesome-SVG-PNG/tree/master/black/svg
// They assume a viewBox of '0 0 1792 1792'.
//
// ... | Glimpse/Glimpse.Client.Prototype | src/shell/components/FontAwesomeIcon.tsx | TypeScript | mit | 1,766 |
<div id="tx_trex_container" class="tx-editor-container">
<div id="tx_sidebar" class="tx-sidebar">
<div class="tx-sidebar-boundary">
<ul class="tx-bar tx-bar-left tx-nav-attach">
<li class="tx-list">
<div unselectable="on" id="tx_image" class="tx-image tx-btn-trans">
... | CatsMiaow/KI_Board | www/editor/pages/template/simple.html | HTML | mit | 18,109 |
module Emails
module Projects
def project_was_moved_email(project_id, user_id, old_path_with_namespace)
@current_user = @user = User.find user_id
@project = Project.find project_id
@target_url = namespace_project_url(@project.namespace, @project)
@old_path_with_namespace = old_path_with_na... | htve/GitlabForChinese | app/mailers/emails/projects.rb | Ruby | mit | 1,406 |
import * as React from 'react';
interface DataTableProps {
id?: string;
value?: any[];
header?: any;
footer?: any;
style?: object;
className?: string;
tableStyle?: object;
tableClassName?: string;
paginator?: boolean;
paginatorPosition?: string;
alwaysShowPaginator?: boolean... | cdnjs/cdnjs | ajax/libs/primereact/5.0.2/components/datatable/DataTable.d.ts | TypeScript | mit | 4,205 |
/**
* AUTOMATICALLY GENERATED FILE, DO NOT EDIT MANUALLY!
* Update this file by running `lerna run webpack-updater` in the monorepo root folder.
*/
var ClientSideRowModelModule = require('../../community-modules/client-side-row-model');
var GridCoreModule = require('../../community-modules/core');
var CsvExportModul... | ceolter/angular-grid | community-modules/all-modules/webpack-no-styles.js | JavaScript | mit | 803 |
"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0});const d3_selection_1=require("d3-selection"),d3_color_1=require("d3-color"),utils_1=__importDefault(require("../utils")),evaluate_1=__importDefault(requir... | cdnjs/cdnjs | ajax/libs/function-plot/1.22.2/graph-types/scatter.min.js | JavaScript | mit | 944 |
/* *
*
* (c) 2009-2019 Øystein Moseng
*
* Accessibility component for chart info region and table.
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from '../../../parts/Globals.js';
var doc = H.win.document, ... | cdnjs/cdnjs | ajax/libs/highcharts/8.0.0/es-modules/modules/accessibility/components/InfoRegionsComponent.js | JavaScript | mit | 19,015 |
package mat.client.shared;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import mat.shared.ConstantMessages;
public class MeasureDetailsConstants {
public static final String PROPORTION = ConstantMessages.PROPORTION_SCORING;
public static final String RATIO = ConstantMe... | MeasureAuthoringTool/MeasureAuthoringTool_Release | mat/src/main/java/mat/client/shared/MeasureDetailsConstants.java | Java | cc0-1.0 | 3,950 |
@echo off
rem THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
rem ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
rem THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
rem PARTICULAR PURPOSE.
rem
rem Copyright (c) Microsoft Corporation. All rights reserved.
setlocal
s... | amecky/ds_arena | src/particles/compile_shader.bat | Batchfile | cc0-1.0 | 865 |
#ifndef dplyr_tools_tools_H
#define dplyr_tools_tools_H
#include <tools/debug.h>
#include <tools/hash.h>
#include <tools/match.h>
#include <tools/pointer_vector.h>
#include <tools/collapse.h>
#include <tools/Quosure.h>
#include <tools/utils.h>
#endif
| ColumbusCollaboratory/electron-quick-start | R-Portable-Win/library/dplyr/include/tools/tools.h | C | cc0-1.0 | 253 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.