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
<?php echo file_get_contents("header.inc.php"); ?> <?php $displayedposts = 0; $json = file_get_contents( "http://maschini.de:5001/api"); $file = json_decode($json, true); if(isset($_GET["category"])){ $category = $_GET["category"]; $category = htmlspecialchars($c...
DatenParty/Webseite
newWEB/index.php
PHP
mit
2,703
<?php namespace AppBundle\Admin; use Sonata\AdminBundle\Admin\Admin; use Sonata\AdminBundle\Datagrid\ListMapper; use Sonata\AdminBundle\Datagrid\DatagridMapper; use Sonata\AdminBundle\Form\FormMapper; class ProvidedServiceTypeAdmin extends Admin { protected function configureFormFields(FormMapper $formMapper) ...
sugatov/web-pms
src/AppBundle/Admin/ProvidedServiceTypeAdmin.php
PHP
mit
862
<!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_27) on Wed Nov 21 16:03:52 EST 2012 --> <TITLE> org.pentaho.di.ui.job.entries.ftpdelete </TITLE> <META NAME="date" CONTENT="2012-11-21"> <LINK REL ...
ColFusion/PentahoKettle
kettle-data-integration/docs/api/org/pentaho/di/ui/job/entries/ftpdelete/package-frame.html
HTML
mit
990
## /models Put your models here and call 'grunt --model=path_to_model`
michalbe/SEOJC.oPP
models/README.md
Markdown
mit
71
'use strict'; const chai = require('chai'); const Sequelize = require('@sequelize/core'); const Op = Sequelize.Op; const expect = chai.expect; const Support = require('../support'); const DataTypes = require('@sequelize/core/lib/data-types'); const dialect = Support.getTestDialect(); const _ = require('lodash'); con...
sequelize/sequelize
test/integration/include/schema.test.js
JavaScript
mit
39,231
// Generated by CoffeeScript 1.10.0 var EsyFile; EsyFile = (function() { function EsyFile() {} EsyFile.prototype["delete"] = function(filepath) { var file; if (File(filepath)) { file = File(filepath); } return file.remove(); }; EsyFile.prototype.append = function(filepath, content) { ...
seblavoie/esy
lib/core/_file.js
JavaScript
mit
2,407
'use strict'; module.exports = { '+': 'Pass', '-': 'Fail', '~': 'SoftFail', '?': 'Neutral' };
softvu/spf-parse
prefixes.js
JavaScript
mit
99
/* * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors * Copyright (C) 2006-2013 Kim Woelders * * 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 r...
burzumishi/e16
src/progress.c
C
mit
5,333
import config from './config/env'; import Promise from 'bluebird'; import logger from './config/logger'; // import csv from 'fast-csv'; import fs from 'fs'; import request from 'request'; // import rp from 'request-promise'; import cheerio from 'cheerio'; import _ from 'lodash'; import moment from 'moment'; function d...
eddielisc/sc-stock-app
server/stock.js
JavaScript
mit
10,791
# DSC Resource Testing Guidelines ## General Rules - Each DSC module should contain the following Test folder structure: ```text Tests |---Unit |---Integration ``` - The Tests\Unit folder must contain a Test Script for each DSC Resource in the DSC Module with the filename ```MSFT_<ResourceName>...
jpogran/DscResources
TestsGuidelines.md
Markdown
mit
10,288
window.theme = window.theme || {}; /* ================ SLATE ================ */ window.theme = window.theme || {}; theme.Sections = function Sections() { this.constructors = {}; this.instances = []; $(document) .on('shopify:section:load', this._onSectionLoad.bind(this)) .on('shopify:section:unload', t...
jonschlinkert/liquid-to-handlebars
test/fixtures/shopify-debut/assets/theme.js
JavaScript
mit
77,185
{% extends "admin/base.html" %} {% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block branding %} <h1 id="site-name"><a href="{% url 'admin:index' %}">Git Involved Administration</a></h1> {% endblock %} {% block nav-global %}{% endblock %}
raoariel/git-involved
DjangoWebProject/gitinvolved/templates/admin/base_site.html
HTML
mit
291
/* ** A stack implemented with a dynamically allocated array. ** The array size is given when create is called, which must ** happen before any other stack operations are attempted. */ #include "stack.h" #include <stdio.h> #include <stdlib.h> #include <malloc.h> #include <assert.h> /* ** The array that holds the value...
freudshow/learnc
Pointers.On.C/ch17/d_stack.c
C
mit
1,293
#ifndef AI_HPP #define AI_HPP class Mon; class MonCtl { public: MonCtl(Mon& mon) : mon_(&mon) {} MonCtl(const MonCtl&) = delete; MonCtl& operator=(const MonCtl&) = delete; virtual ~MonCtl() {} virtual void act() = 0; protected: Mon* const mon_; }; class Ai : public MonCtl { publi...
martin-tornqvist/sfrl
include/ai.hpp
C++
mit
539
'use strict'; // Test specific configuration // =========================== module.exports = { // MongoDB connection options mongo: { uri: 'mongodb://localhost/conversionrobot-test' } };
budacode/conversionrobot.com
server/config/environment/test.js
JavaScript
mit
197
package com.dimon.ganwumei.injector.modules; import dagger.Module; /** * * Created by Dimon on 2016/3/22. */ @Module public class GanWuFragmentModule { public GanWuFragmentModule(){} }
Dimon94/GanWuMei
GanWuMei/app/src/main/java/com/dimon/ganwumei/injector/modules/GanWuFragmentModule.java
Java
mit
194
window.ProseMirror = require("prosemirror/dist/edit").ProseMirror require("prosemirror/dist/menu/menubar") // Load menubar module require( "prosemirror/dist/markdown/to_markdown" ) require( "prosemirror/dist/markdown/from_markdown" ) window.ProseMirrorUtils = {}; window.ProseMirrorUtils.defaultschema = require( "prosem...
patternseek/pnsk-structured-editor-prosemirror
src/editor.js
JavaScript
mit
591
<!DOCTYPE html> <html lang="en-us"> <head> <title>{%= o.htmlWebpackPlugin.options.title %}</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <link rel="stylesheet" href="node_modules/react-datag...
Switajski/react-processed-grid
conf/tmpl.html
HTML
mit
712
''' These classes specify the attributes that a view object can have when editing views ''' __author__ = 'William Emfinger' __copyright__ = 'Copyright 2016, ROSMOD' __credits__ = ['William Emfinger', 'Pranav Srinivas Kumar'] __license__ = 'GPL' __version__ = '0.4' __maintainer__ = 'William Emfinger' __email__ = 'emfin...
finger563/editor
src/view_attributes.py
Python
mit
3,890
package au.edu.federation.caliko.visualisation; import au.edu.federation.caliko.FabrikBone3D; import au.edu.federation.caliko.FabrikChain3D; import au.edu.federation.caliko.FabrikStructure3D; import au.edu.federation.utils.Colour4f; import au.edu.federation.utils.Mat3f; import au.edu.federation.utils.Mat4f; import au....
FedUni/caliko
caliko-visualisation/src/main/java/au/edu/federation/caliko/visualisation/FabrikConstraint3D.java
Java
mit
12,411
// // ElementView.h // MobileFramework // // Created by Think on 14-5-27. // Copyright (c) 2014年 wt. All rights reserved. // #import <UIKit/UIKit.h> #import "NodeVO.h" @protocol elementDelegate <NSObject> -(void)selectButton:(NodeVO *)vo; @end @interface ElementView : UIView<UIGestureRecognizerDelegate> @proper...
winture/wt-mobile-ios
MFCode/View/iphone/Two/ElementView.h
C
mit
642
## 认识bash linux默认的shell是bash,有一下几个优点 - 命令记忆功能(history) - 命令与文件补全功能([Tab]按键的好处): [Tab]接在一串命令的第一字后面,则为命令补全 [Tab]接在一串命令法人第二个字以后,则为文件补全 - 命令别名设置功能(alias) alias lm='ls -al' - 作业控制,前台,后台控制 - 程序脚本(shell script) ### shell的变量功能 brew为命令行安装软件的工具 curl 命令行发起ajax请求 你能不能执行某个命令跟PATH这个变量有很大的关系,例如执行 ls 这个命令时,系统是通过PATH这个变量里面的内容所记录的路...
funnycoderstar/summary
docs/linux/bash.md
Markdown
mit
1,427
package wait import ( "fmt" "time" ) // Predicate is a helper test function that will wait for a timeout period of // time until the passed predicate returns true. This function is helpful as // timing doesn't always line up well when running integration tests with // several running lnd nodes. This function gives ...
LightningNetwork/lnd
lntest/wait/wait.go
GO
mit
2,521
//go:generate go-bindata -pkg realtime -o realtime_embed.go realtime.js package realtime import ( "encoding/json" "fmt" "io" "io/ioutil" "net/http" "reflect" "strconv" "sync" "time" "golang.org/x/net/websocket" ) var proto = "v1" type Config struct { Throttle time.Duration } type Handler struct { conf...
cornerot/cloud-torrent
Godeps/_workspace/src/github.com/jpillora/go-realtime/realtime_handler.go
GO
mit
4,590
const SHADERS = require('../chunks/index.js') module.exports = /* glsl */ ` precision highp float; ${SHADERS.math.PI} ${SHADERS.sky} ${SHADERS.rgbm} ${SHADERS.gamma} ${SHADERS.encodeDecode} uniform vec3 uSunPosition; varying vec2 vTexCoord0; uniform bool uRGBM; void main() { //Texture coordinates to Normal is Ba...
pex-gl/pex-renderer
shaders/skybox/sky-env-map.frag.js
JavaScript
mit
938
var Q = require("q"); var quin = require("../quin"); var testGroup = { setUp: function (callback) { callback(); }, tearDown: function (callback) { callback(); }, "wrap() returns a wrapper function when supplied a promise": function (test) { var one = Q.denodeify(oneInput); ...
midknight41/quin
lib/tests/quin-test.js
JavaScript
mit
7,232
--- layout: post title: 理解 vertical-align description: '掌握 vertical-align 的原理' share: false tags: [CSS] image: feature: abstract-8.jpg --- vertical-align 用于行内元素和表格单元的垂直对齐,开发中经常会遇到,有必要了解其背后的原理。 ## 一、应用范围 对于 `vertical-align`,新手通常的困惑是对块元素进行设置,想垂直居中其子元素,然而并不会起作用(关于居中的方法可查看[CSS 居中](https://huxinsen.github.io/centering-...
daniel-hoo/daniel-hoo.github.io
_posts/2020-05-08-vertical-align.markdown
Markdown
mit
4,935
<?php ini_set('display_errors',1); ini_set('display_startup_erros',1); error_reporting(E_ALL); require_once("libs/conta.php");
SharingDreams/sharingdreams
conta.php
PHP
mit
128
import estap from '../../lib'; const test = estap(); estap.disableAutorun(); test('should pass', t => { t.pass(); });
iefserge/estap
test/integration/no-autorun.js
JavaScript
mit
122
#! /usr/bin/env python3 import vk import sys import json # get access token #app_id = 4360605 #url = "http://api.vkontakte.ru/oauth/authorize?client_id=" + str(app_id) + "&scope=4&redirect_uri=http://api.vk.com/blank.html&display=page&response_type=token" #webbrowser.open_new_tab(url) #exit() word = sys.argv[1] txt...
dm-urievich/learn_vk_api
test_api.py
Python
mit
849
GovukAdminTemplate.configure do |c| c.app_title = "GOV.UK Policy Publisher" c.show_flash = true c.show_signout = true end
alphagov/policy-publisher
config/initializers/govuk_admin_template.rb
Ruby
mit
128
package net.coding.program.network.model.file; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.io.Serializable; public class Share implements Serializable { private static final long serialVersionUID = 1350215870059841873L; @SerializedName("resource...
Coding/Coding-Android
common-coding/src/main/java/net/coding/program/network/model/file/Share.java
Java
mit
935
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using PetsWonderland.Business.Common.Constants; using PetsWonderland.Business.Models.Animals.Contracts; namespace PetsWonderland.Business.Models.Animals { public class AnimalType : IAnimalType { [Key] ...
TeamHappyFace/Pets-Wonderland
PetsWonderland/Business/PetsWonderland.Business.Models/Animals/AnimalType.cs
C#
mit
611
import { connect } from 'react-redux' import SignUpForm from '../components/SignUpForm' import { signUpUser } from '../actions/SignUpFormActions' const mapStateToProps = (state, ownProps) => { return {} } const mapDispatchToProps = (dispatch) => { return { onSignUpFormSubmit: (name) => { event.preventDe...
ranneyd/eth-faucet
src/containers/SignUpFormContainer.js
JavaScript
mit
503
/** * @author xialeistudio<home.xialei@gmail.com> */ window.onload = function() { cc.game.onStart = function() { cc.view.adjustViewPort(true); cc.view.setDesignResolutionSize(320, 504, cc.ResolutionPolicy.SHOW_ALL); cc.view.resizeWithBrowserSize(true); //load resources cc.LoaderScene.preload( [ 'res...
xialeistudio/cocos2d-hitplane
main.js
JavaScript
mit
9,061
--- layout: docs title: Image replacement description: Swap text for background images with the image replacement class. group: utilities toc: true --- Utilize the `.text-hide` class or mixin to help replace an element's text content with a background image. {% highlight html %} <h1 class="text-hide">Custom heading</...
creativewebjp/bootstrap
docs/4.0/utilities/image-replacement.md
Markdown
mit
804
/* * Copyright (c) HakoComposer & Mehrez Kristou (kristou.com), distributed * as-is and without warranty under the MIT License. See * [root]/license.txt for more. This information must remain intact. */ #ifndef WORKSPACEVIEW_H #define WORKSPACEVIEW_H #include <QGraphicsView> #include <QWheelEvent> class Workspace...
HakoComposer/HakoComposer
include/WorkspaceView.hpp
C++
mit
549
# Generate PDF ## A PDF generation plugin for Ruby on Rails Generate PDF uses the shell utility [wkhtmltopdf](http://code.google.com/p/wkhtmltopdf/) to serve a PDF file to a user from HTML. In other words, rather than dealing with a PDF generation DSL of some sort, you simply write an HTML view as you would normally...
shreyas123/generate_pdf
README.md
Markdown
mit
9,512
{% extends "LanguageStatistic/main.html" %} {% load staticfiles %} {% block body %} <h1>Status for Khan Academy's I18N Initiatives </h1> <div id="tabs"><ul> <li><a href="#Test">Test</a></li> <li><a href="#Live">Live</a></li> <li><a href="#Rockstar">Rockstar</a> </li></ul> {% if targets %} {% for t in target...
alani1/KALanguageReport
LanguageStatistic/templates/LanguageStatistic/index.html
HTML
mit
1,395
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="generator" content="Hugo 0.54.0 with theme Tranquilpeak 0.4.3-BETA"> <title>Hidden social section showcase</title> ...
sanghkaang/sanghkaang.github.io
2014/08/hidden-social-section-showcase/index.html
HTML
mit
24,696
#HV Control & #Read and Plot from the PMT #This code is to record the data that is received into the Teensy's ADC. #Includes the HV control and replotting the results at the end. #See CSV Dataplot notebook to plot old experiment data. from __future__ import division from __future__ import print_function from pyqtgr...
gregnordin/micropython_pyboard
150729_pyboard_to_pyqtgraph/serial_pyboard_to_python.py
Python
mit
9,779
{% extends "layout.html" %} {% block content %} <h3>用户管理</h3> <div> <ul class="breadcrumb"> <li> <a href="{{url_for('Common.index')}}">Home</a> <span class="divider">/</span> </li> <li> <a href="{{url_for('Common.user_setting')}}">用户管理</a><span class="divider">/</span> </li> <li> ...
san-na/crm
crm_web/crm/templates/user_add.html
HTML
mit
1,413
'use strict'; /** Load Node.js modules. */ var fs = require('fs'); /** Load other modules. */ var _ = require('lodash-compat'); /** Used to minify variables and string values to a single character. */ var minNames = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.split(''); minNames.push.apply(minNames, minNa...
megawac/lodash-cli
lib/pre-compile.js
JavaScript
mit
6,181
Ember.TEMPLATES["unit-controllers"] = Ember.Handlebars.compile( '<div class="unit-controllers">{{render "rendered" someModel className="asd"}}</div>' ); //-------------------------------------------------------------------------- module("templates - controllers - full environment", { setup: function() { var ...
velesin/ember-testing-cookbook
unit/templates/controller_rendering.js
JavaScript
mit
1,475
--- title: "Racial profiling no better than random screening" slug: "racial-profiling-no-better-than-random-screening" date: "2009-03-04T09:05:45-06:00" author: "fak3r" categories: - commentary - geek - headline - politics - travel tags: - bioinformatics - screening - security - terrorist - travel - tsa - watchlist ---...
philcryer/docker-fak3r.com
content/post/racial-profiling-no-better-than-random-screening.markdown
Markdown
mit
3,301
'use babel' import util from 'util' import { exec } from 'child_process' import applescript from 'applescript' import { Errors } from './constants' const runscript = (file) => new Promise((resolve, reject) => { applescript.execFile(file, (error, result) => { if (error) { reject(error) } try { if (res...
yianL/atom-spotified
src/utils/spotify-applescript.js
JavaScript
mit
711
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "SBIcon.h" @interface SBIcon (SBFolderIcon) - (_Bool)hasFolderIconView; - (id)folder; - (_Bool)isFolderIcon; @end
iMokhles/iPhone5S-iOS8.1-SBHeaders
SBIcon-SBFolderIcon.h
C
mit
263
# frozen_string_literal: true require_relative "../../../../test_helper" class Comfy::Admin::Cms::PagesControllerTest < ActionDispatch::IntegrationTest def setup @site = comfy_cms_sites(:default) @layout = comfy_cms_layouts(:default) @page = comfy_cms_pages(:default) end def test_get_index ...
melvinsembrano/comfortable-mexican-sofa
test/controllers/comfy/admin/cms/pages_controller_test.rb
Ruby
mit
17,659
class Statistic def initialize(shas = nil) shas = shas.to_s.split(',') @query_chain = if shas.present? Commit.where(repository_id: Repository.where(access_token: shas).pluck(:id)) else Commit end end def to_hash result = {} [:pending, :discuss].each do |state| query = @...
monterail/ghcr-api
app/services/statistic.rb
Ruby
mit
1,856
module Volt # Included into ViewScope to provide processing for attributes module AttributeScope # Take the attributes and create any bindings def process_attributes(tag_name, attributes) new_attributes = attributes.dup attributes.each_pair do |name, value| if name[0..1] == 'e-' ...
bglusman/volt
lib/volt/server/html_parser/attribute_scope.rb
Ruby
mit
4,894
<?xml version="1.0" encoding="iso-8859-1"?> <!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" xml:lang="en" lang="en"> <head> <title>Module: Erubis::InterpolationEnhancer</title> <meta http...
netshade/erubis
doc-api/classes/Erubis/InterpolationEnhancer.html
HTML
mit
19,827
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; #if !NETSTANDARD2_0 using System.Windows.Data; #endif namespace ChoETL { public class ChoTypeConverter { public static readonly ChoTypeConverter Global = new...
Cinchoo/ChoETL
src/ChoETL/ChoTypeConverter.cs
C#
mit
2,804
package com.jlubecki.qtest; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super(Appl...
lubecjac/Q-Example
app/src/androidTest/java/com/jlubecki/qtest/ApplicationTest.java
Java
mit
341
/** * @file tcp.c * @brief TCP (Transmission Control Protocol) * * @section License * * Copyright (C) 2010-2015 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneTCP Open. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General P...
Velleman/VM204-Firmware
cyclone_tcp/core/tcp.c
C
mit
27,591
/*! * CanJS - 2.2.5 * http://canjs.com/ * Copyright (c) 2015 Bitovi * Wed, 22 Apr 2015 15:03:29 GMT * Licensed MIT */ /*can@2.2.5#view/elements*/ var can = require('../util/util.js'); require('./view.js'); var doc = typeof document !== 'undefined' ? document : null; var selectsCommentNodes = doc && function () {...
tka/goyangi
frontend/canjs/static/bower_components/canjs/cjs/view/elements.js
JavaScript
mit
2,542
import Resolver from 'ember/resolver'; var CustomResolver = Resolver.extend({ moduleNameLookupPatterns: Ember.computed(function() { var defaults = this._super(); return defaults.concat([ this.podBasedComponentsInResource ]); }), podBasedComponentsInResource: function(parsedName) { var podP...
unchartedcode/alternate-pod-structure
addon/resolver.js
JavaScript
mit
1,330
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <meta name...
marcos09/CouchInn
application/views/header_premium.php
PHP
mit
7,763
<?php namespace Cerad\Bundle\TournBundle\FormType\Schedule\Official; /* ======================================================== * Copied from cerad1 * Not currently used */ use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\Optio...
cerad/cerad2
src/Cerad/Bundle/TournBundle/FormType/Schedule/Official/AssignFormType.php
PHP
mit
5,776
import { Routes, RouterModule } from '@angular/router'; import { StudentsHomeComponent } from './index'; import { StudentsComponent } from './index'; import { StudentsProfileComponent } from './index'; import { StudentsSponsorLettersComponent } from './index'; import { SponsorLettersAddComponent } from './index'; impor...
ckapilla/JovenesA-client
src/client/app/+students/students.routing.ts
TypeScript
mit
1,157
package info.arimateia.overwatchpocket.ui.heros; import android.app.ProgressDialog; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Layo...
felipearimateia/overwatch-pocket
app/src/main/java/info/arimateia/overwatchpocket/ui/heros/HerosFragment.java
Java
mit
2,251
{%extends 'base.html'%} {%block page_content%} <div class="post"> <h3 class="entry-title"> <a href="{{ url_for('post', posttitle=post.title) }}">{{ post.title }}</a> </h3> <div class="entry-meta"> <ul class="list-inline post-meta"> <li><a href="{{ url_for('about') }}">老官</a></li...
guan080/personal_website
app/templates/post.html
HTML
mit
1,217
<?php /** * This file is part of the teamneusta/php-cli-magedev package. * * Copyright (c) 2017 neusta GmbH | Ein team neusta Unternehmen * * For the full copyright and license information, please view the LICENSE file that was distributed with this source code. * * @license https://opensource.org/licenses/mit-l...
teamneusta/php-cli-magedev
src/Commands/Init/PermissionsCommand.php
PHP
mit
3,037
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class MagicIndex { public int getMagicIndex(int [] nums) { return getMagicIndex(nums, 0, nums.length - 1); } public int getMagicIndex(int [] nums, int s, int e) { if (s > e) { ...
jonathasdantas/algorithms-data-structures
Interview-Preparation/Recursion-and-Dynamic-Programming/MagicIndex.java
Java
mit
857
import Element from '../../../shared/Element'; import Elements from '../../../shared/Elements'; import link from '../../../shared/link'; import { isNormalElement } from '../../../shared/helper'; export function createElements(elements, parent) { elements.forEach( element => appendElement(element, parent) ...
daisyjs/daisy.js
src/platforms/browser/renderers/dom.js
JavaScript
mit
1,839
<html><body> <h4>Windows 10 x64 (18362.418)</h4><br> <h2>_EVENT_FILTER_HEADER</h2> <font face="arial"> +0x000 Id : Uint2B<br> +0x002 Version : UChar<br> +0x003 Reserved : [5] UChar<br> +0x008 InstanceId : Uint8B<br> +0x010 Size : Uint4B<br> +0x01...
epikcraw/ggool
public/Windows 10 x64 (18362.418)/_EVENT_FILTER_HEADER.html
HTML
mit
374
require 'stackbuilder/stacks/namespace' require 'stackbuilder/stacks/machine_def' class Stacks::Services::KafkaServer < Stacks::MachineDef def to_enc enc = super() siblings = @virtual_service.children enc.merge!('role::kafka_server' => { 'hostname' => @hostname, ...
tim-group/stackbuilder
lib/stackbuilder/stacks/services/kafka_server.rb
Ruby
mit
526
body { margin: 0; padding: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } a { color: grey; text-decoration: none; } .hero { height: 200px; margin-top: 50px; text-align: center; background-image: linear-gradient(to right, #880E4F 0, #C2185B 100%); } .hero p { color: white; opacit...
ErezNagar/Skinny-Progress-Bar
src/style.css
CSS
mit
1,140
#ifndef __EEPROM_H #define __EEPROM_H #include "ConfigApp.h" #include "GenericTypeDefs.h" #include "Compiler.h" #define SPI_WRT_STATUS 0x01 #define SPI_WRITE 0x02 #define SPI_READ 0x03 #define SPI_DIS_WRT 0x04 #define SPI_RD_STATUS 0x05 ...
kareen2707/TFG
CWSN LSI Node/Include/WirelessProtocols/EEPROM.h
C
mit
458
/* Fontname: -FreeType-PC Senior-Medium-R-Normal--8-80-72-72-P-48-ISO10646-1 Copyright: TrueType conversion © 2001 codeman38. Glyphs: 18/260 BBX Build Mode: 3 */ const uint8_t u8g2_font_pcsenior_8n[237] U8X8_FONT_SECTION("u8g2_font_pcsenior_8n") = "\22\3\3\3\4\4\1\2\5\10\7\0\376\6\376\6\377\0\0\0\0\0\...
WiseLabCMU/gridballast
Source/framework/main/u8g2/tools/font/build/single_font_files/u8g2_font_pcsenior_8n.c
C
mit
1,021
# gwt-spielwiese
EriKra/gwt-spielwiese
README.md
Markdown
mit
16
@font-face { font-family: 'DIN Web Light'; src: url('fonts/DINWeb-Light.eot'); src: url('fonts/DINWeb-Light.eot?#iefix') format('embedded-opentype'), url('fonts/DINWeb-Light.woff') format('woff'); font-weight: normal; font-style: normal; font-stretch: normal; } @font-face { font-family: 'DIN Web LightItal...
ndimatteo/aa-theme
assets/css/app.css
CSS
mit
49,630
#!/usr/bin/env bash echo "Test basic matching" BASEURL="http://localhost:5455/api/user/matches" echo SKILLS="javascript,ruby", GOALS="", INTERESTS="" URL="$BASEURL?skills=$SKILLS&goals=$GOALS&interests=$INTERESTS" echo "Calling WITH skills=$SKILLS goals=$GOALS interests=$INTERESTS" wget -qO- $URL | python -m json.to...
designforsf/brigade-matchmaker
test/matching/test_matching.sh
Shell
mit
998
IdleState = State:new() function IdleState:needToRun(game_context, bot_context, keys) return true end function IdleState:writeText(game_context, bot_context) gui.text(0, 0, "idle") end function IdleState:run(game_context, bot_context, keys) if bot_context.has_bot_done_stuff then --client.pause() bot_co...
jasongdove/FCEUXLuaScripts
FF VIII/ffviii-state-idle.lua
Lua
mit
363
(function () { 'use strict'; angular .module('mainApp', []); })();
santibout/Z.E.R.O-1
web/Scripts/AngularJs/mainApp.js
JavaScript
mit
85
WebhookService webhookService = paymillContext.WebhookService; Webhook webhook = webhookService.DeleteAsync("hook_40237e20a7d5a231d99b").Result;
paymill/paymill-net
samples/webhooks/remove_webhook.cs
C#
mit
145
const Rebase = require('../../../src/rebase'); const React = require('react'); const ReactDOM = require('react-dom'); const firebase = require('firebase'); require('firebase/firestore'); var dummyCollection = require('../../fixtures/dummyCollection'); var firebaseConfig = require('../../fixtures/config'); describe('g...
aggiedefenders/aggiedefenders.github.io
node_modules/re-base/tests/specs/firestore/get.spec.js
JavaScript
mit
4,672
import { Type } from '@angular/core'; import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { MatDialogModule } from '@angular/material/dialog'; import { MatInputModule } from '@angular/material/input'; import { MatButtonModule } ...
Teradata/covalent
src/platform/core/dialogs/dialogs.module.ts
TypeScript
mit
1,773
Imports Microsoft.Devices.Sensors Imports Microsoft.Phone.Reactive Imports Microsoft.Xna.Framework Imports System.Threading Partial Public Class MainPage Inherits PhoneApplicationPage ' Constructor Private _Accelerometer As Accelerometer Private _UseEmulation As Boolean = True Public Sub New() ...
jwooley/RxSamples
WP7RxSamplesVB/WP7AccelerometerVB/WP7AccelerometerVB/MainPage.xaml.vb
Visual Basic
mit
3,429
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var informationCircled = exports.informationCircled = { "viewBox": "0 0 512 512", "children": [{ "name": "g", "attribs": {}, "children": [{ "name": "path", "attribs": { "d": "M480,253C478.3,129.3,376.7,30.4,253,32S30.4,135.3,32,259c1.7,123....
xuan6/admin_dashboard_local_dev
node_modules/react-icons-kit/ionicons/informationCircled.js
JavaScript
mit
889
#ifndef __CF_TIMER_H_ #define __CF_TIMER_H_ #include <stdint.h> #include <stdlib.h> #include "cf_object_pool.h" #include "cf_list.h" typedef void(*time_cb_f)(void* param, uint32_t timer_id); typedef void(*free_param_f)(void* param); typedef struct { uint32_t id; uint64_t ts; /*³¬Ê±Ê±¼ä*/ void* param; tim...
yuanrongxi/sharing
common/cf_timer.h
C
mit
1,195
<!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_72) on Mon May 22 22:54:16 EDT 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>All Classes (JAQL SDK)</titl...
bhgomes/jaql
docs/javadoc/allclasses-frame.html
HTML
mit
4,121
--- layout: post title: Markdown 语法速查 category: 语言 tags: Markdown description: Markdown 语法速查 --- # Markdown 速查 ## 标题 [Setext][] 式, 使用`=`与`-`作下划底线行表示高低阶标题. This is an H1 ============= This is an H2 ------------- [atx][] 式, 通过行首不同个数`#`符表示标题层次. #...
ticty/ticty.github.io
_posts/Program Language/2015-04-19-Markdown.md
Markdown
mit
2,448
import {Injectable} from '@angular/core'; import {db, model} from 'baqend'; /** * Dieser Service stellt den Bewerber zum eingeloggten User bereit (z.B. für Bewerber-Profil) */ @Injectable() export class BewerberService { public getBewerber(): Promise<model.Bewerber> { return db.Bewerber.find().equal('us...
v1ctr/name
src/app/_services/bewerber.service.ts
TypeScript
mit
636
/** * Set the Job state data * @param {string} id - the job id * @param {IState} state - the state document */ function setJobState(id: string, state: IState) { let context: IContext = getContext(); let collection: ICollection = context.getCollection(); let response: IResponse = getContext().getRespons...
imranmomin/Hangfire.AzureDocumentDB
src/StoredProcedure/setJobState.ts
TypeScript
mit
1,221
# Chapter 2. Type less, Do more ## Semicolons * **continued after** = { , . operator ## Variable Declarations * val (value object) * var (change value, don't change object type) * initialized immediately - except: using at constructor * no primitive type * use **val** ## Ranges * literal ...
younggi/books
programming_scala/Chapter2.md
Markdown
mit
7,353
package me.realmoriss.prog3.nagyhf.entities; import me.realmoriss.prog3.nagyhf.entities.primitives.Vec2D; /** * Created on 11/30/16. */ public class CyanBrick extends Brick { private static final String DEF_CLASSNAME = "prop_brick_cyan"; public CyanBrick(Vec2D pos, String name) { super(pos, name, "cyan"); cla...
realmoriss/prog3
nagyhf/src/me/realmoriss/prog3/nagyhf/entities/CyanBrick.java
Java
mit
349
var webpack = require('webpack'); var path = require('path'); module.exports = { devtool: 'eval', entry: [ 'webpack-dev-server/client?http://127.0.0.1:3000', // WebpackDevServer host and port 'webpack/hot/only-dev-server', './src/js/index.js' // Your appʼs entry point ], output: { path: path.jo...
firKing/the-jigsaw-puzzle
webpack.config.js
JavaScript
mit
896
import re list_re = re.compile(r'\((.*)\) \"(.*)\" \"(.*)\"') class Response(object): # There are three possible server completion responses OK = "OK" # indicates success NO = "NO" # indicates failure BAD = "BAD" # indicates a protocol error class ListResponse(object): def __init__(self, li...
clara-labs/imaplib3
imaplib3/response.py
Python
mit
513
<?php declare(strict_types = 1); namespace Innmind\Immutable; /** * @template T * @psalm-immutable */ final class Set implements \Countable { /** @var Set\Implementation<T> */ private Set\Implementation $implementation; private function __construct(Set\Implementation $implementation) { $th...
Innmind/Immutable
src/Set.php
PHP
mit
9,424
#!/usr/bin/env python import argparse import bz2 import gzip import os.path import sys from csvkit import CSVKitReader from csvkit.exceptions import ColumnIdentifierError, RequiredHeaderError def lazy_opener(fn): def wrapped(self, *args, **kwargs): self._lazy_open() fn(*args, **kwargs) return...
cypreess/csvkit
csvkit/cli.py
Python
mit
15,243
import { expect } from 'chai'; import request from '../src/reqwest-fetch'; /* eslint func-names: 0 */ /* eslint prefer-arrow-callback: 0 */ describe('reqwest-fetch', function () { it('should accept json response', function () { this.timeout(10000); const test = request({ url: 'https://o.hahoo.cn/test.json' }...
hahoocn/hahoorequest
test/reqwest-fetch.spec.js
JavaScript
mit
437
export {FormlyJigsawHeaderModule} from './header.module'; export {FormlyFieldHeader} from './header.type';
rdkmaster/jigsaw
src/ngx-formly/jigsaw/header/src/public_api.ts
TypeScript
mit
107
/* Shield UI 1.6.10 Trial Version | Copyright 2013-2014 Shield UI Ltd. | www.shieldui.com/eula */ .sui-window{border-color:#e7e7e7;color:#333;background-color:#fff;box-shadow:0 0 7px #e7e7e7}.sui-window-titlebar{color:#fff;border-color:#4fa7ef;background-color:#428bca}.sui-window-content{background-color:#fff}.sui-wind...
Etxea/adeges_extranet
web/shieldui/css/light-bootstrap/window.min.css
CSS
mit
354
<!doctype html> <!-- Minimal Mistakes Jekyll Theme 4.5.1 by Michael Rose Copyright 2017 Michael Rose - mademistakes.com | @mmistakes Free for personal and commercial use under the MIT license https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt --> <html lang="en" class="no-js"> <head> <...
vahid-dan/ipop-project.github.io
_site/wiki/Use-IPOP-on-Ubuntu-and-Raspberry-Pi,-Manually.html
HTML
mit
12,982
Subscreen =========
fxaeberhard/UnderTheScreen
README.md
Markdown
mit
20
$.extend( $.fn, { // http://jqueryvalidation.org/validate/ validate: function( options ) { // If nothing is selected, return nothing; can't chain anyway if ( !this.length ) { if ( options && options.debug && window.console ) { console.warn( "Nothing selected, can't validate, returning nothing." ); } ...
etylsarin/jquery-validation
src/core.js
JavaScript
mit
42,456
// EnemyJunkbotWalking.cpp: implementation of the EnemyJunkbotWalking class. // ////////////////////////////////////////////////////////////////////// #include "EnemyJunkbotWalking.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction //////////////////////////////////...
duhone/BladeofBetrayal
Bob/EnemyJunkbotWalking.cpp
C++
mit
5,461
#pragma once #include "PoolAllocatorTest.h" #include "StackAllocatorTest.h" #include "GeneralPurposeAllocatorTest.h" #include "DefragmentationAllocatorTest.h" #include "StringTest.h" #include "DataStructures/ListTest.h" #include "DataStructures/HashMapTest.h" #include "DataStructures/StackTest.h" #include "DataStruct...
Brotcrunsher/BrotboxEngine
BrotBoxEngineTest/Tests/AllTests.h
C
mit
3,047
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <meta charset="utf-8" /> <title>Démos : Panneaux dépliants accessibles (show/hide) avec ARIA et en Vanilla Javascript - Van11y </title> <link href="./styles.css" rel="stylesheet" media="all" /> <meta name="description" conten...
nico3333fr/van11y-accessible-hide-show-aria
demo/index-fr.html
HTML
mit
4,231
<?php include_once "includes/globalfunctions.php"; session_start(); if (!isset($_SESSION['authorization_id'])) { navto("index.php"); } ?> <!DOCTYPE html> <html lang="en"> <head> <?php include "includes/head.html"; ?> <link rel="stylesheet" type="text/css" href="vendor/datatables/DataTables-1.10....
Bonus83/cast
site/balancesheet.php
PHP
mit
6,413