repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
nykteus/Consultorio | application/views/Contenido/frmAddPaciente.php | 4871 | <div class="col-md-2">
</div>
<div class="col-md-8" style="margin-top: 2%;">
<?php if(isset($editar)){ echo form_open('Pacientes/savePaciente'); }else{ echo form_open('Pacientes/addPaciente'); } ?>
<div class="panel panel-info">
<div class="panel-heading">
<center>
<li clas... | mit |
prateekbhatt/userjoy | apps/cdn/lib/app.js | 655 |
var bind = require('bind');
var debug = require('debug')('uj:app');
var Entity = require('./entity');
var inherit = require('inherit');
/**
* Initialize a new `App` with `options`.
*
* @param {Object} options
*/
function App (options) {
this.defaults = {}
this.debug = debug;
Entity.call(this, options);
}
... | mit |
argayash/gadiawot | index.html | 3044 | <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta chars... | mit |
biud436/MV | RS_ChangeWindowTextColorSafely.js | 4574 | //================================================================
// RS_ChangeWindowTextColorSafely.js
// ---------------------------------------------------------------
// The MIT License
// Copyright (c) 2017 biud436
// ---------------------------------------------------------------
// Free for commercial and non co... | mit |
EmptyKeys/UI_Examples | BasicUI_Xenko/BasicUI_Xenko/BasicUI_Xenko.UserInterface/GeneratedUI/Dictionary.xaml.cs | 7744 | // -----------------------------------------------------------
//
// This file was generated, please do not modify.
//
// -----------------------------------------------------------
namespace EmptyKeys.UserInterface.Generated {
using System;
using System.CodeDom.Compiler;
using System.Collections.Objec... | mit |
stanmihai4/json | test/src/fuzzer-parse_json.cpp | 1608 | /*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (fuzz test support)
| | |__ | | | | | | version 2.1.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
This file implements a parser test suitable for fuzz testing. Given a byte
array data, it performs the following steps:
- ... | mit |
mind0n/hive | Cache/Libs/net46/internalapis/vscommon/inc/vsshell80.h | 849626 |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.00.0601 */
/* @@MIDL_FILE_HEADING( ) */
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef ... | mit |
tiwiz/WhatSong | README.md | 54 | # WhatSong
Official repo of the WhatSong app by Tiwiz
| mit |
tonymullen/flipflop | config/env/test.js | 3286 | 'use strict';
var defaultEnvConfig = require('./default');
module.exports = {
db: {
uri: process.env.MONGOHQ_URL || process.env.MONGODB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/flipflop-test',
options: {
user: '',
pass: ''
},
// Enable mongoose debu... | mit |
farkas-arpad/KROKI-mockup-tool | BusinessProcessModelingTool/src/bp/details/GatewayDetails.java | 2214 | package bp.details;
import javax.swing.JLabel;
import javax.swing.JSpinner;
import javax.swing.SpinnerModel;
import javax.swing.SpinnerNumberModel;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import bp.model.data.Gateway;
import bp.model.util.BPKeyWords;
import bp.model.u... | mit |
ABS-org/cdp_strap | theme/nodes/node--relato_de_experi_ncia_dab_curado.tpl.php | 2642 | <?php
/**
* @file
* Template para o tipo de conteúdo relato dos profissionais do DAB relato_de_experi_ncia_dab_curado
*/
$relato_link = url(drupal_get_path_alias('node/' . $node->nid), array('absolute' => TRUE));
?>
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $at... | mit |
naoey/osu | osu.Game.Rulesets.Osu/Mods/OsuModBlinds.cs | 7835 | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.... | mit |
naumenko-sa/cre | cre.locate_sample.py | 895 | #!/hpf/largeprojects/ccmbio/naumenko/tools/bcbio/anaconda/bin/python
"""
Looks for a specific sample
"""
import re
import sys
import os
import os.path
sample = sys.argv[1]
family,sample_only = sample.split("_")
match = re.match('\d*',family)
if match:
prefix=str(int(match.group(0))/100)
report_path = pref... | mit |
pastoref/VendingMachine | support/categoryPartitionTool-TSL/main.c | 6585 |
#include <stdio.h>
#include <stdlib.h> /* exit, free */
#include <string.h> /* for manipulating filename */
#include "defines.h" /* type definitions and macros for flags and MAX limits */
#include "structs.h" /* structures used (needs defines.h) */
Category* cats[ MAX_TOT_CATS... | mit |
SatoshiNakamotoGeoscripting/SatoshiNakamotoGeoscripting | Final_assignment/main.py | 2489 | # -*- coding: utf-8 -*-
"""
Date: 2/2/2017
Team: Satoshi Nakamoto
@Authors: Alex Levering and Hector Muro
Non-standard dependencies:
* Twython
* NLTK
* Folium
* Geocoder
* psycopg2
TO DO BEFOREHAND:
The following steps are non-automatable and have to be performed manually.
* Have the NLTK vader lexicon locally (nltk... | mit |
arvicco/swing | lib/swing_support/action_listener.rb | 491 | require 'swing_support/extensions'
module SwingSupport
# Class that implements ActionListener interface around a given block
class ActionListener
java_implements java.awt.event.ActionListener
def initialize &block
@listener_block = block
end
java_signature 'public void actionPerformed(Actio... | mit |
RNATA/services-ionic | src/components/google-map/google-map.ts | 2461 | import { Component, OnInit, Input } from '@angular/core';
import { LoadingController, NavController } from 'ionic-angular';
import { Geolocation } from 'ionic-native';
import { Observable } from 'rxjs/Observable';
import { OriginLocationComponent } from '../origin-location/origin-location';
// import { AvailableProvide... | mit |
andreimuntean/NeuralNetwork | NeuralNetwork/NeuralNetwork/ForwardPropagationResult.cs | 616 | using System.Collections.Generic;
using System.Linq;
namespace NeuralNetwork
{
struct ForwardPropagationResult
{
public List<List<double>> Sums { get; }
public List<List<double>> Activations { get; }
public int Prediction { get; }
public ForwardPropagationResult(List<List<do... | mit |
GoC-Spending/data-corporations | html/234567159527.html | 35794 |
<!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 |
stylelint/stylelint | lib/rules/declaration-property-max-values/__tests__/index.js | 1491 | 'use strict';
const { messages, ruleName } = require('..');
testRule({
ruleName,
config: [
{
border: 2,
'/^margin/': 1,
},
],
accept: [
{
code: 'a { margin: 0; }',
},
{
code: 'a { margin: 1px; }',
},
{
code: 'a { margin: var(--foo); }',
description: 'deals with CSS variables',
... | mit |
dom-arch/dom-arch | lib/Url/Encrypted/Encrypted.php | 715 | <?php
/*
Copyright 2015 Lcf.vs
-
Released under the MIT license
-
https://github.com/Lcfvs/DOMArch
*/
namespace DOMArch\Url;
use DOMArch\Config;
use DOMArch\Constants;
use DOMArch\Crypto;
use DOMArch\Url;
class Encrypted extends Url
{
public static function parse($str)
{
$url = parent::parse($str);... | mit |
TKHuang/test-npm-module | README.md | 1725 | # coffee-module
[](https://david-dm.org/TKHuang/coffee-module)
[](https://david-dm.org/TKHuang/coffee-module#info=devDependencies)
[![Build ... | mit |
daemonl/fxm | src/Rebase/BigvBundle/Entity/Slot.php | 3896 | <?php
namespace Rebase\BigvBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Rebase\BigvBundle\Entity\Game;
/**
* Rebase\BigvBundle\Entity\Slot
*
* @ORM\Table()
* @ORM\Entity
*/
class Slot
{
/**
* @var integer $id
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
... | mit |
lipp/angular-jet | tests/protractor/todo/todo_unordered.html | 1591 | <!DOCTYPE html>
<html ng-app="todo">
<head>
<title>Angular Jet Todo e2e Test</title>
<!-- Angular -->
<script src="../../../bower_components/angular/angular.min.js"></script>
<!-- Firebase -->
<script src="../../../bower_components/jet/deploy/jet.js"></script>
<!-- AngularFire -->
<scri... | mit |
tlubenov/tgdj_apps | tglserver/templates/navbar.html | 2548 | {% extends 'base.html' %}
{% block navigation %}
<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-ex... | mit |
jvillard/infer | website/docs/checker-pulse.md | 4396 | ---
title: "Pulse"
description: "Memory and lifetime analysis."
---
Memory and lifetime analysis.
Activate with `--pulse`.
Supported languages:
- C/C++/ObjC: Yes
- C#/.Net: No
- Erlang: Yes
- Java: Yes
### What is Infer:Pulse?
Pulse is an interprocedural memory safety analysis. Pulse can detect, for instance, [Null... | mit |
deeyum/deeyum.github.io | _posts/archives/2009-05-14-St-Louis-Sunrise.md | 625 | ---
layout: post
date: 2009-05-14 10:35:00
title: St Louis Sunrise
tags: [archived-posts]
categories: archives
permalink: /:categories/:year/:month/:day/:title/
---
It's going to be raining the next few days, but this morning I was able to go for my walk, but the sun scudded through the clouds....
<a href="http://s5... | mit |
mathiasbynens/unicode-data | 6.0.0/scripts/Kaithi-regex.js | 117 | // Regular expression that matches all symbols in the `Kaithi` script as per Unicode v6.0.0:
/\uD804[\uDC80-\uDCC1]/; | mit |
mersocarlin/school-web-api | School/School.Domain/Contracts/Repositories/IUserRepository.cs | 314 | using School.Domain.Models;
namespace School.Domain.Contracts.Repositories
{
public interface IUserRepository : IRepository<User>
{
User GetByIdWithProperties(int id);
User Authenticate(string username, string password);
User GetByRefreshTokenId(string refreshTokenId);
}
}
| mit |
cmput402w2016/CMPUT402W16T1 | MapCore/src/main/java/com/cmput402w2016/t1/webapi/handler/SegmentHandler.java | 2216 | package com.cmput402w2016.t1.webapi.handler;
import com.cmput402w2016.t1.data.Segment;
import com.cmput402w2016.t1.webapi.Helper;
import com.cmput402w2016.t1.webapi.WebApi;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import java.util.Map;
/**
* Handler for the /segment web... | mit |
nguyentrannhatrang/thoitrangchobe | application/views/admin/page.php | 1628 | <div class="row">
<div class="col-lg-12">
<form method="post" action="<?php echo site_url('admin/pages/save'); ?>">
<input type="hidden" name="id" value="<?php echo !empty($page) ? $page->id : ''; ?>"/>
<section class="panel">
<header class="panel-heading"><span
... | mit |
zhangqiang110/my4j | pms/src/main/java/com/swfarm/biz/chain/bo/JobExecutionState.java | 2105 | package com.swfarm.biz.chain.bo;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Random;
import com.swfarm.pub.framework.FormNumberCache;
public class JobExecutionState implements Serializable {
private Long id;
private String jobName;
private String jobInstanceName;
... | mit |
thoughtbot/shoulda-matchers | CHANGELOG.md | 65140 | # Changelog
## 5.1.0 - 2021-12-22
### Bug fixes
* Fix the undefined method error for non rails project due to use of many? - method from ActiveSupport. ([#1459])
[#1459]: https://github.com/thoughtbot/shoulda-matchers/pull/1459
### Features
* Add array option support for have db column matcher. ([#1465])
* Add e... | mit |
prodigalyijun/demo-by-antd | src/pages/BookEdit.js | 829 | import React from 'react';
import HomeLayout from '../layouts/HomeLayout';
import BookEditor from '../components/BookEditor';
import { get } from '../utils/request';
class BookEdit extends React.Component {
constructor(props) {
super(props);
this.state = {
book: null
};
}
... | mit |
spbreality/spbreality | README.md | 6406 | Symfony Standard Edition
========================
Welcome to the Symfony Standard Edition - a fully-functional Symfony2
application that you can use as the skeleton for your new app. If you want
to learn more about the features included, see the "What's Inside?" section.
This document contains information on how to ... | mit |
007slm/kissy | src/combobox/demo.html | 2727 | <!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<title>KI... | mit |
h8liu/xlang | jasm/header.go | 2400 | package jasm
const header = `
function jasm(stdlib, foreign, heap) {
"use asm";
var pc = 0; // pseudo program counter
var sp = 0; // stack pointer
var ret = 0; // return address, for jal
var r0 = 0, r1 = 0, r2 = 0, r3 = 0; // general purpose 32-bit registers
var f0 = 0.0, f1 = 0.0, ... | mit |
thetestpeople/trt | app/controllers/WebApiController.scala | 1388 | package controllers
import com.thetestpeople.trt.json.JsonSerializers._
import com.thetestpeople.trt.model.Configuration
import com.thetestpeople.trt.service.Service
import com.thetestpeople.trt.utils.HasLogger
import play.api.libs.json.Json
import play.api.mvc.Action
import play.api.mvc.Controller
import play.api.Rou... | mit |
knolza/gamblr | src/qt/overviewpage.cpp | 19463 | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Gamblr developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "overviewpage.h"
#include "ui_overviewpage.h"
#include "bitcoinunit... | mit |
xairy/mipt-schedule-parser | msp/test/schedule_tests.py | 8974 | #!/usr/bin/python
#coding: utf-8
from __future__ import unicode_literals
import os
import unittest
import xlrd
import msp.schedule_parser as schedule_parser
__author__ = "Andrey Konovalov"
__copyright__ = "Copyright (C) 2014 Andrey Konovalov"
__license__ = "MIT"
__version__ = "0.1"
this_dir, this_filename = os.pat... | mit |
Bushstar/bitcore | examples/ConnectionTor.js | 1072 | var Peer = require('../lib/Peer');
var Connection = require('../lib/Connection');
var dns = require('dns');
// get a peer from dns seed
dns.resolve('dnsseed.bluematt.me', function(err, seeds) {
// use the first peer
var peer = new Peer(seeds[0], 8608);
//Custom peer:
//var peer = new Peer('180.15... | mit |
Swirrl/digitalsocial | config/initializers/raven_production_example.rb | 340 | require 'raven'
# This file gets copied to shared/configs and linked from
# config/initializers/raven.rb at deployment by capistrano.
Raven.configure do |config|
# Replace this URL with the one provided by getsentry.
config.dsn = 'https://9ee5c448b2dc42be81448b502b164820:59004b5ea4b545f5af58d310a3802ea8@app.getse... | mit |
vervacity/ggr-project | scripts/data_qc/summarize_chipseq_qc.py | 4085 |
import gzip
import glob
import numpy as np
import pandas as pd
from scipy.stats import pearsonr
from scipy.stats import spearmanr
def get_num_lines_gz(filename):
num_lines = 0
with gzip.open(filename, "r") as fp:
for line in fp:
num_lines += 1
return num_lines
def main():
... | mit |
borkovskij/scheduleGrsu | src/app/models/employmentSkill.ts | 81 | interface IEmploymentSkill {
name: string;
}
export default IEmploymentSkill;
| mit |
Azure/azure-sdk-for-java | sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesImpl.java | 11094 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.avs.implementation;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.co... | mit |
houd1ni/WebsocketPromisify | test/utils.ts | 668 |
const WSP = require('../dist/ws')
import axios from 'axios'
import * as WS from 'ws'
const turnOn = async (port: number = 8095) => {
await axios.get('http://127.0.0.1:8085/on/' + port)
return true
}
const shutDown = async (port: number = 8095) => {
await axios.get('http://127.0.0.1:8085/off/' + port)
return ... | mit |
pop-tabs/pop-tabs | contributors/demo/tab2.html | 277 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>tab 2</title>
</head>
<body>
<div style="margin: auto;text-align:center; font-size:5em; margin-top: 100px">
<img src="icon_128.png" style="vertical-align:middle;"> pop-tabs
</div>
</body>
</html> | mit |
FacticiusVir/SharpVk | src/SharpVk/Interop/Multivendor/PhysicalDevicePCIBusInfoProperties.gen.cs | 2270 | // The MIT License (MIT)
//
// Copyright (c) Andrew Armstrong/FacticiusVir 2020
//
// 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 r... | mit |
ajitghz582/PythonLearning | DAY_1_ASSIGNMENTS/1_name_phone_number.py | 1070 |
student_phoneNumber_name = {1: 'a', 3: 'c', 2: 'b'}
def Handler() :
while (1) :
choice = eval(input("Enter :\t 1 - to search student name \n \t 2 - to insert new student record \n \t 0 - to quit\n"))
print(choice)
if (choice == 1) :
if (student_phoneNumber_name) :
phone_number = input("Enter student's p... | mit |
deapplegate/wtgpipeline | make_pretty_fgas_coadd.sh | 6379 | #!/bin/bash
set -xv
## MACS0429
export ending=OCFSRI
export SUBARUDIR=/gpfs/slac/kipac/fs1/u/awright/SUBARU/
export cluster="MACS1115+01"
. ${cluster}.ini
export config="10_3"
export lens='pretty'
export ending="OCFI"
export filter="W-J-B"
./do_coadd_pretty.sh ${cluster} ${filter} 'pretty' 'none' ${ending} 'no' 'n... | mit |
assomaker/manifmaker | app/client/helpers-events/global-helpers.js | 3295 | import {Utils} from "../service/Utils";
Template.registerHelper(
"displayHours", function (date) {
return new moment(date).format("H[h]");
}
);
Template.registerHelper(
"displayHoursMinute", function (date) {
return new moment(date).format("H[h]mm");
}
);
Template.registerHelper(
"displayHoursMinuteS... | mit |
sparerd/vagrant | SharedScripts/Windows/DotNet/install_dotnet_35_for_desktop.ps1 | 602 | # To be PS 2.0 compatible, dont use Invoke-WebRequest
$packageName = "DotNet3_5.exe"
$downloadUrl = "https://download.microsoft.com/download/7/0/3/703455ee-a747-4cc8-bd3e-98a615c3aedb/dotNetFx35setup.exe"
$targetFile = "C:\tmp\$packageName"
# Download installer
Write-Host "Downloading $packageName" -ForegroundColor G... | mit |
capnm/termzero | src/termzero/sers/sers_windows.go | 8070 | // +build windows
package sers
// taken from https://github.com/tarm/goserial
// and slightly modified
// (C) 2011, 2012 Tarmigan Casebolt, Benjamin Siegert, Michael Meier
// All rights reserved.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
import (
"fmt"... | mit |
dmanning23/DrawListBuddy | README.md | 88 | DrawListBuddy
=============
A buddy for doing sort order on 2d objects in XNA/MonoGame
| mit |
dimtion/jml | outputFiles/statistics/archives/ourIA/closest.py/0.6/7/game.tex | 13286 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%... | mit |
nqv/aranea | src/cgi.c | 5878 | /* Aranea
* Copyright (c) 2011-2012, Quoc-Viet Nguyen
* See LICENSE file for copyright and license details.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <aranea/aranea.h>
#define CGI_E... | mit |
espeiorin/ESPSlider | HOWTO.md | 1708 | ESPSlider
=========
ESPSlider is a custom UIView that works like a rating UISlider, it changes values by touching or by draging inside.
See it in action: https://vimeo.com/92618816
To install you can basically drag .h and .m files to your project, import and configure or you can simple add to your Podfile
```ruby
p... | mit |
soy-php/phinx-task | src/Soy/Phinx/CreateTask.php | 1041 | <?php
namespace Soy\Phinx;
use League\CLImate\CLImate;
use Soy\Task\CliTask;
class CreateTask extends CliTask
{
use ConfigTrait;
/**
* @var string
*/
protected $name;
/**
* @param CLImate $climate
* @param Config $config
*/
public function __construct(CLImate $climate, ... | mit |
bertfreudenberg/SqueakJS | vm.plugins.scratch.browser.js | 2534 | "use strict";
/*
* Copyright (c) 2013-2019 Bert Freudenberg
*
* 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... | mit |
Alexandrovic/WebSmartravel | app/cache/dev/twig/17/2d/b66ae695714ab527ff22427d903f9649fdf96e97dbc795a82cac4ba36f2f.php | 6030 | <?php
/* TwigBundle:Exception:traces.html.twig */
class __TwigTemplate_172db66ae695714ab527ff22427d903f9649fdf96e97dbc795a82cac4ba36f2f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(... | mit |
CallFire/CallFire-PHP-SDK | src/CallFire/Common/Resource/RetryResults.php | 93 | <?php
namespace CallFire\Common\Resource;
class RetryResults extends AbstractResource
{
}
| mit |
jackuhan/react-native-viewpager-indicator | ScrollableTabBar.js | 8319 | const React = require('react');
const { ViewPropTypes } = ReactNative = require('react-native');
const {
View,
Animated,
StyleSheet,
ScrollView,
Text,
Platform,
Dimensions,
I18nManager
} = ReactNative;
const Button = require('./Button');
//import { PropTypes } from 'react'
const WINDOW_WIDTH = Dimensi... | mit |
biohazard999/XafMVVM | src/XMVVM/XMVVM.ExpressApp.Demos/XMVVM.ExpressApp.Demos.Module.Win/Properties/AssemblyInfo.cs | 1201 | 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("eX... | mit |
brandon-bailey/osdms | assets/webodf/programs/cordova/platforms/android/src/org/webodf/WebODF.java | 1303 | /*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the... | mit |
murlokswarm/windows | native/murlok-uwp/App.xaml.cs | 4543 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows... | mit |
jk204/sim-profile-asn1 | src/jk204/SIMalliance/ASN1/FileSystem/filePath.php | 128 | <?php
namespace jk204\SIMalliance\ASN1\FileSystem;
use FG\ASN1\Universal\OctetString;
class filePath extends OctetString
{
} | mit |
project-awesome/pa-skills-oauth-cancan | app/controllers/exercises_controller.rb | 837 | class ExercisesController < ApplicationController
load_and_authorize_resource
before_action :set_exercise, only: [:show, :edit, :update, :destroy]
respond_to :html
def index
@exercises = Exercise.all
respond_with(@exercises)
end
def show
respond_with(@exercise)
end
def new
@exercise... | mit |
dylanreed/dylan.blog | _posts/2003-07-27-bad-boys-for-life.markdown | 791 | ---
layout: post
status: publish
published: true
title: Bad Boys for Life
author:
display_name: Dylan
login: dylan
email: dylan@dylanreed.com
url: /
author_login: dylan
author_email: dylan@dylanreed.com
author_url: /
wordpress_id: 54
wordpress_url: http://dylanreed.org/?p=54
date: '2003-07-27 09:29:35 -0500'
d... | mit |
datamade/elpc_bakken | ocr_extracted/W30206_text/page32.html | 1685 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>W30206_text</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;">
... | mit |
datamade/elpc_bakken | ocr_extracted/W21828_text/page43.html | 2297 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>W21828_extracted</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;">
... | mit |
ROCm-Developer-Tools/HIP | tests/src/nvcc/Device/hipDeviceGetAttribute.cpp | 1836 | /*
Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc. All rights reserved.
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, c... | mit |
umpirsky/platform | src/Oro/Bundle/FlexibleEntityBundle/AttributeType/DateTimeType.php | 716 | <?php
namespace Oro\Bundle\FlexibleEntityBundle\AttributeType;
use Oro\Bundle\FlexibleEntityBundle\AttributeType\AbstractAttributeType;
use Oro\Bundle\FlexibleEntityBundle\Model\FlexibleValueInterface;
/**
* Datetime attribute type
*/
class DateTimeType extends AbstractAttributeType
{
/**
* {@inheritdoc}
... | mit |
sqlpadawan/dbatools | tests/Select-DbaObject.Tests.ps1 | 1452 | $commandname = $MyInvocation.MyCommand.Name.Replace(".Tests.ps1", "")
Write-Host -Object "Running $PSCommandpath" -ForegroundColor Cyan
. "$PSScriptRoot\constants.ps1"
Describe "$commandname Unit Tests" -Tag "UnitTests" {
$global:object = [PSCustomObject]@{
Foo = 42
Bar = 18
Tara = 21
... | mit |
T2RKUS/Spark | T2rkus.Spark/T2rkus.Spark.Core.Cli/T2rkus.Spark.Core.Cli/Parser/CommandOption.cs | 3607 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace T2rkus.Spark.Core.Cli
{
public class CommandOption
{
publi... | mit |
ReplayMod/jGui | src/main/java/de/johni0702/minecraft/gui/element/AbstractGuiElement.java | 6656 | /*
* This file is part of jGui API, licensed under the MIT License (MIT).
*
* Copyright (c) 2016 johni0702 <https://github.com/johni0702>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softw... | mit |
mximos/openproject-heroku | test/unit/enabled_module_test.rb | 2169 | #-- encoding: UTF-8
#-- copyright
# OpenProject is a project management system.
# Copyright (C) 2012-2013 the OpenProject Foundation (OPF)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
#
# OpenProject is a fork of ChiliProject,... | mit |
jimgswang/EventEmitter | test/EventEmitter.test.js | 8204 | var expect = require('chai').expect,
sinon = require('sinon'),
EventEmitter = require('../src/EventEmitter');
describe('EventEmitter tests', function() {
var emitter,
foo,
bar;
beforeEach(function() {
emitter = new EventEmitter();
foo = sinon.spy();
bar = sinon... | mit |
mdibaiee/pack | config/environments/development.rb | 1718 | 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 |
cesarmiquel/mu-docker-drupal | build-site.sh | 1464 | #!/bin/bash
. 'functions.sh'
print "Building site............"
GIT=`which git`
# Clone repo and add symblink
if [ ! -d $ROOTFS/app/project/docroot ]
then
print "Downloading latest Drupal Core ..."
exec 'wget -O - http://ftp.drupal.org/files/projects/drupal-7.39.tar.gz | tar zxf -'
exec 'mv drupal-7.39 a... | mit |
buglloc/ios-debug-proxy-devtools | profiler/ProfilesPanel.js | 42236 | /*
* Copyright (C) 2008 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | mit |
LuciusAxelrod/LAX_Plugins | LAX_DarkenRegion/v0.02/LAX_DarkenRegion.js | 6112 | //=============================================================================
// Darken Region
// LAX_DarkenRegion.js
// v0.02
//=============================================================================
//=============================================================================
/*:
* @plugindesc v0.02 Use ... | mit |
reem/LCTHW-Lib | tests/darray_algos_tests.c | 3747 | #include "minunit.h"
#include <lcthw/darray_algos.h>
#include <stdlib.h>
#include <time.h>
#include <limits.h>
static inline int intcmp(int **a, int **b) {
return **a - **b;
}
static inline int sintcmp(int *a, int *b) {
return *a - *b;
}
int make_random(DArray *array, size_t n) {
srand(time(NULL));
s... | mit |
onexi/onexi.github.io | abel/35_local_storage/inclass/exercise_01.html | 782 | <!DOCTYPE html>
<html>
<h1>Sensor Data</h1>
</center>
<table>
<tr>
<td>Temperature</td>
<td>
<input id="temperature" type="text" value="">
</td>
</tr>
<tr>
<td>Precipitation</td>
<td>
<input id="precipitation" type="text" value="">
</td>
</tr>
<tr>
<td>Humidity</td>
<td>
<input id="humidity" type="text" valu... | mit |
stripe-contrib/pagerbot | public/js/app.js | 1579 | "use strict";
(function() {
function get_promise(endpoint) {
return function($http) {
return $http.get(endpoint);
};
}
angular.module('pagerbot-admin', ['ngRoute', 'ngTable', 'angular-loading-bar'])
.config(function ($routeProvider) {
$routeProvider
.when('/intro', {
te... | mit |
epsi-rns/AlumniBook-SF | lib/filter/doctrine/AAddressFormFilter.class.php | 2921 | <?php
/**
* AAddress filter form.
*
* @package alumni
* @subpackage filter
* @author E.R. Nurwijayadi
* @version 1.0
*/
class AAddressFormFilter extends BaseAAddressFormFilter
{
/**
* @see AddressFormFilter
*/
static protected $order_by_choices = array(
null => '',
6 => 'ID',
21 => 'N... | mit |
sporchia/alttp_vt_randomizer | database/migrations/2017_11_17_174259_daily_seed_and_cleanup.php | 972 | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class DailySeedAndCleanup extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('featured_games... | mit |
pablocubico/fosdem2015 | css/theme/default.css | 5125 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
/**
* Default theme for reveal.js.
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
@font-face {
font-family: 'League Gothic';
src: url("../../lib/font/league_gothic-webfont.eot");
src: url("../../li... | mit |
yanpozka/management-system-symfony | src/GEPedag/EntidadesBundle/Controller/AsignaturaController.php | 4996 | <?php
namespace GEPedag\EntidadesBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use GEPedag\EntidadesBundle\Entity\Asi... | mit |
ATetiukhin/QMathematics | README.md | 134 | QMathematics
============
Dependence:
1. QT (QTSQL QTSVG QTSCRIPT QTPLUGIN)
2. MySql (qsqlmysql4.dll libmysql.dll)
3. QWT
4. GSL
| mit |
stevearc/dynamo3 | tests/__init__.py | 22100 | """ Tests for Dynamo3 """
import sys
import unittest
from decimal import Decimal
from pickle import dumps, loads
from urllib.parse import urlparse
from botocore.exceptions import ClientError
from mock import ANY, MagicMock, patch
from dynamo3 import (
Binary,
Dynamizer,
DynamoDBConnection,
DynamoDBEr... | mit |
LingxianKong/lingxiankong.github.io | _posts/生活/2016-04-04-why-immigration.md | 5331 | ---
layout: post
title: (转)为何大量中国精英纷纷选择移民海外
category: 生活
description: (转)为何大量中国精英纷纷选择移民海外
---
微信上一篇文章,觉得说的很有道理,转载以示赞同。文章链接[在此](http://mp.weixin.qq.com/s?__biz=MzA4Mzk3OTkxOQ==&mid=402690985&idx=1&sn=bc5c030b5b8018feeb3eacdb3ecf332b)。
原文声明:文章来源:同舟共进,尊重原创,版权归原作者所有,由移民家园网综合整理。
大约在最近10年,国内越来越多社会精英移居海外,成为媒体、政府和... | mit |
Galiant/Portfolio | _layouts/default.html | 131 | {% include header.html %}
{% include about.html %}
{% include work.html %}
{% include contact.html %}
{% include footer.html %} | mit |
gsuxlzt/tictactoe | css/styles.css | 1613 | @import url('https://fonts.googleapis.com/css?family=Inconsolata|Jim+Nightshade');
body {
overflow: hidden;
font-family: 'Inconsolata', monospace;
color: #333333;
}
#start, .main, #gameTime, #endBoard {
margin: 0 auto;
padding: 30px;
text-align: center;
width: 100%;
height: auto;
}
#gameTime, #endBoard {
di... | mit |
DimitarGaydardzhiev/TelerikAcademy | 03. OOP/02. Defining-Classes-Part-2-Static-Members-Generics/02.StaticReadOnlyField/Properties/AssemblyInfo.cs | 1420 | 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("02... | mit |
alexandersamoylov/pg_prttn_tools | sql/pg_prttn_tools--0.4.sql | 40350 | -- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION pg_prttn_tools" to load this file. \quit
-- Function: prttn_tools.create_child_table(
-- CHARACTER VARYING,
-- CHARACTER VARYING,
-- CHARACTER VARYING,
-- CHARACTER VARYING,
-- CHARACTER VARYING,... | mit |
tomasr/winterdom.com | _posts/2006-10-19-wcfmetadatapublicationandothers.html | 2603 | ---
layout: post
status: publish
published: true
title: WCF Metadata Publication and Others
author:
display_name: Tomas Restrepo
login: tomasr
email: tomas@winterdom.com
url: http://winterdom.com/
author_login: tomasr
author_email: tomas@winterdom.com
author_url: http://winterdom.com/
wordpress_id: 68
wordpress... | mit |
hchen1202/hchen1202.github.io | _posts/2016-01-01-angular-scope.markdown | 3016 | ---
layout: angular
title: "Angularjs $scope"
date: 2016-01-01
author: Hao
category: blog
description: Angularjs $scope 笔记, 深入了解一下, 从angularjs github wiki 以及各种stackflow中搜索到的例子...
---
### JavaScript Prototypal Inheritance
首先你需要了解javascript本身的继承机制,这对你了解angularjs scope有着至关重要的作用,让我们先来复习一下。
假设`parentScope`有aString, aN... | mit |
polesye/VideoPlayer | src/index.html | 3554 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Video Player</title>
<link rel="stylesheet" type="text/css" href="css/styles.css" />
</head>
<body>
<div class="srt"></d... | mit |
JohnBobSmith/console_games | tictactoe/game.h | 3265 | #ifndef GAME_H
#define GAME_H
#include <array>
class Game
{
public:
//Standard Con/Destructors
Game(); //Initialize the board.
~Game(); //Not sure if I need this, but it's here in case
//Are we playing the game?
bool isRunning = true;
//The easiest way I could implement stalemate
//detection with... | mit |
ByronChengChen/HNBKit | HNBKitDemo/HNBKitDemo/classes/home/controller/HNBFlowLayoutViewController.h | 253 | //
// HNBFlowLayoutViewController.h
// HNBKitDemo
//
// Created by 开发 on 2017/7/21.
// Copyright © 2017年 开发. All rights reserved.
//
#import "HNBBaseViewController.h"
@interface HNBFlowLayoutViewController : HNBBaseViewController
@end
| mit |