repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
VitorDiToro/EC206-EngenhariaDeSoftware2
SIF_CONSOLE/View/TelaPrincipal.cpp
65
#include "TelaPrincipal.h" TelaPrincipal::TelaPrincipal() { }
mit
ty666/laravel-theme
src/ThemeManager.php
2906
<?php namespace Ty666\LaravelTheme; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Facades\View; use Ty666\LaravelTheme\Exception\ThemeNotFound; class ThemeManager { protected $config; protected $files; protected $activeTheme; protected $activeThemeConfig = null; protected $isUseTheme ...
mit
GoC-Spending/data-corporations
html/234567113659.html
33185
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open...
mit
mostley/lightnet
startserver.sh
33
echo "Starting Lightnet Server"
mit
earaujoassis/watchman
web/components/Configuration/style.css
103
.configuration-root { flex: 1; padding: 20px; } .configuration-section { margin-bottom: 40px; }
mit
BioDAG/odysseys
BlastBenchmark/src/blastbenchmark/Lock.java
617
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package blastbenchmark; /** * * @author thanos */ public class Lock { private boolean isLocked = false; public synchron...
mit
antpost/antpost-client
node_modules/@progress/kendo-angular-intl/locales/pt-CH/all.js
93114
import { setData } from '@progress/kendo-angular-intl'; setData({ name: "pt-CH", identity: { language: "pt", territory: "CH" }, territory: "CH", numbers: { symbols: { decimal: ",", group: " ", list: ";", percentSign: "%", ...
mit
iOS-mamu/SS
P/Library/ShadowPath/ShadowPath/libmaxminddb/README.md
4195
# About The libmaxminddb library provides a C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind. This is a custom binary format designed to facilitate fast lookups of IP addresses while allowing for great flexibility in the type of data associated with an address. The MaxMind DB format...
mit
ayafi/ayafi.github.io
_includes/footer.html
2694
{% if site.owner.google.ad-client and site.owner.google.ad-slot %}{% include ad-footer.html %}{% endif %} <span>&copy; {{ site.time | date: '%Y' }} {{ site.title }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="https://mademistakes.com/work/so-simple-jekyll-theme/" rel="nofollo...
mit
plugadoeep/plugado
src/test/java/br/edu/fumep/entity/GrupoEstudoTests.java
1921
package br.edu.fumep.entity; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; /** * Created by arabasso on 09/05/2017. */ public class GrupoEstudoTests { private GrupoEstudo gru...
mit
jordivila/Net_MVC_NLayer_Result
VsixMvcAppResult/VsixMvcAppResult.UI.Web/Areas/UserAdministration/Models/DetailsViewModel.cs
1727
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Web.Mvc; using VsixMvcAppResult.Models; using VsixMvcAppResult.Models.Common; using VsixMvcAppResult.Models.Membership; using VsixMvcAppResult.UI.Web.Controllers; using VsixMvcAppResult.UI.Web.Models; namespace VsixM...
mit
landonepps/vscode
src/vs/workbench/parts/tasks/node/taskConfiguration.ts
67393
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
mit
antoniohps/probmodels
include/base/symbolic_property.hpp
844
//Symbolic Property #ifndef _PROBMODELS_BASE_SYMBOLIC_PROPERTY_HPP_ #define _PROBMODELS_BASE_SYMBOLIC_PROPERTY_HPP_ #include <array> #include "boost/pending/property.hpp" namespace probmodels { namespace base { //Property must be copyable, assignable and copy constructable template <std::size_t Len, typename Proper...
mit
angular/angular-cli-stress-test
src/app/components/comp-1546/comp-1546.component.spec.ts
847
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp1546Component } from './comp...
mit
okki23/asdp
application/modules/pegawai/controllers/Pegawai.php
8952
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Pegawai extends CI_Controller { /* @author : Okki Setyawan &copy 2016 */ //ini method yang pertama kali di jalankan oleh codeginiter,semua pemanggilan ada disini termasuk hak akses public function __construct(){ parent ::__construct(); ...
mit
aliv59git/C-1N_HomeAndExam
CSharp1_Home2/4.UnicodeCharacter/Properties/AssemblyInfo.cs
1412
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("4....
mit
Kation/ComBoost
src/samples/Wodsoft.ComBoost.Forum/Controllers/HomeController.cs
1001
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.ChangeTracking.In...
mit
WISVCH/payments
src/main/resources/templates/mail/wisvch.html
18498
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="view...
mit
CS2103JAN2017-W14-B4/main
src/main/java/seedu/ezdo/logic/parser/CommandParser.java
236
package seedu.ezdo.logic.parser; import seedu.ezdo.logic.commands.Command; /** * An interface for the command parsers in ezDo. */ public interface CommandParser { /** Parses the given string */ Command parse(String args); }
mit
SolidEdgeCommunity/docs
docfx_project/apidoc/SolidEdgeFrameworkSupport.FeatureControlFrameDataSet.md
449
--- uid: SolidEdgeFrameworkSupport.FeatureControlFrameDataSet summary: remarks: Each of these collections of settings is a data set. By adding a data set to the FeatureControlFrameDataSets collection object, those settings are available to the FeatureControlFrames collection object as a DataSet property selection. Th...
mit
psychoticmeow/journey-cms
packages/system/lib/Database/Connection.php
6723
<?php namespace Embark\CMS\Database; use Exception; use Profiler; use PDO; class Connection { const UPDATE_ON_DUPLICATE = 1; protected $log; protected $conf; protected $queryCaching; protected $lastException; protected $lastQuery; protected $string; public function __construct($conf...
mit
pinecrew/golos
src/math.hpp
271
#pragma once #include <cmath> // windows MinGW fix #ifdef __MINGW32__ #ifndef M_PI const double M_PI = 3.14159265358979323846264338327950288; #endif #endif const double M_2PI = M_PI * 2.0; inline float _fmod( float x, float y ) { return fmod( fmod( x, y ) + y, y ); }
mit
cripplet/practice
codeforces/492/attempt/b_lanterns.py
897
import fileinput def str_to_int(s): return([ int(x) for x in s.split() ]) # args = [ 'line 1', 'line 2', ... ] def proc_input(args): (n, l) = str_to_int(args[0]) a = tuple(str_to_int(args[1])) return(l, a) def solve(args, verbose=False): (l, a) = proc_input(args) list_a = list(a) list_a.sort() max_dist = max...
mit
mathiasbynens/otclient
src/framework/core/binarytree.h
2529
/* * Copyright (c) 2010-2014 OTClient <https://github.com/edubart/otclient> * * 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...
mit
robzenn92/EpTODocker
cyclon_project/README.md
1778
# Cyclon Cyclon [1] is a complete framework for inexpensive membership management in very large P2P overlays. It an improvement of the basic shuffling protocol developed by Stavrou et al. [2]. It is highly scalable, very robust, and completely decentralized. Most important is that the resulting communication graphs sh...
mit
RobStrader/Robs-Arcade
js/checkers/util/GameBoardUtil.js
5153
define(function(require) { var Checker = require("checkers/controller/Checker"), GameBoard = require("checkers/controller/GameBoard"), GameSpace = require("checkers/controller/GameSpace"); var instance = null; function GameBoardUtil() { } var getInstance = function...
mit
dsbenghe/Novell.Directory.Ldap.NETStandard
src/Novell.Directory.Ldap.NETStandard/Sasl/SaslDigestMd5Request.cs
550
namespace Novell.Directory.Ldap.Sasl { public class SaslDigestMd5Request : SaslRequest { public string Host { get; } public SaslDigestMd5Request() : base(SaslConstants.Mechanism.DigestMd5) { } public SaslDigestMd5Request(string username, string password, st...
mit
DrGr4f1x/Kodiak
Engine/Source/DescriptorHeap12.h
2734
// This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. // // Adapted from DescriptorHeap.h in Microsoft's Miniengi...
mit
fredrikolovsson/redux-module-local-storage
src/middleware.test.js
1262
import { LOCAL_STORAGE_REMOVE_ITEM, LOCAL_STORAGE_SET_ITEM } from './actionTypes' import createMiddleware from './middleware' describe('middleware', () => { let removeItem let setItem let middleware let next let store beforeEach(() => { removeItem = jest.fn() setItem = jest.fn() middleware = c...
mit
gzc/gitstats
changelog.md
273
## V 0.1.0-alpha 06/10/2017 1. Basic info per user, like commit numbers and lines of changes. 2. Provide Lines of Code vs. time image. ## V 1.0.0-alpha 07/01/2017 1. Using template html 2. Support file by extension ## V 1.0.1-alpha 07/02/2017 1. Support ranking by month
mit
stepancheg/rust-protobuf
protobuf/src/rustproto.rs
18154
// This file is generated by rust-protobuf 3.0.0-alpha.8. Do not edit // .proto file is parsed by protoc --rust-out=... // @generated // https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] #![allow(box_p...
mit
USStateDept/thecurrent
bll/persistables/simplePersistables/THOR_ACCESSGROUPTYPES_DataBoundSimplePersistable.class.php
709
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * Description of THOR_ACCESSGROUPTYPES_DataBoundSimplePersistable * * @author KottkeDP */ class THOR_ACCESSGROUPTYPES_DataBoundSimplePersistable extends THOR_DataBoundSimplePersistable{ ...
mit
ttdoda/MyFleetGirls
server/app/views/user/modal_fleet.scala.html
3888
@(decks: Seq[ShipWithName], deckport: DeckPort, user: User) @import models.join.ShipParameter.Rate <input type="hidden" data-id="@deckport.id" class="fleet_data" /> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <div style="float: right; ma...
mit
Sebazzz/NetUnitTestComparison
src/BankAccountApp.XUnitTests.Integration/Properties/AssemblyInfo.cs
371
using Xunit; using XUnit.Extensions.TestOrdering; [assembly: TestCaseOrderer(DependencyTestCaseOrderer.Name, DependencyTestCaseOrderer.Assembly)] [assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true)] [assembly: TestCollectionOrderer(DependencyTestCollectionOrderer...
mit
joshuaclayton/watchtower
test/models/watched_exception_test.rb
1816
require 'test_helper' class WatchedExceptionTest < ActiveSupport::TestCase should_have_named_scope :recent, :limit => 5 should_have_named_scope "recent(20)", :limit => 20 should_have_default_scope :order => "#{WatchedException.quoted_table_name}.created_at DESC" context "A watched exception instance" do ...
mit
mawi12345/frostlog
src/Mawi/Bundle/FrostlogBundle/Controller/FrontController.php
2772
<?php namespace Mawi\Bundle\FrostlogBundle\Controller; use Symfony\Component\Security\Core\SecurityContext; use Symfony\Component\HttpFoundation\Response; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Confi...
mit
garasuresh/practice2.6
src/AppBundle/Form/SymptomType.php
905
<?php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class SymptomType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options */ ...
mit
mtranter/IdentityServer4.Mock
README.md
68
# IdentityServer4.Mock Mock Identity Server for Integration testing
mit
josharian/pebble
qr/README.md
144
### qr The world's most useful watch face. Want to know what time it is? Just scan your watch with your phone! ![qr watch face photo](qr.jpg)
mit
makandra/serum-rails
spec/test_apps/rails-2-3/app/helpers/application_helper.rb
5460
# Methods added to this helper will be available to all templates in the application. # origin: RM module ApplicationHelper def icon(icon, label) content_tag(:span, label, :class => "#{icon}_icon") end def page_head(options = {}) html = ''.html_safe html << content_tag(:h1, options[:title]) if opt...
mit
colby/colbyolson.com
posts/climbing.md
2142
# [Climbing](/climbing) These are miscellaneous notes I've taken while reading climbing related books. Books: * [The Rock Warrior's Way](http://a.co/0p1O8rP) * [Self-Coached Climber](http://a.co/3FFbnTp) * [Training for Climbing](http://a.co/eTcKh2Y) * [9 Out of 10 Climbers Make the Same Mistakes](http://a.co/d3rWH5...
mit
Cbeck527/365
src/_posts/2016-09-20-117.md
127
--- layout: post title: "117" date: 2016-09-20 image: "117.jpg" location: "Times Square, NYC" --- 100% Brightness
mit
Efruit/marqit
market/market.go
1270
package market import ( "github.com/Efruit/marqit/exchange" "github.com/Efruit/marqit/managers" "github.com/nu7hatch/gouuid" "time" ) type Exchange interface { manager.Bank manager.Broker manager.Ticker exchange.Dealership exchange.Auctioner Init() // Perform initial set...
mit
UIUXEngineering/ix-material
libs/fn/src/lib/_common/_baseIsNative.ts
1398
import { isFunction } from './isFunction'; /** * Used to match `RegExp` * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). */ import { isObject } from './isObject'; import { isMasked } from './_isMasked'; import { toSource } from './_toSource'; const reRegExpChar = /[\\^$.*+?()[\]{}|]...
mit
rahul121290/php
wp-content/plugins/portfolio-gallery/assets/js/view-full-height.js
6558
jQuery.each(param_obj, function (index, value) { if (!isNaN(value)) { param_obj[index] = parseInt(value); } }); function Portfolio_Gallery_Full_Height(id) { var _this = this; _this.container = jQuery('#' + id + '.view-full-height'); _this.hasLoading = _this.container.data("show-loa...
mit
TurtleRockStudios/renderdoc_public
renderdoc/os/posix/posix_libentry.cpp
2988
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2016-2019 Baldur Karlsson * * 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...
mit
uktrade/directory-ui-supplier
README.md
3828
# directory-ui-supplier [Find a Supplier](https://www.great.gov.uk/trade/) [![code-climate-image]][code-climate] [![circle-ci-image]][circle-ci] [![codecov-image]][codecov] [![gitflow-image]][gitflow] [![calver-image]][calver] --- ## Development ### Installing $ git clone https://github.com/uktrade/directory-u...
mit
schilduil/suapp
suapp/jandw.py
11304
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Copyright (C), 2013, The Schilduil Team. All rights reserved. """ import sys import pony.orm import suapp.orm from suapp.logdecorator import loguse, logging __all__ = ["Wooster", "Drone", "Jeeves"] class FlowException(Exception): pass class ApplicationClos...
mit
davidtimovski/my-routine
MyRoutine.Web/Areas/Admin/Controllers/UsersController.cs
4329
using MyRoutine.Service; using MyRoutine.Service.Interfaces; using MyRoutine.Web.Areas.Admin.ViewModels.Users; using MyRoutine.Web.Controllers; using MyRoutine.Web.Helpers; using MyRoutine.Web.ViewModels; using System.Linq; using System.Web.Mvc; using WebMatrix.WebData; namespace MyRoutine.Web.Areas.Admin.Controllers...
mit
eslavov11/Doctor-Appointment-Booking-System
src/main/java/com/doctorAppointmentBookingSystem/repository/RoleRepository.java
393
package com.doctorAppointmentBookingSystem.repository; import com.doctorAppointmentBookingSystem.entity.Role; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; /** * Created by Edi on 16-Apr-17. */ @Repository public interface RoleRepository extends JpaR...
mit
kashif/chainer
chainer/functions/connection/bilinear.py
6625
import numpy from chainer import cuda from chainer import function from chainer.utils import array from chainer.utils import type_check class BilinearFunction(function.Function): def check_type_forward(self, in_types): n_in = type_check.eval(in_types.size()) if n_in != 3 and n_in != 6: ...
mit
andeemarks/conf-gen-div-react
components/Callouts/Callouts.js
2762
import s from './Callouts.css'; import React, { PropTypes } from 'react'; import numbro from 'numbro'; function diversityAtParityOrGreater(conf) { return conf.diversityPercentage >= 50; } function confFromCurrentYear(conf) { return conf.year == (new Date()).getFullYear(); } function diversityAccumulator(accumula...
mit
ForbesLindesay/work-token
README.md
4685
# work-token Simple proof of work generation and verification library based on [hashcachgen](https://github.com/carlos8f/node-hashcashgen). It works on node.js and in web browsers. The idea is that this can be used as an alternative to throttling on a web API. Instead of throttling, you give each client a challenge...
mit
ghub/bin
vm_make.sh
111
#!/bin/sh -e prj_make=$( pwd )/.git/prj_make bin_make=$( which make.sh ) schroot.sh $prj_make $bin_make "$@"
mit
user-tony/photon-rails
lib/assets/images/photon/plugins/elrte/css/css_compiled/js/bootstrap/images/photon/js/plugins/jquery.flot.js.html
14232
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Login Page - Photon Admin Panel Theme</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <link rel="shortcut icon" href="http://photonui.orangehilldev.com/images/photo...
mit
graingert/sqlalchemy
test/dialect/mysql/test_dialect.py
14932
# coding: utf-8 import datetime from sqlalchemy import bindparam from sqlalchemy import Column from sqlalchemy import DateTime from sqlalchemy import func from sqlalchemy import Integer from sqlalchemy import MetaData from sqlalchemy import Table from sqlalchemy import testing from sqlalchemy.dialects import mysql fr...
mit
matrharr/first_aid
bower_components/simpler-sidebar/dist/jquery.simpler-sidebar.js
4289
/*! simpler-sidebar v1.4.9 (https://github.com/dcdeiv/simpler-sidebar) ** Copyright (c) 2015 - 2016 Davide Di Criscito ** Dual licensed under MIT and GPL-2.0 */ ( function( $ ) { $.fn.simplerSidebar = function( options ) { var cfg = $.extend( true, $.fn.simplerSidebar.settings, options ); return this.each( function...
mit
niwaniwa/WhiteEggCore
src/main/java/com/github/niwaniwa/we/core/player/EggPlayer.java
3854
package com.github.niwaniwa.we.core.player; import com.github.niwaniwa.we.core.api.callback.Callback; import com.github.niwaniwa.we.core.twitter.TwitterManager; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; import or...
mit
Elecs-Mods/RFTools
src/main/java/mcjty/rftools/blocks/dimlets/GuiDimletScrambler.java
2975
package mcjty.rftools.blocks.dimlets; import mcjty.lib.container.GenericGuiContainer; import mcjty.lib.gui.Window; import mcjty.lib.gui.layout.PositionalLayout; import mcjty.lib.gui.widgets.EnergyBar; import mcjty.lib.gui.widgets.ImageLabel; import mcjty.lib.gui.widgets.Panel; import mcjty.lib.gui.widgets.Widget; impo...
mit
cbaconnier/symfony-spotify
README.md
582
Symfony - Spotify (Academic Work) ======================== ## Application demo Display playlists, followed artists, albums and tracks Use the Spotify credentials with token regeneration ### Installation ```bash $ composer install $ bower install $ npm install $ gulp ``` insert your privates spotify keys in : ``` a...
mit
bholben/GitHub
app/scripts/main.js
760
// Fill in topbar details. $('header .right').append(Handlebars.templates.userTopbar(user)); // Fill in sidebar details. user.created_at = moment(user.created_at).format('MMM DD, YYYY'); var userStars = {user: user, stars: stars}; $('aside').prepend(Handlebars.templates.userSidebar(userStars)); // Populate the organ...
mit
ericN93/Anas-Mvc-Project
app/content/home_me.md
1890
Här kommer snart min egen fina me-sida. = Hallå där! Jag heter Eric Nilsson född 11 december 1993, dvs att jag snart fyller 22. Jag är born and raised i Åhus och studerar för tillfället Webbprogrammering på bth. Det roliga är att jag aldrig har haft ett direkt intresse för programmering samt datorer, efter att jag läs...
mit
mumblepins/pathed
inc/error.h
1449
//---------------------------------------------------------------------------- // error.h // // error reporting for pathed // // Copyright (C) 2011 Neil Butterworth //---------------------------------------------------------------------------- #ifndef INC_PATHED_ERROR_H #define INC_PATHED_ERROR_H #include ...
mit
QInfoDev/YPS
application/models/modelPersona.php
1574
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class ModelPersona extends YPS_Model { CONST OBJETO = 'modelPersona'; CONST PK = 'idPersona'; CONST TABLA = 'personas'; private $idPersona; private $sufijo_nombre; private $prefijo_nombre; pri...
mit
uddhab/swish-e
swish-e-2.4.7/src/win32/fixperl.pl
3234
use File::Find; use File::Basename; use Win32::TieRegistry 0.20 ( KEY_READ ); # Gloabal registry access options my $registry_options = { Delimiter => '/', Access => KEY_READ(), }; # First, let's get location of ActivePerl my $active_key = "LMachine/Software/ActiveState/ActivePerl"; my $perl_binary = get_pe...
mit
holandes22/kube-admin
app/mirage/factories/fakers.js
3027
import { faker } from 'ember-cli-mirage'; import lodash from 'npm:lodash'; export const CONTAINER_MEMORY = 8023089152; export function getPorts(isContainer=false) { let ports = []; for (let j = 1; j <= faker.random.number({ max: 3 }); j++) { let obj = { name: faker.hacker.noun(), protocol: 'TCP', ...
mit
mklew/MEUM
doc/ppdata_unit50/pploglosstable_05D_noiselessall.tex
516
\begin{tabular}{c|llllll} & \multicolumn{6}{|c}{\textbf{\textit{f}\raisebox{-0.35ex}{1}--\textit{f}\raisebox{-0.35ex}{24} in 5-D}, maxFE/D=112}\\ \#FEs/D & best & 10\% & 25\% & \textbf{med} & 75\% & 90\%\\ 2 & ~\,0.61 & ~\,0.82 & \hspace*{1ex}1.2 & \hspace*{1ex}2.2 & \hspace*{1ex}4.7 & 10\\ 10 & ~\,0.72 & \hspace*{1ex...
mit
djsedulous/namecoind
libs/boost_1_50_0/doc/html/boost/proto/external_transforms.html
12264
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template external_transforms</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../index.ht...
mit
dlister/ruby_hashcat
lib/ruby_hashcat/routes/settings.rb
480
module RubyHashcat class API < Sinatra::Application get '/location.json' do content_type :json if settings.debug pp params end {:location => settings.ocl_location}.to_json end get '/rules.json' do content_type :json if settings.debug pp params ...
mit
SvetozarMateev/Programming-Fundamentals
ObjectsAndClassesExercises/07.AndreyAndBilliard/Properties/AssemblyInfo.cs
1416
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("07...
mit
Arodang/Moroja
app/shared/partials/footer/directives/footerDirective.js
214
module.exports = function () { return { templateUrl : './shared/partials/footer/directives/footer.html', controller: require('./footerCtrl'), restrict: 'E', scope: {} }; };
mit
Rubemlrm/lavue
resources/views/layouts/no-auth.blade.php
652
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta content="IE=edge" http-equiv="X-UA-Compatible"> <meta content="width=device-width, initial-scale=1" name="viewport"> <title>Lavue</title> <!-- fonts --> <link href="https://fonts.googleapis.com/css?family=Raleway:100,600" ...
mit
Repkit/php-utils
src/RpkUtils/Sysinfo/Client.php
907
<?php /** * Client object * * @package RpkUtils\Sysinfo * @author Repkit <repkit@gmail.com> * @copyright 2015 Repkit * @license MIT <http://opensource.org/licenses/MIT> * @since 2015-11-12 */ namespace RpkUtils\Sysinfo; class Client { /** * Client ip * @return string *...
mit
OkveeNet/Vfileup
tests/via-http/test-full-customize-file-upload.php
14779
<?php require __DIR__.DIRECTORY_SEPARATOR.'includes.php'; if (strtolower($_SERVER['REQUEST_METHOD']) == 'post') { $Upload = new \Rundiz\Upload\Upload('filename'); $Upload->move_uploaded_to = __DIR__.DIRECTORY_SEPARATOR.'uploaded-files'; foreach ($_POST as $key => $value) { $$key = $value; } ...
mit
yuanxu/liveshow_r2
P2pNet/ace/LSOCK_CODgram.cpp
1814
// $Id: LSOCK_CODgram.cpp 79134 2007-07-31 18:23:50Z johnnyw $ #include "ace/LSOCK_CODgram.h" #if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) #include "ace/Log_Msg.h" ACE_RCSID(ace, LSOCK_CODgram, "$Id: LSOCK_CODgram.cpp 79134 2007-07-31 18:23:50Z johnnyw $") #if !defined (__ACE_INLINE__) #include "ace/LSOCK...
mit
ikedumancas/ikequizgen
templates/base.html
2028
{% load staticfiles %} <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/> <title>{% block title %}ikeQuizGen{% endblock %}</title> <link href="https://fonts.googleapis.c...
mit
TimothyBest/Appointment_Booking_drchrono
appointment_booking_drchrono/accounts/pipeline.py
321
from accounts.models import Practice def create_practice(request, strategy, backend, uid, response={}, details={}, user=None, social=None, *args, **kwargs): """ if user has a practice skip else create new practice """ practice, created = Practice.objects.update_or_create(user=user) return None...
mit
pitpitman/GraduateWork
petstore1.3_01/src/waf/src/view/taglibs/com/sun/j2ee/blueprints/taglibs/smart/QueryParameterTag.java
2690
/* * Copyright 2002 Sun Microsystems, Inc. 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 con...
mit
diego-drese/swesat
database/factories/ModelFactory.php
1360
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding yo...
mit
govau/datavizkit
src/components/columnWidget/columnWidget.js
1815
import React from 'react'; import PropTypes from 'prop-types'; import ColumnChart from './columnChart'; import Tooltip from './../tooltip/tooltip'; import {dateFormats} from './../../utils/displayFormats'; import './columnWidget.css'; const ColumnWidget = ({ chartTitle, chartDescription, chartUpdatedDate, ...
mit
mikethedj4/PHP-writeFile---Hello-World
exports/README.md
244
This folder contains all your exported files. **NOTE**: The permissions for this folder *must* be `777`. To do so navigate to the exports folder/directory cd /exports Then change the user permission using chmod. chmod 777 -R ./
mit
Behat/Gherkin
tests/Behat/Gherkin/Node/TableNodeTest.php
10770
<?php namespace Tests\Behat\Gherkin\Node; use Behat\Gherkin\Exception\NodeException; use Behat\Gherkin\Node\TableNode; use PHPUnit\Framework\TestCase; class TableNodeTest extends TestCase { public function testConstructorExpectsSameNumberOfColumnsInEachRow() { $this->expectException(NodeException::cl...
mit
victorpoluceno/webrtc-sample-client
app/__init__.py
314
from flask import Flask from flask import render_template, request app = Flask(__name__) @app.route("/") def main(): room = request.args.get('room', '') if room: return render_template('watch.html') return render_template('index.html') if __name__ == "__main__": app.run(host='0.0.0.0', debug=True)
mit
fbiville/annotation-processing-ftw
doc/java/jdk8/org/omg/CORBA/class-use/NO_RESOURCES.html
5074
<!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_31) on Wed Dec 17 20:48:31 PST 2014 --> <title>Uses of Class org.omg.CORBA.NO_RESOURCES (Java Platform SE 8 )</title> <meta name="date" content...
mit
TammoR/bs_page
blog_test.html
384
--- layout: tammo_main title: Blog --- <div class="posts"> {% for post in site.posts %} <article class="post"> <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1> <div class="entry"> {{ post.excerpt }} </div> <a href="{{ site.baseurl }}{{ post.url }}" class...
mit
demones/react-guide
examples/react-redux-example/app/todomvc/index.js
363
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import App from './containers/App'; import configureStore from './store/configureStore'; import 'todomvc-app-css/index.css'; const store = configureStore(); render( <Provider store={store}> <App /> </Provide...
mit
SkillsFundingAgency/das-alpha-hmrc-api-mock
src/main/scala/uk/gov/bis/levyApiMock/data/ClientOps.scala
1004
package uk.gov.bis.levyApiMock.data import uk.gov.bis.levyApiMock.auth.{TOTP, TOTPCode} import scala.concurrent.{ExecutionContext, Future} case class Application(name: String, applicationID: String, clientID: String, clientSecret: String, serverToken: String, privilegedAccess: Boolean) trait ClientOps { def timeS...
mit
andersonsilvade/python_C
Python32/web2py/applications/examples/static/epydoc/web2py.gluon.validators.IS_TIME-class.html
14081
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>web2py.gluon.validators.IS_TIME</title> <link rel="stylesheet" href="epydoc.css" type="text...
mit
Tcetso/Fundamentals
15-17_Lists/RemoveOddPosition/RemoveOddPosition.cs
605
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RemoveOddPosition { class RemoveOddPosition { static void Main(string[] args) { var words = Console.ReadLine().Split(' ').ToList(); var output =...
mit
netguru/people
config/initializers/inflections.rb
529
# Be sure to restart your server when you modify this file. # Add new inflection rules using the following format. Inflections # are locale specific, and you may define rules for as many different # locales as you wish. All of these examples are active by default: ActiveSupport::Inflector.inflections(:en) do |inflect|...
mit
miuramo/AnchorGarden
src/jaist/css/covis/cls/ArrayPrimitiveMenu.java
1372
package jaist.css.covis.cls; import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFrame; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.JPopupMenu; import jaist.css.covis.util.FramePopup; public class ArrayPrimitiv...
mit
Hitheworld/HelloKoa2
public/javascript/data.js
466
// // window.onload = function() { // var data = {username:'52200', password:'123', remember:52200}; // fetch('/api/users/getUser?id=1').then(function(res) { // console.log("请求的数据是", res); // if (res.ok) { // alert('Submitted!'); // } else { // alert('Error!'); //...
mit
flaviogrossi/Rocket.Chat
server/methods/addAllUserToRoom.js
1600
Meteor.methods({ addAllUserToRoom(rid, activeUsersOnly = false) { check (rid, String); check (activeUsersOnly, Boolean); if (RocketChat.authz.hasRole(this.userId, 'admin') === true) { const userCount = RocketChat.models.Users.find().count(); if (userCount > RocketChat.settings.get('API_User_Limit')) { ...
mit
ArcherSys/ArcherSys
Rust/share/doc/rust/html/rustc_lint/metadata/tyencode/fn.enc_region.html
4206
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `enc_region` fn in crate `rustc_lint`."> <meta name="keywor...
mit
johnnyreilly/proverb-without-implicit-referencing
Proverb.Web/app/services/repository.sage.ts
2507
/// <reference path="../_references.d.ts" /> interface sage { id: number; name: string; username: string; email: string; dateOfBirth: Date; sayings?: saying[]; } interface repositorySage { getAll: () => ng.IPromise<sage[]>; getById: (id: number, forceRemote?: boolean) => ng.IPromise<sag...
mit
team-diana/nucleo-dynamixel
docs/html/struct_t_i_m___hall_sensor___init_type_def-members.html
6431
<!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...
mit
fdanielsen/subsectionmanager
lang/lang.no.php
7134
<?php $about = array( 'name' => 'Norsk bokmål', 'author' => array( 'name' => 'Frode Danielsen', 'email' => 'frode@danielsen.net', 'website' => 'http://frode.danielsen.net/' ), 'release-date' => '2011-02-09' ); /** * Subsection Manager */ $dictionary = array( '%s Show thumbnail images' => ...
mit
lohanbodevan/http-responses
index.js
3695
const HttpStatus = require('http-status-codes'); const build = status => { return (ctx, message) => { ctx.status = status ctx.body = message || {message: HttpStatus.getStatusText(status)} return ctx } } module.exports = { accepted: build(HttpStatus.ACCEPTED), // 202 badGateway...
mit
super-useful/su-healthcheck
lib/verify.js
644
module.exports = function verify(check) { if (typeof check !== 'object') { throw new Error('check is not an object'); } var errors = []; Object.keys(check).forEach(_verify, check); if (errors.length > 0) { throw new Error('Health checks failed: '+ errors.join(', ')); } re...
mit
carloquilala/omegacp
src/Database/Types/Postgresql/RealType.php
351
<?php namespace artworx\omegacp\Database\Types\Postgresql; use Doctrine\DBAL\Platforms\AbstractPlatform; use artworx\omegacp\Database\Types\Type; class RealType extends Type { const NAME = 'real'; const DBTYPE = 'float4'; public function getSQLDeclaration(array $field, AbstractPlatform $platform) { ...
mit