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
import numpy as np import pandas as pd from pandas import Series, DataFrame from scipy.spatial import distance import matplotlib.pyplot as plt from sklearn.cluster import DBSCAN from sklearn import metrics from sklearn.datasets.samples_generator import make_blobs from sklearn.preprocessing import StandardScaler from s...
banacer/door-wiz
src/identification/Identifier.py
Python
mit
1,449
<?php /* TwigBundle:Exception:traces.html.twig */ class __TwigTemplate_034400bfb816a72b7b3da36dd2d8e07ee89621bac614688be25a4e8ff872b3ad extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array(...
JoseGMaestre/Cupon_check
app/cache/dev/twig/9e/9e7ec4c116a05cf87d6dedc6906bdf1b530cafcee29ed870fee22e6360fa5e44.php
PHP
mit
8,589
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
ng2-slavs/Sportsemblr
public/app/pipes/remainingTimePipe.js
JavaScript
mit
4,775
/* eslint-disable import/no-extraneous-dependencies,import/no-unresolved */ import React, { useState } from 'react'; import { Form } from 'react-bootstrap'; import { Typeahead } from 'react-bootstrap-typeahead'; /* example-start */ const options = [ 'Warsaw', 'Kraków', 'Łódź', 'Wrocław', 'Poznań', 'Gdańsk...
ericgio/react-bootstrap-typeahead
example/src/examples/FilteringExample.js
JavaScript
mit
1,572
{% extends "base.html" %} {% block content %} <div class="container"> <form action="" method="POST" enctype="multipart/form-data"> {{ form.hidden_tag() }} <p> Descriptive Name: {{ form.descriptive_name(size = 50) }} {% for error in form.descriptive_name.errors %} <span st...
okyere/excel-data-collection
app/templates/add_tableinfo.html
HTML
mit
820
require 'test_helper' class VigenereTest < MiniTest::Test def setup super @cipher = Cryptolalia::Cipher::Vigenere.new end def test_encodes @cipher.plaintext = 'This is a super secret message.' @cipher.keyword = 'qwerty' @cipher.encode! assert_equal "jdmj bq q oygxp iagixr cawjteu", @ci...
Veraticus/cryptolalia
test/unit/cipher/vigenere_test.rb
Ruby
mit
552
@extends('layouts.app') @section('content') <div class="container-fluid"> <div class="row"> <div class="panel panel-default"> <div class="panel-heading" style="padding-bottom: 40px;">PREVIEW <div class="col-xs-3 pull-right"> <a href="/ssearch">...
ayoshoks/ncs
resources/views/search/specific_result.blade.php
PHP
mit
3,877
export default { hello : "hello" };
hasangilak/react-multilingual
example/locales/en.js
JavaScript
mit
37
using System.Collections.Generic; using UnityEngine; using System; namespace AI { public class GreedyAIController : PlayerController { enum NextState { Wait, Draw, Play } private NextState nextState; Dictionary<DominoController, List<DominoController>> place...
hahamty/Dominoes
Game/Assets/Scripts/AI/GreedyAIController.cs
C#
mit
14,285
package com.codenotfound.endpoint; import java.math.BigInteger; import org.example.ticketagent.ObjectFactory; import org.example.ticketagent.TFlightsResponse; import org.example.ticketagent.TListFlights; import org.example.ticketagent_wsdl11.TicketAgent; public class TicketAgentImpl implements TicketAgent { @Over...
code-not-found/jaxws-cxf
jaxws-cxf-digital-signature/src/main/java/com/codenotfound/endpoint/TicketAgentImpl.java
Java
mit
588
/* The MIT License (MIT) Copyright (c) 2014 Mehmetali Shaqiri (mehmetalishaqiri@gmail.com) 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 with...
spartanbeg/OpenVPN-Event-Viewer
openvpn.api/openvpn.api/Controllers/UsersController.cs
C#
mit
3,668
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSObject.h" @class NSString, NSURL; // Not exported @interface _GEORegionalResourceDownload : NSObject { NSString *_name; long long _type; NSURL *_url; ...
matthewsot/CocoaSharp
Headers/PrivateFrameworks/GeoServices/_GEORegionalResourceDownload.h
C
mit
816
name 'google_app_engine' description 'A cookbook to download and install the google app engine SDK on a Linux system.' version '1.0.0' maintainer 'Bernd Hoffmann' maintainer_email 'info@gebeat.com' license 'MIT' long_description IO.read(File.join(File.dirname(__FILE__), 'README....
GeBeater/gae-cookbook
metadata.rb
Ruby
mit
325
TaskManager.module('ContentModule.List', function (List, App, Backbone) { 'use strict'; List.Controller = Marionette.Controller.extend({ initialize: function (options) { var tasksList = App.request('taskList'), listView = this.getView(tasksList); if (options.region) { this.region = options.region; ...
vlyahovich/Task-Manager
src/js/modules/content/list/listController.js
JavaScript
mit
499
namespace SharedWeekends.MVC.Areas.Administration.Controllers { using System.Web.Mvc; using SharedWeekends.Data; using SharedWeekends.MVC.Controllers; [Authorize(Roles = "admin")] public abstract class AdminController : BaseController { public AdminController(IWeekendsData data) ...
kalinalazarova1/SharedWeekends
SharedWeekends.MVC/Areas/Administration/Controllers/AdminController.cs
C#
mit
369
# VisMod While the ultimate goal of VisMod is to assist in groundwater flow model visualization, the current classes support the export of files that can be used in visualization software such as [http://wci.llnl.gov/codes/visit/]. [![Animation created with VisIt from MODFLOW results](http://i.ytimg.com/vi/v12i04psF2...
fluidmotion/visTools
README.md
Markdown
mit
2,930
'use strict'; var Project = require('ember-cli/lib/models/project'); function MockProject() { var root = process.cwd(); var pkg = {}; Project.apply(this, [root, pkg]); } MockProject.prototype.require = function(file) { if (file === './server') { return function() { return { listen: functio...
mattjmorrison/ember-cli-testem
tests/helpers/mock-project.js
JavaScript
mit
1,206
<!DOCTYPE html> <html lang="en" ng-app="App"> <head> <meta charset="UTF-8"> <title>form</title> <link rel="stylesheet" href="../../js/lib/bootstrap/dist/css/bootstrap.min.css"> <style> .container { margin-top: 30px; } </style> </head> <body ng-controller="MyCtrl"> <div class="container"> ...
GreenMelon/Angular-Notes
app/html/Form/checkbox-001.html
HTML
mit
2,186
#[derive(Debug)] pub struct Rectangle { length: u32, width: u32, } impl Rectangle { pub fn can_hold(&self, other: &Rectangle) -> bool { self.length > other.length && self.width > other.width } } #[cfg(test)] mod tests { use super::*; #[test] fn larger_can_hold_smaller() { ...
hiseni/trpl
adder/src/lib.rs
Rust
mit
823
'use strict'; function NavalMap(canvasId, imageMapUrl, imageCompassUrl, config) { this.canvas = document.getElementById(canvasId); this.imageMap = new Image(); this.imageCompass = new Image(); this.config = config; this.itemsLoaded = false; this.nationsLoaded = false; this.shopsLoaded = fal...
Rodrive/na-map
js/map.js
JavaScript
mit
15,072
import _curry2 from "./_curry2"; /** * Accepts an object and build a function expecting a key to create a "pair" with the key * and its value. * @private * @function * @param {Object} obj * @returns {Function} */ var _keyToPairIn = _curry2(function (obj, key) { return [key, obj[key]]; }); export default _k...
ascartabelli/lamb
src/privates/_keyToPairIn.js
JavaScript
mit
332
//------------------------------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // CHeapPtr for VB // //------------------------------------------------------------------------------------------------- #pragma once template <typ...
mind0n/hive
Cache/Libs/net46/vb/language/shared/vbheapptr.h
C
mit
1,561
'use strict'; /** * The basic http module, used to create the server. * * @link http://nodejs.org/api/http.html */ alchemy.use('http', 'http'); /** * This module contains utilities for handling and transforming file paths. * Almost all these methods perform only string transformations. * The file system is n...
skerit/alchemy
lib/init/requirements.js
JavaScript
mit
2,142
package com.eaw1805.data.model.map; import com.eaw1805.data.constants.RegionConstants; import com.eaw1805.data.model.Game; import java.io.Serializable; /** * Represents a region of the world. */ public class Region implements Serializable { /** * Required by Serializable interface. */ static fin...
EaW1805/data
src/main/java/com/eaw1805/data/model/map/Region.java
Java
mit
7,717
h1 { /* inline || block || */ display: inline; /* padding-box || border-box */ box-sizing: content-box; padding: 0; margin: 0; } /* Important Auto */ .auto-parent { width: 500px; } .auto-child { /* With Auto Width - it will fill up to take all the remaining space - 400 px */ margi...
i-den/SoftwareUniversity
Front End Courses/03. CSS - Def Guide/07. Basic Visual Formatting/01. Basic Visual Formatting.css
CSS
mit
529
```js var PlistUtils = (function() { function readTextFile(strPath) { var error; var str = ObjC.unwrap( $.NSString.stringWithContentsOfFileEncodingError( $(strPath).stringByStandardizingPath, $.NSUTF8StringEncoding, error ) ); if (error) throw Error('Could not read file "' + strPath + '"'...
dagware/DanThomas
JXA/PlistUtils.md
Markdown
mit
3,298
#!/bin/sh # # Verifies that go code passes go fmt, go vet, golint, and go test. # lintignore=golintignore o=$(tempfile) fail() { echo Failed cat $o exit 1 } echo Formatting gofmt -l $(find . -name '*.go') 2>&1 > $o test $(wc -l $o | awk '{ print $1 }') = "0" || fail echo Vetting go vet ./... 2>&1 > $o || fail ...
velour/ui
gok.sh
Shell
mit
502
/** * Copyright (c) 2015, Alexander Orzechowski. * * 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, ...
Need4Speed402/tessellator
src/model/modules/DrawObject.js
JavaScript
mit
1,391
#!-*- coding:utf-8 -*- import time def retries(times=3, timeout=1): """对未捕获异常进行重试""" def decorator(func): def _wrapper(*args, **kw): att, retry = 0, 0 while retry < times: retry += 1 try: return func(*args, **kw) ...
wanghuafeng/spider_tools
decorator.py
Python
mit
1,524
# BKAsciiImage [![Version](https://img.shields.io/cocoapods/v/BKAsciiImage.svg?style=flat)](http://cocoapods.org/pods/BKAsciiImage) [![License](https://img.shields.io/cocoapods/l/BKAsciiImage.svg?style=flat)](http://cocoapods.org/pods/BKAsciiImage) [![Platform](https://img.shields.io/cocoapods/p/BKAsciiImage.svg?style...
bkoc/BKAsciiImage
README.md
Markdown
mit
4,737
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="author" content="Ginolhac"> <meta name="generator" content="Hugo 0.42.1" /> <title>Posts &midd...
ginolhac/ginolhac.github.com
posts/index.html
HTML
mit
4,782
{% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading, notification_status_field %} {% from "components/page-footer.html" import page_footer %} <div class="ajax-block-container" aria-labelledby='pill-selected-item'> <div class="dashboard-table bottom-gutter-3-2"> {% ca...
alphagov/notifications-admin
app/templates/partials/notifications/notifications.html
HTML
mit
840
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <meta name="collection" content="api"> <!-- Generated by javadoc (build 1.5.0-rc) on Wed Aug 11 07:27:53 PDT 2004 --> <TITLE> Binding (Java 2 Platform SE 5.0) </TITLE> <META NAME="keyword...
Smolations/more-dash-docsets
docsets/Java 5.docset/Contents/Resources/Documents/org/omg/CosNaming/Binding.html
HTML
mit
14,943
<!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...
v8-dox/v8-dox.github.io
2a2c881/html/functions_f.html
HTML
mit
8,002
.loading { margin: 0 auto; width: 100px; padding-top: 50px; } /*! * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/) * Copyright 2015 Daniel Cardoso <@DanielCardoso> * Licensed under MIT */ .la-ball-fussion, .la-ball-fussion > div { position: relative; -webkit-box-sizing: border-b...
ShevaDas/exhibitor-management
src/components/Loading/Loading.css
CSS
mit
6,573
// rd_route.c // Copyright (c) 2014-2015 Dmitry Rodionov // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. #include <stdlib.h> // realloc() #include <libgen.h> // basename() #include <assert.h> // assert() #include <std...
XVimProject/XVim2
XVim2/Helper/rd_route.c
C
mit
3,016
#region License // Distributed under the MIT License // ============================================================ // Copyright (c) 2019 Hotcakes Commerce, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software")...
HotcakesCommerce/core
Libraries/Hotcakes.Commerce.Dnn/DnnConfigurationManager.cs
C#
mit
2,605
<!-- Safe sample input : backticks interpretation, reading the file /tmp/tainted.txt SANITIZE : use of preg_replace with another regex File : use of untrusted data in one side of a quoted expression in a script --> <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royal...
stivalet/PHP-Vulnerability-test-suite
XSS/CWE_79/safe/CWE_79__backticks__func_preg_replace2__Use_untrusted_data_script-side_Quoted_Expr.php
PHP
mit
1,351
<?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> <head> <title>readlines (Buffering)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel=...
enzor/jror-example
doc/jruby-openssl-0.7/rdoc/classes/Buffering.src/M000045.html
HTML
mit
1,249
var crypto = require('crypto'); var lob = require('lob-enc') var hashname = require('hashname'); var log = require("./log")("Handshake") module.exports = { bootstrap : handshake_bootstrap, validate : handshake_validate, from : handshake_from, types : handshake_types, collect : handshake_collect }...
telehash/telehash-js
lib/util/handshake.js
JavaScript
mit
4,311
""" ******************************************************************** Test file for implementation check of CR3BP library. ******************************************************************** Last update: 21/01/2022 Description ----------- Contains a few sample orbit propagations to test the CR3BP l...
poliastro/poliastro
contrib/CR3BP/test_run_CR3BP.py
Python
mit
6,277
# gitflow-publisher-bower > a bower publish processor for gitflow-publisher ![VERSION](https://img.shields.io/npm/v/gitflow-publisher-bower.svg) ![DOWNLOADS](https://img.shields.io/npm/dt/gitflow-publisher-bower.svg) [![ISSUES](https://img.shields.io/github/issues-raw/akonoupakis/gitflow-publisher-bower.svg)](https://...
akonoupakis/gitflow-publisher-bower
README.md
Markdown
mit
1,558
<?php /* * This file is part of the sfOauthServerPlugin package. * (c) Jean-Baptiste Cayrou <lordartis@gmail.com> * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * */ /** * sfOauthServerRouting configuration. * * @package sfOauthSer...
lmaxim/cc_oauthplugin
lib/routing/sfOauthServerRouting.class.php
PHP
mit
1,169
'use strict'; /* https://github.com/angular/protractor/blob/master/docs/toc.md */ describe('my app', function() { browser.get('index.html'); it('should automatically redirect to /home when location hash/fragment is empty', function() { expect(browser.getLocationAbsUrl()).toMatch("/home"); }); describe...
Mschmidt19/MarekSchmidt.com
e2e-tests/scenarios.js
JavaScript
mit
927
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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...
tzpBingo/github-trending
codespace/python/tencentcloud/scf/v20180416/errorcodes.py
Python
mit
27,390
--- title: "Bayesian network regression with applications to microbiome data" collection: talks type: "Talk" permalink: /talks/2021_juliacon venue: "JuliaCon" date: 2021-07-30 location: "Online" --- Bayesian network regression with applications to microbiome data, **Samuel Ozminkowski** & Claudia Solís-Lemus, *JuliaCo...
samozm/samozm.github.io
_talks/2021-juliacon.md
Markdown
mit
592
package me.breidenbach.asyncmailer /** * Copyright © Kevin E. Breidenbach, 5/26/15. */ case class MailerException(message: String, cause: Throwable = null) extends Error(message, cause)
kbreidenbach/akka-emailer
src/main/scala/me/breidenbach/asyncmailer/MailerException.scala
Scala
mit
190
#!/bin/bash cp index.html /var/www/ cp -r js /var/www cp -r img /var/www/img
IgorPelevanyuk/CatClicker-Knockout
deploy.sh
Shell
mit
77
datab = [{},{"Attribute":{"colspan":"1","rowspan":"1","text":"Modality"},"Tag":{"colspan":"1","rowspan":"1","text":"(0008,0060)"},"Value":{"colspan":"1","rowspan":"1","text":"CT"}},{"Attribute":{"colspan":"1","rowspan":"1","text":"Photometric Interpretation"},"Tag":{"colspan":"1","rowspan":"1","text":"(0028,0004)"},"Va...
vupeter/posdaJS
lib/json/book/part11/table_E.3-3.js
JavaScript
mit
378
<!doctype html> <html> <title>commands</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../static/style.css"> <body> <div id="wrapper"> <h1><a href="../api/commands.html">commands</a></h1> <p>npm commands</p> <h2 id="SYNOPSIS">SYNOPSIS</h2> <pr...
fschwiet/letscodejavascript
node_modules/npm/html/api/commands.html
HTML
mit
1,813
#!/usr/bin/env python # -*- coding: utf-8 -*- from runner.koan import * class AboutIteration(Koan): def test_iterators_are_a_type(self): it = iter(range(1,6)) total = 0 for num in it: total += num self.assertEqual(15 , total) def test_iterating_with_next(self):...
bohdan7/python_koans
python3/koans/about_iteration.py
Python
mit
3,923
{% extends "layout.html" %} {% block body %} <title>All Events - Media Services</title> <form id="adminForm" action="" method=post> <div class="container"> <table class="table"> <thead> <td> <ul class="nav nav-pills"> <li class="nav-item"> <a class="nav-link active" href="#">Upcoming...
theapricot/oppapp2
templates/admin.html
HTML
mit
2,480
html, body { font-family: 'Roboto', 'Helvetica', sans-serif; } strong, b { font-weight: 700; } h1, h2, h3 { font-family: "Roboto Slab", "Helvetica", "Arial", sans-serif; } pre, code { font-family: "Roboto mono", monospace; } .ghostdown-edit-content { position: absolute; top: 50px; bottom...
THLabs/ghostdown
styles/ghostdown.css
CSS
mit
2,150
function RenderPassManager(renderer) { // not implemented yet throw "Not implemented"; var mRenderPasses = []; return this; } RenderPassManager.prototype.addRenderPass = function(renderPass) { mRenderPasses.push(renderPass); }; RenderPassManager.prototype.render = function() { for(var renderPass i...
RuggeroVisintin/SparkPreviewer
src/js/core/Renderer/RenderPassManager.js
JavaScript
mit
426
--- layout: post title: "IT业编程四大魔道天王" date: 2017-11-10 16:09:16 +0800 tag: [博客] --- IT业编程四大魔道天王的博客地址。 胡正 - [辟支佛胡正 · 阿罗汉尊者 · 功德藏闯菩萨](http://www.huzheng.org/myapps.php) 田春 - [Chun Tian (binghe)](http://tianchunbinghe.blog.163.com/) 李杀 - [Xah Lee Web 李杀网](http://xahlee.org/) 王垠 - [当然我在扯淡](http://www.yinwang.org/)
wangyu892449346/wangyu892449346.github.io
_posts/2017-11-10-IT业编程四大魔道天王.md
Markdown
mit
439
package com.malalaoshi.android.ui.dialogs; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.text.Editable; import android.text.TextUtils; import android.text.TextWatcher; import android.view.LayoutInflater; import android.view.View; import android.widg...
malaonline/Android
app/src/main/java/com/malalaoshi/android/ui/dialogs/CommentDialog.java
Java
mit
10,909
#!/usr/bin/env node var path = require('path'); var fs = require('fs'); var optimist = require('optimist'); var prompt = require('prompt'); var efs = require('efs'); var encext = require('./index'); var defaultAlgorithm = 'aes-128-cbc'; var argv = optimist .usage('usage: encext [-r] [-a algorithm] [file ...]') .d...
kunklejr/node-encext
cli.js
JavaScript
mit
1,910
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title> Sebastian Daza | R package to compute statistics from the American Community Survey (ACS) and Decennia...
sdaza/sdaza.github.com
blog/2016/acsr/index.html
HTML
mit
45,371
using CertificateManager.Entities; using CertificateManager.Entities.Interfaces; using System.Collections.Generic; using System.Security.Claims; namespace CertificateManager.Logic.Interfaces { public interface IAuditLogic { IEnumerable<AuditEvent> GetAllEvents(); void LogSecurityAuditSuccess(C...
corymurphy/CertificateManager
CertificateManager.Logic/Interfaces/IAuditLogic.cs
C#
mit
919
<?php if (empty($content)) { return; } $title = 'Bank Emulator Authorization Center'; ?> <html lang="ru"> <?= View::make('ff-bank-em::layouts.head', array( 'title' => $title, )); ?> <body> <div class="navbar navbar-default"> <?= View::make('ff-bank-em::layouts.navbar-header', array( 'title' => $title, )); ?>...
fintech-fab/bank-emulator
src/views/layouts/authorization.php
PHP
mit
398
export function wedgeYZ(a, b) { return a.y * b.z - a.z * b.y; } export function wedgeZX(a, b) { return a.z * b.x - a.x * b.z; } export function wedgeXY(a, b) { return a.x * b.y - a.y * b.x; }
geometryzen/davinci-newton
build/module/lib/math/wedge3.js
JavaScript
mit
204
module Mlblog VERSION = "0.0.1" end
DevMpl/mlblog
lib/mlblog/version.rb
Ruby
mit
38
package cloudformation // AWSECSService_DeploymentConfiguration AWS CloudFormation Resource (AWS::ECS::Service.DeploymentConfiguration) // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html type AWSECSService_DeploymentConfiguration struct { // ...
minutelab/mless
vendor/github.com/awslabs/goformation/cloudformation/aws-ecs-service_deploymentconfiguration.go
GO
mit
1,159
package sysadmin import org.scalatest._ import scalikejdbc._ import scalikejdbc.scalatest.AutoRollback import skinny.logging.Logging import skinny.test.FactoryGirl class userAdminSpec extends fixture.FunSpec with Matchers with Connection with CreateTables with AutoRollback with Logging { ov...
seratch/skinny-framework
factory-girl/src/test/scala/sysadmin/SystemAdminSpec.scala
Scala
mit
942
var scroungejs = require('scroungejs'), startutils = require('./startutil'); startutils.createFileIfNotExist({ pathSrc : './test/indexSrc.html', pathFin : './test/index.html' }, function (err, res) { if (err) return console.log(err); scroungejs.build({ inputPath : [ './test/testbuildSrc', ...
iambumblehead/bttnsys
test/testrun.js
JavaScript
mit
654
var Struct = ( function() { return function ( members ) { var mode = "default"; var ctor = function( values ) { if ( mode === "new" ) { mode = "void"; return new Struct(); } if ( mode === "void" ) ...
stephenbunch/type
src/Struct.js
JavaScript
mit
3,084
var utils = require('./utils') , request = require('request') ; module.exports = { fetchGithubInfo: function(email, cb) { var githubProfile = {}; var api_call = "https://api.github.com/search/users?q="+email+"%20in:email"; var options = { url: api_call, headers: { 'User-Agent': 'Blogdown' } }; ...
xdamman/blogdown
core/server/lib/contributors.js
JavaScript
mit
1,262
// // STShare.h // Loopy // // Created by David Jedeikin on 10/23/13. // Copyright (c) 2013 ShareThis. All rights reserved. // #import "STAPIClient.h" #import <Foundation/Foundation.h> #import <Social/Social.h> @interface STShareActivityUI : NSObject @property (nonatomic, strong) UIViewController *parentControll...
socialize/loopy-ios
Loopy/STShareActivityUI.h
C
mit
954
using Radical.Reflection; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Reflection; namespace Radical.Windows { static class PropertyInfoExtensions { public static string GetDisplayName(this PropertyInfo propertyInfo) { if (propertyInfo != ...
RadicalFx/Radical.Windows
src/Radical.Windows/PropertyInfoExtensions.cs
C#
mit
801
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleCiphers.Models { public static class ArrayOperations { // Содержится ли text в encAbc. Если да, то возвращаются индексы в encAbc // a b text = 1 // ...
slavitnas/SimpleCiphers
SimpleCiphers/Models/ArrayOperations.cs
C#
mit
1,318
import java.text.NumberFormat; // **************************************************************** // ManageAccounts.java // Use Account class to create and manage Sally and Joe's bank accounts public class ManageAccounts { public static void main(String[] args) { Account acct1, acct2; NumberFormat us...
pegurnee/2013-03-211
workspace/Lecture 09_18_13/src/ManageAccounts.java
Java
mit
1,595
<!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> <?php include_http_metas() ?> <?php include_metas() ?> <?php include_title() ?> </head> <body id="body" lang="en"> <?php ...
appflower/appflower_engine
modules/appFlower/templates/layout.php
PHP
mit
357
from api_request import Api from util import Util from twocheckout import Twocheckout class Sale(Twocheckout): def __init__(self, dict_): super(self.__class__, self).__init__(dict_) @classmethod def find(cls, params=None): if params is None: params = dict() response = ...
2Checkout/2checkout-python
twocheckout/sale.py
Python
mit
3,388
<?php /** * wm.class.php - window manager * * handles window groups and multiple gtkwindow object easily * * This is released under the GPL, see docs/gpl.txt for details * * @author Leon Pegg <leon.pegg@gmail.com> * @author Elizabeth M Smith <emsmith@callicore.net> * @copyright Leon Pe...
callicore/library
lib/lib/wm.class.php
PHP
mit
4,546
module.exports = FormButtonsDirective; function FormButtonsDirective () { return { restrict: 'AE', replace: true, scope: { submitClick: '&submitClick', cancelClick: '&cancelClick' }, templateUrl: '/src/utils/views/formButtons.tmpl.html', link:...
zazujs/mufasa
app/src/utils/formButtons.directive.js
JavaScript
mit
687
ActionController::Routing::Routes.draw do |map| map.resources :projects map.resources :priorities map.resources :tasks # The priority is based upon order of creation: first created -> highest priority. # Sample of regular route: # map.connect 'products/:id', :controller => 'catalog', :action => 'view'...
elseano/intervention
test/config/routes.rb
Ruby
mit
1,991
<?php namespace Master\AdvertBundle\Controller; use Elastica\Filter\GeoDistance; use Elastica\Query\Filtered; use Elastica\Query\MatchAll; use Master\AdvertBundle\Document\Advert; use Master\AdvertBundle\Document\Localization; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundat...
friendsofdigital/structure-symfony
src/Master/AdvertBundle/Controller/DefaultController.php
PHP
mit
2,725
# ASConfigCreator [![Build Status](https://travis-ci.org/Eernie/ASConfigCreator.svg?branch=develop)](https://travis-ci.org/Eernie/ASConfigCreator) [![Coverage Status](https://coveralls.io/repos/Eernie/ASConfigCreator/badge.svg?branch=develop&service=github)](https://coveralls.io/github/Eernie/ASConfigCreator?branch=dev...
Eernie/ASConfigCreator
Readme.md
Markdown
mit
1,517
$context.section('Простое связывание', 'Иерархическое связывание с данными с использованием простых и составных ключей'); //= require data-basic $context.section('Форматирование', 'Механизм одностороннего связывания (one-way-binding)'); //= require data-format $context.section('Настройка', 'Управление изменением видж...
eliace/ergojs-site
samples/core/widget/data/index.js
JavaScript
mit
1,056
/*The MIT License (MIT) Copyright (c) 2016 Muhammad Hammad 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...
hammadirshad/dvare
src/main/java/org/dvare/annotations/Type.java
Java
mit
1,450
import json import os from flask import request, g, render_template, make_response, jsonify, Response from helpers.raw_endpoint import get_id, store_json_to_file from helpers.groups import get_groups from json_controller import JSONController from main import app from pymongo import MongoClient, errors HERE = os.pat...
CenterForOpenScience/scinet
scinet/views.py
Python
mit
4,696
package com.arekusu.datamover.model.jaxb; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlT...
Arrekusu/datamover
components/datamover-core/src/main/java/com/arekusu/datamover/model/jaxb/ModelType.java
Java
mit
2,303
<?php namespace PragmaRX\Sdk\Services\Accounts\Exceptions; use PragmaRX\Sdk\Core\HttpResponseException; class InvalidPassword extends HttpResponseException { protected $message = 'paragraphs.invalid-password'; }
antonioribeiro/sdk
src/Services/Accounts/Exceptions/InvalidPassword.php
PHP
mit
218
import React from 'react'; import './skills.scss'; export default () => { return ( <section className="skills-section"> <svg className="bigTriangleColor separator-skills" width="100%" height="100" viewBox="0 0 100 102" preserveAspectRatio="none"> <path d="M0 0 L0 100 L70 0 L100 100 L100 0 Z" /> ...
musicbender/my-portfolio
src/components/skills/skills.js
JavaScript
mit
851
import axios from 'axios'; export default axios.create({ baseURL: 'http://localhost:9000/v1/' });
FrederikS/das-blog-frontend
app/http/client.js
JavaScript
mit
102
/* * THIS FILE IS AUTO GENERATED FROM 'lib/lex/lexer.kep' * DO NOT EDIT */ define(["require", "exports", "bennu/parse", "bennu/lang", "nu-stream/stream", "ecma-ast/token", "ecma-ast/position", "./boolean_lexer", "./comment_lexer", "./identifier_lexer", "./line_terminator_lexer", "./null_lexer", "./number_lexe...
mattbierner/parse-ecma
dist/lex/lexer.js
JavaScript
mit
4,873
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using IdentityServer3.Core.Events; using IdentityServer3.ElasticSearchEventService.Extensions; using IdentityServer3.ElasticSearchEventService.Mapping; using IdentityServer3.ElasticSearchEventService.Mapping.Configuration...
johnkors/IdentityServer3.Contrib.ElasticSearchEventService
source/Unittests/DefaultLogEventMapperTests.cs
C#
mit
4,525
<h1><?=$title?></h1> <h5>Ordered by Points</h5> <?php foreach ($users as $user) : ?> <div class="mini-profile left"> <img class="gravatar left" src="<?= $this->mzHelpers->get_gravatar($user->email, 128); ?>" alt=""> <div class="info"> ...
nuvalis/GMAQ
app/view/users/list-all.tpl.php
PHP
mit
587
// Multiprocessor support // mist32 is not supported multiprocessor #include "types.h" #include "defs.h" #include "param.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" struct cpu cpus[NCPU]; int ismp; int ncpu; void mpinit(void) { ismp = 0; ncpu = 1; lapic = 0; cpus[ncpu].id = ncpu; ncpu++; ...
techno/xv6-mist32
mp.c
C
mit
333
#include <stdio.h> #include "cgm_play.h" #include "cgm_list.h" #ifndef _CGM_TYPES_H_ #define _CGM_TYPES_H_ #ifdef __cplusplus extern "C" { #endif typedef int(*CGM_FUNC)(tCGM* cgm); typedef struct { double xmin; double xmax; double ymin; double ymax; } tLimit; typedef struct { unsigned long red; u...
kmx/mirror-cd
src/intcgm/cgm_types.h
C
mit
6,161
require 'spec_helper' require 'serializables/vector3' describe Moon::Vector3 do context 'Serialization' do it 'serializes' do src = described_class.new(12, 8, 4) result = described_class.load(src.export) expect(result).to eq(src) end end end
polyfox/moon-packages
spec/moon/packages/serializables/vector3_spec.rb
Ruby
mit
274
package org.liquidizer.snippet import scala.xml._ import scala.xml.parsing._ import net.liftweb.util._ import net.liftweb.http._ import net.liftweb.http.js._ import net.liftweb.http.js.JsCmds._ import net.liftweb.common._ import org.liquidizer.model._ object Markup { val URL1= "(https?:/[^\\s\"]*[^\\s!?&.<>])" ...
liquidizer/liquidizer
src/main/scala/org/liquidizer/snippet/Markup.scala
Scala
mit
7,634
<?php /* SQL Laboratory - Web based MySQL administration http://projects.deepcode.net/sqllaboratory/ types.php - list of data types MIT-style license 2008 Calvin Lough <http://calv.in>, 2010 Steve Gricci <http://deepcode.net> */ $typeList[] = "varchar"; $typeList[] = "char"; $typeList[] = "text"; $typeList[] = "t...
sgricci/sqllaboratory
includes/types.php
PHP
mit
1,775
body { font-family: helvetica, arial, sans-serif; font-size: 24px; line-height: 36px; background: url("3264857348_0cfd8d7e4f_b-lowquality.jpg"); background-position: top center; background-size: cover; background-repeat: none; overflow: hidden; } * { box-sizing: border-box; -moz-...
joelpurra/bespoke-secondary
demo/style.css
CSS
mit
2,264
#if false using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LionFire.Behaviors { public class Coroutine { } } #endif
jaredthirsk/LionFire.Behaviors
LionFire.Behaviors/Dependencies/Coroutines.cs
C#
mit
208
package SOLID.Exercise.Logger.model.appenders; import SOLID.Exercise.Logger.api.File; import SOLID.Exercise.Logger.api.Layout; import SOLID.Exercise.Logger.model.files.LogFile; public class FileAppender extends BaseAppender { private File file; public FileAppender(Layout layout) { super(layout); ...
lmarinov/Exercise-repo
Java_OOP_2021/src/SOLID/Exercise/Logger/model/appenders/FileAppender.java
Java
mit
670
/* global describe, it, require */ 'use strict'; // MODULES // var // Expectation library: chai = require( 'chai' ), // Deep close to: deepCloseTo = require( './utils/deepcloseto.js' ), // Module to be tested: log10 = require( './../lib/array.js' ); // VARIABLES // var expect = chai.expect, assert = chai.a...
compute-io/log10
test/test.array.js
JavaScript
mit
1,348
match x: | it?(): true
wcjohnson/babylon-lightscript
test/fixtures/safe-call-expression/lightscript/match-test/actual.js
JavaScript
mit
25
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>circuits: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.5.0~camlp4/circuits/8.10.0.html
HTML
mit
7,038
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>zchinese: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.7.1+1/zchinese/8.9.0.html
HTML
mit
6,988