code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
<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...
nykteus/Consultorio
application/views/Contenido/frmAddPaciente.php
PHP
mit
4,871
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); } ...
prateekbhatt/userjoy
apps/cdn/lib/app.js
JavaScript
mit
655
<!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...
argayash/gadiawot
index.html
HTML
mit
3,044
//================================================================ // RS_ChangeWindowTextColorSafely.js // --------------------------------------------------------------- // The MIT License // Copyright (c) 2017 biud436 // --------------------------------------------------------------- // Free for commercial and non co...
biud436/MV
RS_ChangeWindowTextColorSafely.js
JavaScript
mit
4,574
// ----------------------------------------------------------- // // This file was generated, please do not modify. // // ----------------------------------------------------------- namespace EmptyKeys.UserInterface.Generated { using System; using System.CodeDom.Compiler; using System.Collections.Objec...
EmptyKeys/UI_Examples
BasicUI_Xenko/BasicUI_Xenko/BasicUI_Xenko.UserInterface/GeneratedUI/Dictionary.xaml.cs
C#
mit
7,744
/* __ _____ _____ _____ __| | __| | | | 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: - ...
stanmihai4/json
test/src/fuzzer-parse_json.cpp
C++
mit
1,608
/* 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 ...
mind0n/hive
Cache/Libs/net46/internalapis/vscommon/inc/vsshell80.h
C
mit
849,626
# WhatSong Official repo of the WhatSong app by Tiwiz
tiwiz/WhatSong
README.md
Markdown
mit
54
'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...
tonymullen/flipflop
config/env/test.js
JavaScript
mit
3,286
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...
farkas-arpad/KROKI-mockup-tool
BusinessProcessModelingTool/src/bp/details/GatewayDetails.java
Java
mit
2,214
<?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...
ABS-org/cdp_strap
theme/nodes/node--relato_de_experi_ncia_dab_curado.tpl.php
PHP
mit
2,642
// 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....
naoey/osu
osu.Game.Rulesets.Osu/Mods/OsuModBlinds.cs
C#
mit
7,835
#!/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...
naumenko-sa/cre
cre.locate_sample.py
Python
mit
895
#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...
pastoref/VendingMachine
support/categoryPartitionTool-TSL/main.c
C
mit
6,585
# -*- 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...
SatoshiNakamotoGeoscripting/SatoshiNakamotoGeoscripting
Final_assignment/main.py
Python
mit
2,489
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...
arvicco/swing
lib/swing_support/action_listener.rb
Ruby
mit
491
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...
RNATA/services-ionic
src/components/google-map/google-map.ts
TypeScript
mit
2,461
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...
andreimuntean/NeuralNetwork
NeuralNetwork/NeuralNetwork/ForwardPropagationResult.cs
C#
mit
616
<!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...
GoC-Spending/data-corporations
html/234567159527.html
HTML
mit
35,794
'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', ...
stylelint/stylelint
lib/rules/declaration-property-max-values/__tests__/index.js
JavaScript
mit
1,491
<?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);...
dom-arch/dom-arch
lib/Url/Encrypted/Encrypted.php
PHP
mit
715
# coffee-module [![Dependency status](http://img.shields.io/david/TKHuang/coffee-module.svg?style=flat)](https://david-dm.org/TKHuang/coffee-module) [![devDependency Status](http://img.shields.io/david/dev/TKHuang/coffee-module.svg?style=flat)](https://david-dm.org/TKHuang/coffee-module#info=devDependencies) [![Build ...
TKHuang/test-npm-module
README.md
Markdown
mit
1,725
<?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 ...
daemonl/fxm
src/Rebase/BigvBundle/Entity/Slot.php
PHP
mit
3,896
<!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...
lipp/angular-jet
tests/protractor/todo/todo_unordered.html
HTML
mit
1,591
{% 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...
tlubenov/tgdj_apps
tglserver/templates/navbar.html
HTML
mit
2,548
--- 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...
jvillard/infer
website/docs/checker-pulse.md
Markdown
mit
4,396
--- 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...
deeyum/deeyum.github.io
_posts/archives/2009-05-14-St-Louis-Sunrise.md
Markdown
mit
625
// Regular expression that matches all symbols in the `Kaithi` script as per Unicode v6.0.0: /\uD804[\uDC80-\uDCC1]/;
mathiasbynens/unicode-data
6.0.0/scripts/Kaithi-regex.js
JavaScript
mit
117
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); } }
mersocarlin/school-web-api
School/School.Domain/Contracts/Repositories/IUserRepository.cs
C#
mit
314
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...
cmput402w2016/CMPUT402W16T1
MapCore/src/main/java/com/cmput402w2016/t1/webapi/handler/SegmentHandler.java
Java
mit
2,216
<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 ...
nguyentrannhatrang/thoitrangchobe
application/views/admin/page.php
PHP
mit
1,628
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; ...
zhangqiang110/my4j
pms/src/main/java/com/swfarm/biz/chain/bo/JobExecutionState.java
Java
mit
2,105
# 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...
thoughtbot/shoulda-matchers
CHANGELOG.md
Markdown
mit
65,140
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 }; } ...
prodigalyijun/demo-by-antd
src/pages/BookEdit.js
JavaScript
mit
829
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 ...
spbreality/spbreality
README.md
Markdown
mit
6,406
<!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...
007slm/kissy
src/combobox/demo.html
HTML
mit
2,727
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, ...
h8liu/xlang
jasm/header.go
GO
mit
2,400
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...
thetestpeople/trt
app/controllers/WebApiController.scala
Scala
mit
1,388
// 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...
knolza/gamblr
src/qt/overviewpage.cpp
C++
mit
19,463
#!/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...
xairy/mipt-schedule-parser
msp/test/schedule_tests.py
Python
mit
8,974
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...
Bushstar/bitcore
examples/ConnectionTor.js
JavaScript
mit
1,072
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...
Swirrl/digitalsocial
config/initializers/raven_production_example.rb
Ruby
mit
340
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(): ...
vervacity/ggr-project
scripts/data_qc/summarize_chipseq_qc.py
Python
mit
4,085
interface IEmploymentSkill { name: string; } export default IEmploymentSkill;
borkovskij/scheduleGrsu
src/app/models/employmentSkill.ts
TypeScript
mit
81
// 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...
Azure/azure-sdk-for-java
sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesImpl.java
Java
mit
11,094
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 ...
houd1ni/WebsocketPromisify
test/utils.ts
TypeScript
mit
668
<!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>
pop-tabs/pop-tabs
contributors/demo/tab2.html
HTML
mit
277
// 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...
FacticiusVir/SharpVk
src/SharpVk/Interop/Multivendor/PhysicalDevicePCIBusInfoProperties.gen.cs
C#
mit
2,270
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...
ajitghz582/PythonLearning
DAY_1_ASSIGNMENTS/1_name_phone_number.py
Python
mit
1,070
#!/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...
deapplegate/wtgpipeline
make_pretty_fgas_coadd.sh
Shell
mit
6,379
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...
assomaker/manifmaker
app/client/helpers-events/global-helpers.js
JavaScript
mit
3,295
# 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...
sparerd/vagrant
SharedScripts/Windows/DotNet/install_dotnet_35_for_desktop.ps1
PowerShell
mit
602
// +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"...
capnm/termzero
src/termzero/sers/sers_windows.go
GO
mit
8,070
DrawListBuddy ============= A buddy for doing sort order on 2d objects in XNA/MonoGame
dmanning23/DrawListBuddy
README.md
Markdown
mit
88
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
dimtion/jml
outputFiles/statistics/archives/ourIA/closest.py/0.6/7/game.tex
TeX
mit
13,286
/* 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...
nqv/aranea
src/cgi.c
C
mit
5,878
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...
espeiorin/ESPSlider
HOWTO.md
Markdown
mit
1,708
<?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, ...
soy-php/phinx-task
src/Soy/Phinx/CreateTask.php
PHP
mit
1,041
"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...
bertfreudenberg/SqueakJS
vm.plugins.scratch.browser.js
JavaScript
mit
2,534
<?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(...
Alexandrovic/WebSmartravel
app/cache/dev/twig/17/2d/b66ae695714ab527ff22427d903f9649fdf96e97dbc795a82cac4ba36f2f.php
PHP
mit
6,030
<?php namespace CallFire\Common\Resource; class RetryResults extends AbstractResource { }
CallFire/CallFire-PHP-SDK
src/CallFire/Common/Resource/RetryResults.php
PHP
mit
93
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...
jackuhan/react-native-viewpager-indicator
ScrollableTabBar.js
JavaScript
mit
8,319
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...
biohazard999/XafMVVM
src/XMVVM/XMVVM.ExpressApp.Demos/XMVVM.ExpressApp.Demos.Module.Win/Properties/AssemblyInfo.cs
C#
mit
1,201
/* 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...
brandon-bailey/osdms
assets/webodf/programs/cordova/platforms/android/src/org/webodf/WebODF.java
Java
mit
1,303
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...
murlokswarm/windows
native/murlok-uwp/App.xaml.cs
C#
mit
4,543
<?php namespace jk204\SIMalliance\ASN1\FileSystem; use FG\ASN1\Universal\OctetString; class filePath extends OctetString { }
jk204/sim-profile-asn1
src/jk204/SIMalliance/ASN1/FileSystem/filePath.php
PHP
mit
128
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...
project-awesome/pa-skills-oauth-cancan
app/controllers/exercises_controller.rb
Ruby
mit
837
--- 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...
dylanreed/dylan.blog
_posts/2003-07-27-bad-boys-for-life.markdown
Markdown
mit
791
<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;"> ...
datamade/elpc_bakken
ocr_extracted/W30206_text/page32.html
HTML
mit
1,685
<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;"> ...
datamade/elpc_bakken
ocr_extracted/W21828_text/page43.html
HTML
mit
2,297
/* 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...
ROCm-Developer-Tools/HIP
tests/src/nvcc/Device/hipDeviceGetAttribute.cpp
C++
mit
1,836
<?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} ...
umpirsky/platform
src/Oro/Bundle/FlexibleEntityBundle/AttributeType/DateTimeType.php
PHP
mit
716
$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 ...
sqlpadawan/dbatools
tests/Select-DbaObject.Tests.ps1
PowerShell
mit
1,452
// 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...
T2RKUS/Spark
T2rkus.Spark/T2rkus.Spark.Core.Cli/T2rkus.Spark.Core.Cli/Parser/CommandOption.cs
C#
mit
3,607
/* * 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...
ReplayMod/jGui
src/main/java/de/johni0702/minecraft/gui/element/AbstractGuiElement.java
Java
mit
6,656
#-- 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,...
mximos/openproject-heroku
test/unit/enabled_module_test.rb
Ruby
mit
2,169
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...
jimgswang/EventEmitter
test/EventEmitter.test.js
JavaScript
mit
8,204
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...
mdibaiee/pack
config/environments/development.rb
Ruby
mit
1,718
#!/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...
cesarmiquel/mu-docker-drupal
build-site.sh
Shell
mit
1,464
/* * 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...
buglloc/ios-debug-proxy-devtools
profiler/ProfilesPanel.js
JavaScript
mit
42,236
//============================================================================= // Darken Region // LAX_DarkenRegion.js // v0.02 //============================================================================= //============================================================================= /*: * @plugindesc v0.02 Use ...
LuciusAxelrod/LAX_Plugins
LAX_DarkenRegion/v0.02/LAX_DarkenRegion.js
JavaScript
mit
6,112
#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...
reem/LCTHW-Lib
tests/darray_algos_tests.c
C
mit
3,747
<!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...
onexi/onexi.github.io
abel/35_local_storage/inclass/exercise_01.html
HTML
mit
782
"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...
stripe-contrib/pagerbot
public/js/app.js
JavaScript
mit
1,579
<?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...
epsi-rns/AlumniBook-SF
lib/filter/doctrine/AAddressFormFilter.class.php
PHP
mit
2,921
<?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...
sporchia/alttp_vt_randomizer
database/migrations/2017_11_17_174259_daily_seed_and_cleanup.php
PHP
mit
972
@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...
pablocubico/fosdem2015
css/theme/default.css
CSS
mit
5,125
<?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...
yanpozka/management-system-symfony
src/GEPedag/EntidadesBundle/Controller/AsignaturaController.php
PHP
mit
4,996
QMathematics ============ Dependence: 1. QT (QTSQL QTSVG QTSCRIPT QTPLUGIN) 2. MySql (qsqlmysql4.dll libmysql.dll) 3. QWT 4. GSL
ATetiukhin/QMathematics
README.md
Markdown
mit
134
""" 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...
stevearc/dynamo3
tests/__init__.py
Python
mit
22,100
--- layout: post title: (转)为何大量中国精英纷纷选择移民海外 category: 生活 description: (转)为何大量中国精英纷纷选择移民海外 --- 微信上一篇文章,觉得说的很有道理,转载以示赞同。文章链接[在此](http://mp.weixin.qq.com/s?__biz=MzA4Mzk3OTkxOQ==&mid=402690985&idx=1&sn=bc5c030b5b8018feeb3eacdb3ecf332b)。 原文声明:文章来源:同舟共进,尊重原创,版权归原作者所有,由移民家园网综合整理。 大约在最近10年,国内越来越多社会精英移居海外,成为媒体、政府和...
LingxianKong/lingxiankong.github.io
_posts/生活/2016-04-04-why-immigration.md
Markdown
mit
5,331
{% include header.html %} {% include about.html %} {% include work.html %} {% include contact.html %} {% include footer.html %}
Galiant/Portfolio
_layouts/default.html
HTML
mit
131
@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...
gsuxlzt/tictactoe
css/styles.css
CSS
mit
1,613
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...
DimitarGaydardzhiev/TelerikAcademy
03. OOP/02. Defining-Classes-Part-2-Static-Members-Generics/02.StaticReadOnlyField/Properties/AssemblyInfo.cs
C#
mit
1,420
-- 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,...
alexandersamoylov/pg_prttn_tools
sql/pg_prttn_tools--0.4.sql
SQL
mit
40,350
--- 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...
tomasr/winterdom.com
_posts/2006-10-19-wcfmetadatapublicationandothers.html
HTML
mit
2,603
--- 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...
hchen1202/hchen1202.github.io
_posts/2016-01-01-angular-scope.markdown
Markdown
mit
3,016
<!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...
polesye/VideoPlayer
src/index.html
HTML
mit
3,554
#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...
JohnBobSmith/console_games
tictactoe/game.h
C
mit
3,265
// // HNBFlowLayoutViewController.h // HNBKitDemo // // Created by 开发 on 2017/7/21. // Copyright © 2017年 开发. All rights reserved. // #import "HNBBaseViewController.h" @interface HNBFlowLayoutViewController : HNBBaseViewController @end
ByronChengChen/HNBKit
HNBKitDemo/HNBKitDemo/classes/home/controller/HNBFlowLayoutViewController.h
C
mit
253