repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
ivanthescientist/ProjectManager
src/main/resources/public/js/controller/user.login.controller.js
503
(function () { "use strict"; angular.module('projectManagerSPA').controller('userLoginController', ['authenticationService', '$scope', '$state',function (authenticationService, $scope, $state) { $scope.logIn = function () { authenticationService.logIn($scope.username, $scope.password, functi...
mit
pivotalexperimental/cheques
spec/lib/cheque_formatter_spec.rb
2124
require 'spec_helper' describe ChequeFormatter do describe ".date_to_ddmmyy" do subject { ChequeFormatter.date_to_ddmmyy(date) } context "5-Nov-2011" do let(:date) { "5-Nov-2011" } it { should == '051111' } end context "2011-11-05" do let(:date) { "5-Nov-2011" } it { should ...
mit
wandernauta/Staple
Support/mkstdlibdoc.sh
180
#!/bin/bash # Distill standard library documentation from the stdops.c file. cat Interpreter/stdops.c | grep '//' | colrm 1 3 | tail -n +10 > Documentation/Standard\ Library.mkd
mit
jeff-regier/Celeste.jl
src/deterministic_vi/source_brightness.jl
10351
""" SensitiveFloat objects for expectations involving r_s and c_s. Args: vs: A vector of variational parameters Attributes: Each matrix has one row for each color and a column for star / galaxy. Row 3 is the gamma distribute baseline brightness, and all other rows are lognormal offsets. - E_l_a: A NUM_BANDS x NUM_SO...
mit
azu/faao
src/react-app-env.d.ts
150
/// <reference types="react-scripts" /> declare module "office-ui-fabric-react/lib/Modal" { const Modal: React.StatelessComponent<IModalProps>; }
mit
KeldOelykke/FailFast
Java/Web/war/releases/1.3/api/starkcoder/failfast/checks/objects/uuids/IObjectUuidSameCheck.html
9976
<!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 (version 1.7.0_45) on Mon Aug 31 23:15:49 CEST 2015 --> <title>IObjectUuidSameCheck (FailFast v.1.3)</title> <meta name="date" content="2015-08-31"> <...
mit
nyz93/advertapp
src/Reviewer.h
1380
/* * The MIT License (MIT) * * Copyright (c) 2013 Zoltán Nyikos * * 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 u...
mit
andresgonzalezfornell/TFM
lib/libisomediafile/src/MovieFragmentAtom.c
7783
/* This software module was originally developed by Apple Computer, Inc. in the course of development of MPEG-4. This software module is an implementation of a part of one or more MPEG-4 tools as specified by MPEG-4. ISO/IEC gives users of MPEG-4 free license to this software module or modifications thereof for use ...
mit
FranciscoDA/OpenApoc
forms/transactioncontrol.cpp
29041
#include "forms/transactioncontrol.h" #include "forms/graphicbutton.h" #include "forms/label.h" #include "forms/listbox.h" #include "forms/scrollbar.h" #include "forms/ui.h" #include "framework/data.h" #include "framework/framework.h" #include "framework/logger.h" #include "framework/renderer.h" #include "game/state/ci...
mit
devupc/cards
src/Upc/Cards/Bundle/CardsBundle/Controller/GroupCategoryCrudController.php
3369
<?php namespace Upc\Cards\Bundle\CardsBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use Upc\Cards\Bundle\CardsBundle\Entity\GroupCategory; use Symfony\Compo...
mit
KatharineAmaral29/ArenaSports
js/mapslackline.js
3584
var map; var infoWindow; // A variável markersData guarda a informação necessária a cada marcador // Para utilizar este código basta alterar a informação contida nesta variável var markersData = [ { lat: -3.741262, lng: -38.539389, nome: "Campus do Pici - Universidade Federal do Ceará", end...
mit
WereDouglas/epitrack
application/views/management.php
41131
<?php require_once(APPPATH . 'views/header.php'); ?> <link rel="stylesheet" href="<?= base_url(); ?>assets/css/fullcalendar.css" /> <link rel="stylesheet" href="<?= base_url(); ?>css/mine.css" /> <style> .form-horizontal .controls { margin-left: 12px; } </style> <div class="page-content"> <div cla...
mit
matryer/bitbar
xbarapp.com/node_modules/tailwindcss/lib/plugins/backgroundClip.js
550
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = _default; function _default() { return function ({ addUtilities, variants }) { addUtilities({ '.bg-clip-border': { 'background-clip': 'border-box' }, '.bg-clip-padding': { ...
mit
mtheobaldo/crm
src/CRM/templates/CRM/company_form.html
403
{% extends 'base.html' %} {% load crispy_forms_tags %} {% block title %}New Company Record{%endblock%} {% block container %} <div class="formbox" style="padding-top: 60px; padding-left: 15px;"> <form class="form" action="." method="POST"> {% csrf_token %} {{ form|crispy }} <button class="btn btn-primary">{% i...
mit
nikita-yaroshevich/df-validator
gulpfile.js
2192
var gulp = require('gulp'); var karma = require('karma').server; var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var rename = require('gulp-rename'); var path = require('path'); var plumber = require('gulp-plumber'); var runSequence = require('run-sequence'); var jshint = require('gulp-jshint'...
mit
GazmanDevelopment/docman
application/config/hooks.php
542
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | Hooks | ------------------------------------------------------------------------- | This file lets you define "hooks" to extend CI without hacking the core | files. Pl...
mit
neinteractiveliterature/intercode
app/graphql/product_mutation_helper.rb
1074
# frozen_string_literal: true module ProductMutationHelper def coerce_pricing_structure_input(input) return nil unless input value_field = case input[:pricing_strategy] when 'fixed' :fixed_value when 'scheduled_value' :scheduled_value end PricingStructure.new(pric...
mit
teichgraf/MuLaPeGASim
web/docs/OCR/OCRPreProcessing.BinarizeFilterConstructor.html
1888
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>BinarizeFilter Constructor</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSDN....
mit
matthewsot/CocoaSharp
Headers/PrivateFrameworks/SportsTrainer/STRunView.h
5667
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "UIView.h" @class NSString, NSTimer, STRunCaloriesLabel, STRunDistanceLabel, STRunPaceLabel, STRunProgressView, STRunTimeLabel, SWRunWorkoutProxy, UIButton, UIImageView,...
mit
matthewsot/CocoaSharp
Headers/Frameworks/UIKit/UIStatusBarAssistantEyesFreeStyleAttributes.h
423
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <UIKit/UIStatusBarLegacyStyleAttributes.h> // Not exported @interface UIStatusBarAssistantEyesFreeStyleAttributes : UIStatusBarLegacyStyleAttributes { } - (double)glowA...
mit
accelazh/ThreeBodyProblem
lib/jME2_0_1-Stable/src/com/jme/curve/CurveController.java
9311
/* * Copyright (c) 2003-2009 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
mit
niklas-heer/dotfiles
zsh/scripts/transfer.zsh
1469
# shellcheck disable=SC2148 # Defines transfer alias and provides easy command line file and folder sharing. # # source: https://gist.github.com/nl5887/a511f172d3fb3cd0e42d # # Authors: # Remco Verhoef <remco@dutchcoders.io> # transfer() { # check if curl is installed if ! curl --version >/dev/null 2>&1; then e...
mit
ryanyuan42/ryanyuan42.github.io
_posts/2015-12-5-building machine learning system in python.md
9738
--- layout: post title: "building machine learning system in python(0)" excerpt: "First Machine Learning" categories: articles tags: [python, machine learning] comments: true share: true --- ##Machine Learning 机器学习的目标就是通过给机器几个例子,教会机器处理任务。 ###本系列将交给你什么 这个系列是我学习building machine learning system in python的笔记和过程。它将提供一些广泛的学...
mit
ircluzar/RTC3
Real-Time Corruptor/BizHawk_RTC/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/BxROM.cs
1817
using BizHawk.Common; namespace BizHawk.Emulation.Cores.Nintendo.NES { //AKA half of mapper 034 (the other half is AVE_NINA_001 which is entirely different..) public sealed class BxROM : NES.NESBoardBase { //configuration int prg_bank_mask_32k; int chr_bank_mask_8k; //state int prg_bank_32k; int chr_b...
mit
SmartLinkCloud/IOT-platform
lib/cacheDevice.js
479
/** * Created by quanpower on 14-8-20. */ var config = require('./../config'); var redis = require('./redis'); var _ = require('lodash'); function cacheDevice(device){ if(device){ var cloned = _.clone(device); redis.set('DEVICE_' + device.uuid, JSON.stringify(cloned),function(){ //...
mit
yavalvas/yav_com
build/matplotlib/lib/matplotlib/tight_bbox.py
2604
""" This module is to support *bbox_inches* option in savefig command. """ from __future__ import (absolute_import, division, print_function, unicode_literals) import six import warnings from matplotlib.transforms import Bbox, TransformedBbox, Affine2D def adjust_bbox(fig, bbox_inches, fixe...
mit
mkdynamic/prototype
Source/MKSidebarLabel.h
1168
// Copyright (c) 2014 Mark Dodwell. // // 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, di...
mit
chipisan/blog
config.rb
1100
# Require any additional compass plugins here. require 'sass-globbing' # Set this to the root of your project when deployed: http_path = "/" css_dir = "_includes/css" sass_dir = "_includes/sass" images_dir = "assets/img" javascripts_dir = "assets/js" relative_assets = true # Compilation pour la prod : environment ...
mit
jmconde/charts
src/js/charts/horizontal.js
3156
/** * morningstar-base-charts * * Copyright © 2016 . All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import defaultClasses from "../config/classes.js"; import ChartBase from "./chartBase.js"; import { ChartU...
mit
mortenthorpe/gladturdev
vendor/wowo/wowo-newsletter-bundle/Wowo/NewsletterBundle/Newsletter/Placeholders/PlaceholderProcessor.php
3955
<?php namespace Wowo\NewsletterBundle\Newsletter\Placeholders; use Wowo\NewsletterBundle\Newsletter\Placeholders\Exception\InvalidPlaceholderMappingException; class PlaceholderProcessor implements PlaceholderProcessorInterface { protected $mapping; protected $referenceClass; protected $placeholder_delim...
mit
kklmn/xrt
examples/withShadow/04_06/04_dE_VCM_bending.py
4894
# -*- coding: utf-8 -*- r""" Bending of collimating mirror ----------------------------- Uses :mod:`shadow` backend. File: `\\examples\\withShadow\\03\\03_DCM_energy.py` Influence onto energy resolution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Pictures after monochromator, :ref:`type 2 of global normalization<globalNorm>`. ...
mit
xdn-project/digitalnote
src/P2p/P2pProtocolTypes.h
1478
// Copyright (c) 2011-2016 The Cryptonote developers // Copyright (c) 2014-2017 XDN-project developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #pragma once #include <string.h> #include <tuple> #include <boost/uuid/u...
mit
tkakisu/rails_tutorial
chapter1/config/routes.rb
1634
Rails.application.routes.draw do # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes". # You can have the root of your site routed with "root" # root 'application#hello' root 'application#goodbye' # Example of regular route...
mit
benderjs/benderjs-qunit
lib/adapter.js
2277
/** * Copyright (c) 2014-2015, CKSource - Frederico Knabben. All rights reserved. * Licensed under the terms of the MIT License (see LICENSE.md). */ ( function( QUnit, bender ) { var total = 0, failed = 0, passed = 0, ignored = 0, errors = 0, result = { success: true, errors: [] }; // prevent Q...
mit
cbas/MetaRoomMarkup
demo/metaroom-markup-standard-spec.html
8277
<!doctype html> <html> <head> <script src="../bower_components/webcomponentsjs/webcomponents.js"></script> <link rel="import" href="../dist/metaroom-markup.html"> </head> <body> <meta-verse> <meta-style> #vrcollab-poster { frame-style: solid; frame-thickness: 2; ...
mit
json-api-dotnet/JsonApiDotNetCore
test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Links/AtomicAbsoluteLinksTests.cs
5903
using System.Net; using FluentAssertions; using JsonApiDotNetCore.Resources; using JsonApiDotNetCore.Serialization.Objects; using Microsoft.Extensions.DependencyInjection; using TestBuildingBlocks; using Xunit; namespace JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.Links; public sealed class AtomicAbsolut...
mit
angular/angular-cli-stress-test
src/app/components/comp-1030/comp-1030.component.html
28
<p> comp-1030 works! </p>
mit
cygmris/cygmris.github.io
_posts/translation/2015-08-27-the_universal_second_language_why_everyone_should_learn_coding.md
7764
--- layout: post title: ! 'The Universal Second Language: Why Everyone Should Learn Coding' category: Translation tags: whycoding learn keywords: whycoding learn description: 本文翻译自在线远程教育网站sololearn,阐述了编程思想在这个时代的重要性。我们来分享这么几个理由,让你花费数分钟去思考编程与了解它是如何在工作中甚至是在你的工作之余所产生的积极影响。 --- ## The Universal Second Language: Why Everyo...
mit
johnwargo/phonegap-essentials-code
chapter04/HelloWorld/src/WebForm.cpp
5118
#include "WebForm.h" WebForm::WebForm(void) :__pWeb(null), __phonegapCommand(null) { geolocation = null; device = null; accel = null; network = null; console = null; compass = null; contacts = null; } WebForm::~WebForm(void) { } bool WebForm::Initialize() { return true; } result WebForm::OnInitializing(voi...
mit
Ianonn21/vm-utils
scripts/Get-Hash.ps1
872
# Simple powershell (built-in to Win7/8/10) utility script # to compute sha256 (or md5, sha1 or sha512) of a file # # Usage: # C:\> powershell # PS .\Get-Hash filename.ext [sha|md5|sha256|sha512] # # May require: Control Panel/System/Admin/Windows Power Shell Modules, then: Set-Executionpolicy RemoteSigned # # Based o...
mit
chengz/schema-form-uiselect
example.html
2793
<!DOCTYPE html> <html lang='en' ng-app='app'> <head> <meta charset='utf-8'> <meta content='IE=edge' http-equiv='X-UA-Compatible'> <meta content='width=device-width, initial-scale=1.0' name='viewport'> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" media="all" rel="stylesh...
mit
kirikzyusko1996/WarehouseAngular
src/app/components/email/email.component.html
6373
<div class="container"> <form [formGroup]="form" (ngSubmit)="sendEmail()"> <div class="row"> <div class="column large-2 small-2"> <label for="subject" class="right">Получатели: <small *ngIf="selectedUsers?.length == 0"><i>не выбраны</i></small> </label> </div> <div c...
mit
wtdilab/vectorectus
README.md
23
vectorectus ===========
mit
Baqend/js-sdk
lib/query/Condition.ts
13300
import { flatArgs } from './Query'; import type { Entity } from '../binding'; import type { Filter } from './Filter'; import { JsonMap } from '../util'; import type { GeoPoint } from '../GeoPoint'; /** * The Condition interface defines all existing query filters */ export interface Condition<T extends Entity> { /...
mit
go-chat-bot/bot
google-chat/chat_msg.go
1746
package googlechat import "time" // ChatMessage is message type from Pub/Sub events type ChatMessage struct { Type string `json:"type"` EventTime time.Time `json:"eventTime"` Token string `json:"token"` Message struct { Name string `json:"name"` Sender struct { Name string `json:"...
mit
wrschneider/wrschneider.github.io
_posts/2011-10-26-serialization-and-class-hierarchy.html
1041
--- layout: post title: Serialization, class hierarchy and preserving sessions date: '2011-10-26T08:39:00.000-04:00' author: Bill Schneider tags: modified_time: '2011-10-26T08:39:37.739-04:00' blogger_id: tag:blogger.com,1999:blog-9159309.post-2352121751565864812 blogger_orig_url: http://wrschneider.blogspot.com/2011/...
mit
KalenAnson/nodebootstrap
lib/hello/hello.js
903
/** * This is a "mini-app" that encapsulates router definitions. See more * at: http://expressjs.com/guide/routing.html (search for "express.Router") * */ var router = require('express').Router({ mergeParams: true }); module.exports = router; // Don't just use, but also export in case another module needs to use thes...
mit
kfrost32/AdventureAnswers
config/environments/development.rb
1673
Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web serv...
mit
AsrOneSdk/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressContainer.cs
21480
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager; using Az...
mit
gree/tesspathy
CONTRIBUTING.md
1290
# Contributing to Tesspathy We want to make contributing to this project as easy and transparent as possible. Hopefully this document makes the process for contributing clear and answers any questions you may have. If not, feel free to open an issue. ## Pull Requests We will be monitoring for pull requests. Before s...
mit
nylas/nylas-nodejs
__tests__/webhook-notification-spec.js
4538
import WebhookNotification, { LinkClick, LinkClickCount, MessageTrackingData, WebhookDelta, WebhookObjectAttributes, WebhookObjectData, } from '../src/models/webhook-notification'; import { WebhookTriggers } from '../src/models/webhook'; describe('Webhook Notification', () => { test('Should deserialize f...
mit
rwth-acis/GaMR
Frontend/GaMR/Assets/Scripts/Login/AuthorizationManager.cs
6336
using HoloToolkit.Unity; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Networking; public class AuthorizationManager : Singleton<AuthorizationManager> { [SerializeField] private string clientId = "...
mit
sehoone/seed
app/beeer/cookieDemo.html
796
<!DOCTYPE html> <html ng-app="cookieDemo"> <head> <meta charset="utf-8"> <title>ch6</title> <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css" /> <script type="text/javascript" src="../bower_components/angular/angular.min.js"></script> <script type="text/javascr...
mit
longluo/AndroidDemo
app/src/main/java/com/longluo/demo/qrcode/zxing/client/android/encode/Formatter.java
1015
/* * Copyright (C) 2011 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
mit
nicolasdespres/respect-rails
test/functional/no_schema_controller_test.rb
315
require 'test_helper' class NoSchemaControllerTest < ActionController::TestCase def test_no_schema_always_validate # We send invalid value but it validates anyway because their is no schema. get :basic, format: 'json', param1: 51 assert_response :success assert !response.has_schema? end end
mit
TrueWill/embracer
src/utils/mapUtils.test.js
1107
import deepFreeze from 'deep-freeze'; import { arrayToMap, mapKeysToArray } from './mapUtils'; describe('arrayToMap', () => { it('should create map from 2D array', () => { const a = [ ['key1', 'value1'], ['key2', 'value2'] ]; deepFreeze(a); const result = arrayToMap(a); expect(resu...
mit
zappybiby/SimShift
SimShift/SimShift/Data/Ets2DataAuxilliary.cs
797
namespace SimShift.Data { public enum Ets2DataAuxilliary : int { CruiseControl = 0, Wipers = 1, ParkBrake = 2, MotorBrake = 3, ElectricEnabled = 4, EngineEnabled = 5, BlinkerLeftActive = 6, BlinkerRightActive = 7, BlinkerLeftOn = 8,...
mit
tzpBingo/github-trending
2015/2015-12-20.md
24808
###2015-12-20 ####objective-c * <img src='https://avatars3.githubusercontent.com/u/433320?v=3&s=40' height='20' width='20'>[ yulingtianxia / TBActionSheet ](https://github.com/yulingtianxia/TBActionSheet): A Custom Action Sheet * <img src='https://avatars3.githubusercontent.com/u/7830226?...
mit
Cyberwatch/cbw-security-fixes
Red_Hat_7/x86_64/2015/RHSA-2015:1686.sh
940
#!/bin/sh # CYBERWATCH SAS - 2016 # # Security fix for RHSA-2015:1686 # # Security announcement date: 2015-08-25 06:10:14 UTC # Script generation date: 2016-05-12 18:13:16 UTC # # Operating System: Red Hat 7 # Architecture: x86_64 # # Vulnerable packages fix on version: # - python-django.noarch:1.6.11-2.el7ost # ...
mit
alefortvi/akimagejs
Demos/Modules/AkPaddingZero.html
879
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>Akimages</title> </head> <body bgcolor="#CCCCCC"> <p></p> <p>Original</p> <img src="../../images/lenna256.jpg"/> <div id = "porID" style="relative; top:100px; left:100px;"> <canvas id="canvas...
mit
OrifInformatique/ci_tuto
application/views/pages/home.php
51
<h2>This is my home page</h2> <p>some text here</p>
mit
thekant/myCodeRepo
src/com/kant/datastructure/queues/GenerateBinaryNumbers1toN.java
1022
/** * */ package com.kant.datastructure.queues; import com.kant.sortingnsearching.MyUtil; /** * @author shaskant * */ public class GenerateBinaryNumbers1toN { /** * * @param n * @return * @throws OverFlowException * @throws UnderFlowException */ public String[] solve(int n) throws OverFlowExcept...
mit
Emunt/contest_problems
Java/PC2/Solutions/TrickTreat/balance.cpp
1320
// Binary-search solution for balance. // O(n * log (max coordinate / epsilon)) // David Garcia Soriano. #include <algorithm> #include <cstdio> #include <cmath> using namespace std; const int maxn = 50000; const double eps = 1e-11, infinity = 1e300; double px[maxn], py[maxn]; int n; bool possible(double d, double& p...
mit
xu3352/xu3352.github.io
_posts/2017-12-27-install-phpmyadmin-with-docker.md
2010
--- layout: post title: "Docker安装Mysql管理工具Phpmyadmin" tagline: "" description: "MySQL 和 MariaDB 的Web管理工具, 浏览器可以代替客户端了, 基本操作都够用了" date: '2017-12-27 13:09:08 +0800' category: docker tags: docker phpmyadmin mysql linux --- > {{ page.description }} # 拉取镜像 ```bash # 搜索镜像 $ docker search phpmyadmin NAME ...
mit
msimonin/vagrant-g5k
lib/vagrant-g5k/network/nat.rb
1523
require 'log4r' module VagrantPlugins module G5K module Network class Nat def initialize(env, driver, oar_driver) @logger = Log4r::Logger.new("vagrant::network::nat") # command driver is unused @env = env @driver = driver @oar_driver = oar_driver ...
mit
AlexKovalevych/gitlab-api
src/Clients/DeployKeyClient.php
1173
<?php namespace Gitlab\Clients; class DeployKeyClient extends AbstractClient { /** * @param int $projectId * @return \Psr\Http\Message\ResponseInterface */ public function listDeployKeys($projectId) { return $this->getRequest(sprintf('projects/%u/keys', $projectId)); } ...
mit
ONSdigital/ras-frontstage
frontstage/templates/account/account-email-change-confirm-link-expired.html
565
{% extends "layouts/_block_content.html" %} {% set page_title = "Account email change link expired " %} {% block main %} <h1 class="u-fs-xl">Your verification link has expired</h1> <div> <p> You will need to sign back into your account and <a href="{{ url_for('account_bp.resend_account_email_change_expi...
mit
compsoc-ssc/compsocssc
general/models.py
2517
from django.db import models import warnings from django.utils import timezone import requests from image_cropping import ImageRatioField class CompMember(models.Model): """A member of compsoc""" class Meta: verbose_name = 'CompSoc Member' verbose_name_plural = 'CompSoc Members' index = ...
mit
TimeWz667/Kamanian
example/OOP/O2.4 SS, Single agent model.py
446
import complexism as cx import complexism.agentbased.statespace as ss import epidag as dag dbp = cx.read_dbp_script(cx.load_txt('../scripts/SIR_BN.txt')) pc = dag.quick_build_parameter_core(cx.load_txt('../scripts/pSIR.txt')) dc = dbp.generate_model('M1', **pc.get_samplers()) ag = ss.StSpAgent('Helen', dc['Sus'], pc...
mit
vaquerizaslab/tadtool
tadtool/plot.py
28848
from __future__ import division, print_function from abc import ABCMeta, abstractmethod import matplotlib as mpl mpl.use('TkAgg') from matplotlib.ticker import MaxNLocator, Formatter, Locator from matplotlib.widgets import Slider, Button import matplotlib.patches as patches import matplotlib.pyplot as plt from matplotl...
mit
mikosz/dormouse-engine
src/foundation/essentials/src/test/c++/dormouse-engine/essentials/Formatter.cpp
3664
#define BOOST_TEST_NO_LIB #include <boost/test/auto_unit_test.hpp> #include "dormouse-engine/essentials/Formatter.hpp" using namespace dormouse_engine::essentials; namespace { BOOST_AUTO_TEST_SUITE(FormatterTestSuite); BOOST_AUTO_TEST_CASE(FormatsEmptyString) { std::string s; Formatter f(Formatter::FormatterChar...
mit
mrrsm/Blesta-Namesilo
apis/commands/domains_dns.php
2513
<?php /** * Namesilo DNS Management * * @copyright Copyright (c) 2013, Phillips Data, Inc. * @license http://opensource.org/licenses/mit-license.php MIT License * @package namesilo.commands */ class NamesiloDomainsDns { /** * @var NamesiloApi */ private $api; /** * Sets the API to use for communicati...
mit
PioneerCode/pioneer-blog
src/Pioneer.Blog/Models/Contact.cs
159
namespace Pioneer.Blog.Models { public class Contact { public int ContactId { get; set; } public string Email { get; set; } } }
mit
baomidou/hibernate-plus
hibernate-plus/src/test/java/com/baomidou/hibernateplus/spring/vo/Vdemo.java
1066
package com.baomidou.hibernateplus.spring.vo; import java.io.Serializable; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import com.baomidou.hibernateplus.entity.Convert; /** * <p> * Vdemo * </p> * * @author Caratacus * @date 2016-12-2 */ publi...
mit
reisub-de/dmpr-simulator
dmprsim/analyze/profile_core.py
432
import cProfile from pathlib import Path def main(args, results_dir: Path, scenario_dir: Path): try: scenario_dir.mkdir(parents=True) except FileExistsError: pass cProfile.runctx( 'from dmprsim.scenarios.python_profile import main;' 'main(args, results_dir, scenario_dir)', ...
mit
mrjfalk/Trafikverket.NET
src/Trafikverket.NET/Responses/DataModels/TrainAnnouncement.cs
5935
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace Trafikverket.NET { /// <summary> /// Timetable information, represents a single train at a location /// </summary> public class TrainAnnouncement { /// <summary> /// Get ObjectType...
mit
cyberflow/cyberflow.github.com
2012/12/redmine-2-admin-password-reset.html
8748
<!DOCTYPE html> <html lang="ru" > <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"> <link rel="shortcut icon" href="/static/img/favicon.ico" /> <title>Redmine 2.x...
mit
TeamTorchBear/Guzzlesaurus
Assets/Scripts/Barn/Pasteurizer.cs
872
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Pasteurizer : Clickable { [SerializeField] private Transform positionMark; private Vector3 initial; [SerializeField] private GameObject milkObject; public override void OnStart() { base.OnSt...
mit
terion-name/package-installer
src/Terion/PackageInstaller/ConfigUpdater.php
10543
<?php namespace Terion\PackageInstaller; use Illuminate\Filesystem\Filesystem; use Illuminate\Foundation\Application; use Symfony\Component\Finder\Finder; /** * Class ConfigUpdater * * @package Terion\PackageInstaller * @author Volodymyr Kornilov <mail@terion.name> * @license MIT http://opensource.org/licens...
mit
Jam3/hihat
lib/prelude/node-console.js
39
require('./node') require('./console')
mit
rwaldron/mraa
examples/javascript/example.js
1305
/* * Author: Brendan Le Foll <brendan.le.foll@intel.com> * Copyright (c) 2014 Intel Corporation. * * 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...
mit
brunonm/emvista
src/EmVista/EmVistaBundle/Resources/views/Submissao/termosUso.html.php
920
<?php $view->extend('EmVistaBundle::base.html.php'); ?> <?php $view['slots']->start('body') ?> <div class="container"> <form method="post" action="<?php echo $view['router']->generate('submissao_iniciar') ?>"> <div class="row"> <div class="col-sm-12"> <h3>Termos de uso</h3> ...
mit
erwindevreugd/PSDataConduIT
PSDataConduIT/Public/Get-ReaderMode.ps1
2699
<# .SYNOPSIS Gets reader mode. .DESCRIPTION Gets the reader mode for all readers or the reader mode for a single reader if a panel id and reader id is specified. If the result returns null, try the parameter "-Verbose" to get more details. .EXAMPLE Get-ReaderMode .LINK https://gi...
mit
ammario/fastpass
cmd/fp/cmd_get.go
599
package main import ( "flag" "fmt" "github.com/ammario/fastpass" ) func cmdGet(fp *fastpass.FastPass) { search := flag.Arg(0) if len(flag.Args()) != 1 { usage() } results := fp.Entries.SortByName() if search != "" { results = fp.Entries.SortByBestMatch(search) } if len(results) == 0 { fail("no r...
mit
vault/bugit
viewer/views.py
3804
from django.http import HttpResponse from django.core.servers.basehttp import FileWrapper from django.contrib.auth.models import User from django.shortcuts import render_to_response, redirect, get_object_or_404 from requests import get from urllib import urlretrieve from common.models import Repository from common.ut...
mit
MarcinMilewski/sqap
sqap-ui/src/main/frontend/app/about/about.component.ts
311
import {Component, OnInit} from '@angular/core'; @Component({ selector: 'sqap-about', templateUrl: './about.component.html', styleUrls: ['./about.component.scss'] }) export class AboutComponent implements OnInit { constructor() { } ngOnInit() { console.log('hello `About` component'); } }
mit
le51/foundation
app/library/Phalcon/Error/Error.php
2269
<?php /* +------------------------------------------------------------------------+ | Phalcon Framework | +------------------------------------------------------------------------+ | Copyright (c) 2011-2012 Phalcon Team (http://www.phalconphp.com) | +...
mit
ireapps/census
tools/sql/ire_export/ire_PCT19H.sql
1073
-- PCT19H. NONRELATIVES BY HOUSEHOLD TYPE (HISPANIC OR LATINO) -- designed to work with the IRE Census bulk data exports -- see http://census.ire.org/data/bulkdata.html CREATE TABLE ire_pct19h ( geoid VARCHAR(11) NOT NULL, sumlev VARCHAR(3) NOT NULL, state VARCHAR(2) NOT NULL, county VARCHAR(3), cbsa VARCHAR(5...
mit
vazco/uniforms
packages/uniforms-semantic/src/ListAddField.tsx
1438
import classnames from 'classnames'; import cloneDeep from 'lodash/cloneDeep'; import React from 'react'; import { HTMLFieldProps, connectField, filterDOMProps, joinName, useField, } from 'uniforms'; export type ListAddFieldProps = HTMLFieldProps< unknown, HTMLSpanElement, { initialCount?: number } >; ...
mit
StarcounterSamples/People
src/People/wwwroot/sys/vaadin-material-styles/mixins/required-field.html
1228
<link rel="import" href="../color.html"> <dom-module id="material-required-field"> <template> <style> [part="label"] { display: block; position: absolute; top: 8px; font-size: 1em; line-height: 1; height: 20px; margin-bottom: -4px; white-space...
mit
theappendix/theappendix-jekyll-source
_posts/issue-1-3/2013-09-03-schmidt-nancy.html
22889
--- layout: article title: “Nancy Grows Up,” the Media Age, and the Historian’s Craft authors: - schmidt-michael excerpt: > Historians have mostly relied on the printed page to communicate their work. But what about sound? Michael Schmidt looks to the alternate aural history of the twentieth century and unearths be...
mit
trimox/angular-mdc-web
tools/tslint-rules/noUndecoratedClassWithNgFieldsRule.ts
2257
import * as Lint from 'tslint'; import * as ts from 'typescript'; const RULE_FAILURE = `Undecorated class defines fields with Angular decorators. Undecorated ` + `classes with Angular fields cannot be extended in Ivy since no definition is generated. ` + `Add a "@Directive" decorator to fix this.`; /** * Rule th...
mit
ooyunjee/fingoCarousel
fingo.carousel.js
13831
/*! fingoCarousel.js © heoyunjee, 2016 */ function(global, $){ 'use strict'; /** * width: carousel width * height: carousel height * margin: tabpanel margin * count: how many tabpanels will move when you click button * col: how many columns in carousel mask * row: how many rows in carousel mask ...
mit
forhappy/LLDB
src/server/cqi_pool.c
4584
/* * ============================================================================= * * Filename: cqi_pool.c * * Description: connection queue item pool. * * Created: 10/18/2012 07:56:53 PM * * Author: Fu Haiping (forhappy), haipingf@gmail.com * Company: ICT ( Institute Of C...
mit
poupouxios/custom-light-mvc
db/seed-data/BaseSeedData.php
403
<?php use \SeedDataInterface as SeedDataInterface; abstract class BaseSeedData implements SeedDataInterface{ public function markMigration(){ $data = []; $data['class_name'] = get_called_class(); $seedMigration = SeedMigrationModel::createObject($data,SeedMigrationModel::$attributes); ...
mit
mrpapercut/wscript
testfiles/COMobjects/JSclasses/UPnP.SOAPRequest.js
569
class upnp_soaprequest { constructor() { } // System.Runtime.Remoting.ObjRef CreateObjRef(type requestedType) CreateObjRef() { } // bool Equals(System.Object obj) Equals() { } // int GetHashCode() GetHashCode() { } // System.Object GetLifetimeService() GetLifet...
mit
karankohli13/sendgrid-scheduler
messages/messages.js
375
module.exports = { schedule_inputError: "Not all required inputs are present in the request", reminder_newscheduleSuccess: "A new mail has been successfully saved and scheduled", schedule_ShdlError: "The scheduleAt should be a timestamp (like : 1411820580000) and should be in the future", gbl_oops: "Oop...
mit
rsmeral/semnet
SemNet/src/xsmeral/semnet/sink/RdbmsStoreFactory.java
1465
package xsmeral.semnet.sink; import java.util.Properties; import org.openrdf.repository.Repository; import org.openrdf.repository.RepositoryException; import org.openrdf.repository.sail.SailRepository; import org.openrdf.sail.rdbms.RdbmsStore; /** * Factory of {@link RdbmsStore} repositories. * <br /> * Takes para...
mit
lyzardiar/BWEngine
frameworks/base/component/Transform.h
1331
#pragma once #include "base/Ref.h" #include "math/vec3.h" #include "math/mat4.h" #include "math/quat.h" #include "base/component/BaseComponent.h" #include "base/Vector.h" class Transform : public BaseComponent { public: Transform(GameObject* owner = nullptr); virtual ~Transform(); public: virtual vo...
mit
renzopalmieri/demomercaderia
spring-boot-2/src/main/java/com/test/SERVICE/MercaderiaService.java
1116
package com.test.SERVICE; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.test.DAO.IMercaderiaDAO; import com.test.BEAN.Mercaderia; @Service public class MercaderiaService implements IMercaderiaService...
mit