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 |
|---|---|---|---|---|---|
<?php
include('sessioncheck.php');
include('db.php');
$q = "select * from info where eml = '".$_SESSION['username']."'";
$r = mysqli_query($cn,$q);
$res = mysqli_fetch_row($r);
?>
<html>
<link rel="icon" type="images/png" href="images/favicon.png">
<head>
<title>Tradfashion</title>
<link rel="stylesheet" ... | AmirMustafa/Project-TredFashion | user_page.php | PHP | mit | 3,874 |
#include <stdio.h>
#include "list.h"
#define N 10
void visit(link);
int main(void) {
int i;
link head, x;
// Population
head = new_link(0);
x = head;
for (i = 1; i < N; ++i) {
x = insert_after(x, new_link(i));
}
// Recursive Traversal
traverse(head, visit);
return 0;
}
void visit(link x) {
printf... | bartobri/data-structures-c | linked-lists/standard-recursive-traversal/main.c | C | mit | 354 |
<html><body>
<h4>Windows 10 x64 (18363.535)</h4><br>
<h2>_LOADER_RESET_REASON</h2>
<font face="arial"> +0x000 Supplied : UChar<br>
+0x008 Basic : <a href="./<anonymous-tag>.html"><anonymous-tag></a><br>
+0x010 AdditionalInfo : [8] Uint4B<br>
</font></body></html> | epikcraw/ggool | public/Windows 10 x64 (18363.535)/_LOADER_RESET_REASON.html | HTML | mit | 298 |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2016-2017 Esteban Tovagliari, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person... | aiivashchenko/appleseed | src/appleseed/renderer/modeling/bsdf/metalbrdf.cpp | C++ | mit | 13,847 |
---
layout: default
---
<article class="post">
<h1>{{ page.title }}</h1>
<div class="entry">
{{ content }}
</div>
<div class="date">
Last updated {{ page.date | date: "%B %e, %Y" }}
</div>
{% include disqus.html %}
</article>
{% for js in page.jsarr %}
<script type="text/javascript">
{%... | qst0/taut.tech | _layouts/post.html | HTML | mit | 370 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Chart = require('../../../models/Chart');
var _Chart2 = _interopRequireDefault(_Chart);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = async function (ctx) {
awai... | maichong/alaska | packages/alaska-statistics/config/alaska-admin/api/chart.js | JavaScript | mit | 705 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | dwiajik/asp-mvc-workshop | DataAccessLayer/Customer.cs | C# | mit | 1,474 |
// $Id$
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using OreEfficiencyCalc.Properties;
namespace OreEfficiencyCalc {
public partial class ManualPricesForm : Form {
public... | marinazzio/orecalc | src/ManualPricesForm.cs | C# | mit | 1,604 |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "IDEEditorDocument.h"
#import "DVTSourceLandmarkProvider.h"
#import "DVTSourceTextViewDelegate.h"
#import "DVTTextFindable.h"
#import "DVTTextReplacable.h"
#import "DVTText... | wczekalski/Distraction-Free-Xcode-plugin | Archived/v1/WCDistractionFreeXcodePlugin/Headers/PlugIns/IDESourceEditor/IDESourceCodeDocument.h | C | mit | 13,806 |
using Newtonsoft.Json;
using System;
namespace UniversalChanApp.Model
{
internal class IdConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
throw new NotSupportedException();
}
public override ob... | Euphoric/UniversalChanApp | UniversalChanApp/Model/IdConverter.cs | C# | mit | 658 |
//
// ASCenterLayoutSpec.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PAT... | TimeFaceCoder/TFCoreFoundation | Example/Pods/Texture/Source/Layout/ASCenterLayoutSpec.h | C | mit | 3,411 |
EditorPrePlanning = EditorPrePlanning or class(MissionScriptEditor)
function EditorPrePlanning:create_element()
self.super.create_element(self)
self._element.class = "ElementPrePlanning"
self._element.values.allowed_types = {}
self._element.values.disables_types = {}
self._element.values.location_group = tweak_dat... | simon-wh/PAYDAY-2-BeardLib-Editor | mods/BeardLib-Editor/Classes/Map/Elements/preplanningelement.lua | Lua | mit | 1,538 |
<?php
namespace Kirby\Database;
use Exception;
use Kirby\Exception\InvalidArgumentException;
use Kirby\Toolkit\A;
use Kirby\Toolkit\Str;
use PDO;
use PDOStatement;
use Throwable;
/**
* A simple database class
*
* @package Kirby Database
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https:/... | mmewen/mewen.fr | kirby/src/Database/Database.php | PHP | mit | 15,031 |
FROM ubuntu:14.04
MAINTAINER Johann Saunier <johann_27@hotmail.fr>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0xcbcb082a1bb943db
RUN echo "deb http://mariadb.mirror.iweb.com/repo/10.0/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/mariadb.list
RUN ap... | ProPheT777/real_time_bidirectional_notification-symfony2-redis-websocket-pubsub | infra/notification/mariadb/Dockerfile | Dockerfile | mit | 809 |
# encoding: UTF-8
require File.dirname(__FILE__) + '/../spec_helper.rb'
# This spec does something rspec isn't really designed to do: it tests data and
# not code. So... it involves a lot of weird stuff like testing to see if a test
# will fail before running the test. If we actually run real rspec tests on all
# tran... | inaturalist/inaturalist | spec/lib/translations_spec.rb | Ruby | mit | 4,235 |
'use strict';
/**
* Import plugins
*/
var gulp = require('gulp'),
$ = require('gulp-load-plugins')(),
runSequence = require('run-sequence'),
argv = require('yargs').argv,
del = require('del');
/**
* Build vendors dependencies
*/
gulp.task('vendors', function() {
/**
* CSS VENDORS
*/
... | CedricCarrard/eventApp | gulpfile.js | JavaScript | mit | 5,135 |
<?php
namespace Sgpg\DocenteBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfon... | crashorbo/SgpgSis | src/Sgpg/DocenteBundle/DependencyInjection/Configuration.php | PHP | mit | 874 |
/*
* @(#)IllegalFormatWidthException.java 1.5 05/11/17
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package java.util;
/**
* Unchecked exception thrown when the format width is a negative value other
* than <tt>-1</tt> or is ... | jgaltidor/VarJ | analyzed_libs/jdk1.6.0_06_src/java/util/IllegalFormatWidthException.java | Java | mit | 940 |
<?php
return array (
'id' => 'samsung_gt_i9100_ver1_suban43',
'fallback' => 'samsung_gt_i9100_ver1',
'capabilities' =>
array (
'device_os_version' => '4.3',
),
);
| cuckata23/wurfl-data | data/samsung_gt_i9100_ver1_suban43.php | PHP | mit | 178 |
export { default } from 'ember-fhir/serializers/appointment-response'; | davekago/ember-fhir | app/serializers/appointment-response.js | JavaScript | mit | 70 |
import random from '../../randomGenerator'
import sendCommand from './commandHelper'
const getTextDocumentData = (textDocumentData) => {
if ('k' in textDocumentData) {
return textDocumentData.k
} else {
return [
{
s: textDocumentData
}
]
}
}
const processText = (textData, layerId) => {
const textD... | bodymovin/bodymovin-extension | src/helpers/importers/lottie/text.js | JavaScript | mit | 1,318 |
# irenicus
| lw7360/irenicus | README.md | Markdown | mit | 11 |
// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
var onReady = function() {
$('table.table a#ping').on('click', function(event) {
var recruiterId = $(this).closest('tr.recruiter-id').attr('id').split('-')[1];
c... | klenwell/recruiters-on-rails | app/assets/javascripts/recruiters.js | JavaScript | mit | 1,777 |
=begin
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
The version of the OpenAPI document: 1.1.2-pre.0
Contact: blah@cliffano.com
Generated by: https://github.com/openapitools/openapi-generator.git
=end
class QueueLeftItem < ApplicationRecord
serialize :actions, Array
end
| cliffano/swaggy-jenkins | clients/ruby-on-rails/generated/app/models/queue_left_item.rb | Ruby | mit | 317 |
import os
import sys
root_path = os.path.abspath("../../../")
if root_path not in sys.path:
sys.path.append(root_path)
import numpy as np
import tensorflow as tf
from _Dist.NeuralNetworks.Base import Generator4d
from _Dist.NeuralNetworks.h_RNN.RNN import Basic3d
from _Dist.NeuralNetworks.NNUtil import Activations... | carefree0910/MachineLearning | _Dist/NeuralNetworks/i_CNN/CNN.py | Python | mit | 3,860 |
<!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... | forstermatth/LIIS | refman/install_2sidebar_8php.html | HTML | mit | 5,102 |
package com.callfire.api11.client.api.calls.model;
import com.callfire.api11.client.api.broadcasts.model.BroadcastConfig;
/**
* Common configuration for voice/ivr broadcasts
*/
public abstract class CallBroadcastConfig extends BroadcastConfig {
}
| CallFire/callfire-api-1.1-client-java | callfire-api-1.1-client-core/src/main/java/com/callfire/api11/client/api/calls/model/CallBroadcastConfig.java | Java | mit | 251 |
/**************************************************************************************************************************
Copyright(C) 2014-2018 www.xionggf.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
files (the "Software"), to d... | kumakoko/KumaGL | klib/kgl_imgui_opengl_bridge.cc | C++ | mit | 22,591 |
var searchData=
[
['bool1',['bool1',['../a00743.html#gaddcd7aa2e30e61af5b38660613d3979e',1,'glm']]],
['bool1x1',['bool1x1',['../a00743.html#ga7f895c936f0c29c8729afbbf22806090',1,'glm']]],
['bool2',['bool2',['../a00743.html#gaa09ab65ec9c3c54305ff502e2b1fe6d9',1,'glm']]],
['bool2x2',['bool2x2',['../a00743.html#ga... | kumakoko/KumaGL | third_lib/glm/0.9.9.5/share/man/html/search/typedefs_1.js | JavaScript | mit | 1,673 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated... | Flexberry/FlexberryORM-DemoApp | Entity Framework 6/EF6Sample/D2.cs | C# | mit | 1,205 |
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("3.... | alex99q/programming-fundamentals-exercises | Methods, Defining and Calling Methods/3. Printing Triangle/Properties/AssemblyInfo.cs | C# | mit | 1,416 |
package com.afcrowther.algorithms.week2;
import java.util.Iterator;
import java.util.NoSuchElementException;
import edu.princeton.cs.algs4.StdRandom;
/**
* Random Queue implementation, utilizes a resizing array data structure
*/
public class RandomizedQueue<Item> implements Iterable<Item> {
private static int M... | afcrowther/algorithms | src/main/java/com/afcrowther/algorithms/week2/RandomizedQueue.java | Java | mit | 3,045 |
/**
* Created by body7 on 10/21/15.
*/
(function () {
'use strict';
angular.module('myApp')
.controller('modifiedController', ['$rootScope','$timeout','Upload','$scope','$state', '$stateParams','DataService', '$modal', '$window',
function($rootScope, $timeout, Upload, $scope, $state, $st... | ming-body7/boluomi-frontend | app/controllers/detail/detail.controller.js | JavaScript | mit | 17,664 |
<?php
namespace Vanessa\CoreBundle\Services;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Monolog\Logger;
/**
* Utility manager
*
* @author Ronald Conco <ronald.conco@gmail.com>
* @version 1.0
* @package VanessaCoreBundle
* @subpackage Services
*/
final class UtilityManager
{
/**
... | sonnybrilliant/zeus-mobigospel | src/Vanessa/CoreBundle/Services/UtilityManager.php | PHP | mit | 3,161 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | coq-bench/coq-bench.github.io-old | clean/Linux-x86_64-4.02.1-1.2.0/unstable/8.5.dev/contrib:generic-environments/dev/index.html | HTML | mit | 3,655 |
package xyz.cafeconleche.web.chica.view;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.itextpdf.text.BadElementException;
import com.itextpdf.text.Document;
import com.it... | topiltzin-butron/chica | src/main/java/xyz/cafeconleche/web/chica/view/PdfView.java | Java | mit | 2,708 |
---
layout: page
title: Talks and Papers
permalink: /talks/
---
## 2017
* [Integrating Xtext and Sirius: Strategies and Pitfalls](https://www.slideshare.net/cbrun/integrating-xtext-and-sirius-strategies-and-pitfalls) at EclipseCon France 2017, Toulouse
* [EcoreTools-Next: Executable DSL made (more) accessible](https:/... | cbrun/cbrun.github.io | talks/index.md | Markdown | mit | 7,397 |
<!DOCTYPE HTML>
<html>
<head>
<title>math.js | an extensive math library for JavaScript and Node.js</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="title" content="math.js">
<meta name="keywords" content="mathjs, math.js, math, js, javascript, node, library, expression,... | jneuendorf/mathJS | info/mathjs.org/docs/reference/functions/sec.html | HTML | mit | 5,751 |
//
// WYJForecastView.h
// Jingjingweather
//
// Created by 王亚静 on 2017/5/5.
// Copyright © 2017年 Wong. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WYJForecastView : UIView
@property (nonatomic, copy) NSArray *forecasts;
@end
| WangYajing/mobile_web | Jingjingweather/Jingjingweather/View/WYJForecastView.h | C | mit | 255 |
/**
* res : successCallback
* rej : failCallback
*/
const promise = new Promise((res, rej) => {
setTimeout(() => {
const name = "alice";
res(name);
}, 1000);
});
promise.then((name) => {
console.log('안녕하세요, ' + name + '님');
});
| JaeGyu/PythonEx_1 | web/node26.js | JavaScript | mit | 274 |
/*! NProgress (c) 2013, Rico Sta. Cruz
* http://ricostacruz.com/nprogress */
;(function(factory) {
if (typeof module === 'function') {
module.exports = factory();
} else if (typeof define === 'function' && define.amd) {
define(factory);
} else {
this.NProgress = factory();
}
})(function() {
v... | ipernet/nprogress | nprogress.js | JavaScript | mit | 11,507 |
/**
* Copyright (c) 2017 - 2018, Nordic Semiconductor ASA
*
* 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 no... | makerdiary/nrf52832-mdk | examples/nrf5-sdk/ble_app_beacon/config/sdk_config.h | C | mit | 311,161 |
!function(e,t,n){"use strict";var r=n.map("map",{center:[33.7527,-84.4095],zoom:12});new n.tileLayer("http://{s}.sm.mapstack.stamen.com/($ff5f00[@p],(parks,$126600[source-in]),(mapbox-water,$00b688[source-in]),(terrain-lines,$99000f[source-in]),(terrain-labels,$662600[source-in])[soft-light])/{z}/{x}/{y}.png",{minZoom:... | cbupp/mapolantern | dist/scripts/main.js | JavaScript | mit | 720 |
const readline = require('readline');
const constants = require('./constants.js');
const authenticate = require('./functions/authenticate.js');
const getMetadata = require('./functions/getMetadata.js');
const downloadRemote = require('./functions/downloadRemote.js');
const error = require('./functions/error.js');
const... | MaartenDesnouck/google-apps-script | lib/link.js | JavaScript | mit | 1,876 |
import { RECORD_DATA_TABLE_STATE_UPDATE, RESET_RECORD_DATA_TABLE_STATE } from './actions'
import { recordDataTableDefaultState, updateRecordDataTableState, updateRecordLockState } from './state'
import { ACTIVE_SURVEY_FETCHED } from 'actions/activeSurvey'
import { RECORD_LOCKED, RECORD_UNLOCKED } from '../actions'
exp... | openforis/collect | collect-webapp/frontend/src/datamanagement/recordDataTable/reducer.js | JavaScript | mit | 919 |
/*globals Foo:true $foo:true */
var obj, moduleOpts = {
setup: function() {
obj = {
foo: {
bar: {
baz: { biff: 'BIFF' }
}
}
};
Foo = {
bar: {
baz: { biff: 'FooBiff' }
}
};
$foo = {
bar: {
baz: { biff: '$FOOBIFF' }
}
... | garth/ember.js | packages/ember-metal/tests/accessors/getPath_test.js | JavaScript | mit | 1,333 |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>... | BuzzAcademy/idioms-moe-unformatted-data | all-data/5000-5999/5170-22.html | HTML | mit | 1,868 |
<?php
namespace Test\Integration;
require_once dirname(__DIR__) . '/Setup.php';
use DateTime;
use Test;
use Test\Setup;
use Braintree;
class TestTransactionTest extends Setup
{
public function setUp(): void
{
parent::setUp();
Braintree\Configuration::environment('development');
}
/... | braintree/braintree_php | tests/integration/TestTransactionTest.php | PHP | mit | 2,915 |
#pragma once
#include <boost/noncopyable.hpp>
#include "../OpenGLInclude.h"
class LightFactory: boost::noncopyable {
public:
LightFactory() :
m_currentLight(GL_LIGHT0) {
}
GLenum getNextLight() {
m_currentLight++;
return m_currentLight;
}
void returnLight(GLenum light) {
// todo
}
private:
int m_c... | poseidn/KungFoo-legacy | src/DescentEngine/src/Visuals/LightFactory.h | C | mit | 336 |
<?php
namespace Todstoychev\CalendarEvents\Models;
use Illuminate\Database\Eloquent\Model;
/**
* RepeatDates model
*
* @package Todstoychev\CalendarEvents\Models
* @author Todor Todorov <todstoychev@gmail.com>
*/
class CalendarEventRepeatDate extends Model
{
/**
* @var string
*/
protected $tab... | todstoychev/calendar-events | src/Models/CalendarEventRepeatDate.php | PHP | mit | 754 |
FROM ubuntu:xenial
MAINTAINER Peter Evans <pete.evans@gmail.com>
ENV OSRM_VERSION 5.13.0
# Let the container know that there is no TTY
ENV DEBIAN_FRONTEND noninteractive
# Install packages
RUN apt-get -y update \
&& apt-get install -y -qq --no-install-recommends \
build-essential \
cmake \
curl \
c... | peter-evans/osrm-backend-docker | archive/1.10/Dockerfile | Dockerfile | mit | 1,295 |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("FileConverterSample")]
[assembly: AssemblyDescription(""... | malaybaku/ChoregrapheProjectIO | FileConverterSample/Properties/AssemblyInfo.cs | C# | mit | 2,939 |
{% extends "layout.html" %}
{% block page_title %}
Apprenticeships
{% endblock %}
{% block content %}
<link href="/public/stylesheets/filtering.css" media="screen" rel="stylesheet" type="text/css" />
<style>
.apprentice-nav a {
{% include "includes/nav-on-state-css.html" %}
}
</style>
<main id="conte... | SkillsFundingAgency/das-alpha-ui | app/views/programmeTwo/apprentice-view/index.html | HTML | mit | 10,250 |
exports.register = (server, options, next) => {
let routes = [
{
method: 'GET',
path: '/{param*}',
handler: { directory: {
path: './web', listing: false, index: true
} }
}, {
method: 'GET',
path: '/client.bundle.js',
handler: (request, reply) => {
repl... | ParthaBoocha/service-registry | server/web/routes/web.js | JavaScript | mit | 930 |
<link rel="stylesheet" type="text/css" href="/Public/Home/Css/showOrder.css?v=0.2">
<div class="container">
<div class="suibian">
<ul class="middle_nav">
<li><a href="/User/showUser">我的资料</a></li>
<li><a href="/Good/getUserList">商品管理</a></li>
<li><a href="/Beg/getUserList">求购管理</a></li>
<l... | hookidea/yiwukongjian | Application/Home/View/Order/showOrder.html | HTML | mit | 15,806 |
# CMPGeniusPicker
# Demo

## Installation
To install it, simply add the following line to your Podfile:
```ruby
pod 'CMPGeniusPicker', :git => 'git@github.com:qeychon/CMPGeniusPicker.git'
```
or copy the sources files in ... | qeychon/CMPGeniusPicker | README.md | Markdown | mit | 2,577 |
///**
//* Forgot Component Spec Test
//*/
//
//
//'use strict';
//
//var React = require('react');
//var ForgotComponent = React.createFactory(require('../../../../client/scripts/components/account/forgot.jsx'));
//
//describe('Forgot Component', function() {
//
// var ReactTestUtils;
// var reactRender;
//
// bef... | shalomeir/generator-snippod-hackathon | test/spec/components/account/forgot.spec.js | JavaScript | mit | 683 |
<!DOCTYPE html>
<html class="theme-next gemini use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.8.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-col... | jiyangg/jiyangg.github.io | tags/哈希/index.html | HTML | mit | 25,385 |
//
// WBLeaderBoardFavoriteDataSource.h
// WestBlueGolf
//
// Created by Mike Harlow on 3/6/14.
// Copyright (c) 2014 Mike Harlow. All rights reserved.
//
#import "WBLeaderBoardDataSource.h"
@interface WBLeaderBoardFavoriteDataSource : WBLeaderBoardDataSource
@end
| tahoeWolverine/WestBlueGolfLeague | WestBlueGolf/WestBlueGolf/WBLeaderBoardFavoriteDataSource.h | C | mit | 272 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Display Debug backtrace
|--------------------------------------------------------------------------
|
| If set to TRUE, a backtrace will be displayed along with php err... | mogurbon/searchtweetdeck | application/config/constants.php | PHP | mit | 4,600 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | v8-dox/v8-dox.github.io | 588040d/html/classv8_1_1_assert_no_g_c_scope.html | HTML | mit | 4,948 |
<?php
namespace Bukoli;
use Bukoli\Exception\ServicePasswordException;
use DateTimeZone;
class Bukoli
{
private static $defaultUrl = 'https://bukoli.borusan.com/IntegrationServiceTest/JetonOrderService.asmx?wsdl';
/**
* WSDL url
*
* @var string
*/
protected static $url;
/**
... | bukoli/bukoli-php | src/Bukoli.php | PHP | mit | 2,164 |
# Example ServerSpec to InSpec Migration
[](https://circleci.com/gh/bonusbits/example_serverspec_to_inspec)
[
def self.check_implement... | somebody32/adequack | lib/adequack.rb | Ruby | mit | 468 |
//===--------------------------------------------------------------------------------*- C++ -*-===//
// _____ _
// / ____| (_)
// | (___ ___ __ _ _ _ ___ _ __ _
// \___ \ / _ \... | thfabian/sequoia | sequoia-engine/src/sequoia-engine/Render/RenderRessource.h | C | mit | 3,055 |
/*
* Copyright 2017 Hewlett-Packard Development Company, L.P.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | bamh/hpe-application-automation-tools-plugin | src/main/java/com/hpe/application/automation/tools/octane/actions/dto/AutomatedTest.java | Java | mit | 3,641 |
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keywords" content=" ">
<title>Get Default Predefined Content Items | LivePerson Technical Document... | LivePersonInc/dev-hub | content_ga3/account-configuration-predefined-content-get-default-items.html | HTML | mit | 175,353 |
---
layout: page
title: Últimos Posts
excerpt: "A simple and clean responsive Jekyll theme for words and photos."
---
<ul class="post-list">
{% for post in site.posts limit:10 %}
<li><article><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmls... | robsonbittencourt/rbittencourt.com | index.html | HTML | mit | 417 |
ShayganAffiliateBundle
===================
A simple **Symfony Affiliate Bundle**.
This ~~FOSUserBundle compatible~~ Bundle tracks referrals with query string
parameter and detect referred registrations via cookie. You can easil ask
the bundle for commission amount (if there is any referrer) and apply the amount
to re... | Shaygan/AffiliateBundle | README.md | Markdown | mit | 2,637 |
# Tools Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
## 2.0.0 - 2018-08-02
### Added
- Initial Craft CMS 3 release
## 2.1.0 - 2018-11-13
### ... | supercool/Tools | CHANGELOG.md | Markdown | mit | 611 |
---
layout: post
title: "Adding unit tests to an MVP project, for fake internet points"
comments: true
categories: former-life
published: true
disqus: y
tags: android testing
---
You know what's worse than creating a demo project about MVP and testing without actual tests? Posting said project to [/r/androiddev](https... | anas-ambri/anas-ambri.github.io | _posts/former-life/2016-09-15-adding-unit-tests-to-MVP-project.md | Markdown | mit | 21,722 |
require 'test_helper'
class DevEventTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
| istvan-antal/open-data-certificate | test/unit/dev_event_test.rb | Ruby | mit | 122 |
import re
import functools
from slackbot.bot import respond_to
from app.modules.shogi_input import ShogiInput, UserDifferentException, KomaCannotMoveException
from app.modules.shogi_output import ShogiOutput
from app.slack_utils.user import User
from app.helper import channel_info, should_exist_shogi
@respond_to('... | setokinto/slack-shogi | app/shogi.py | Python | mit | 4,557 |
<?php
namespace Opensearch;
/*
* 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, V... | xkxk1248/opensearch | CloudsearchIndex.php | PHP | mit | 6,626 |
version https://git-lfs.github.com/spec/v1
oid sha256:3174031dbf1b5143f26c5323bd5b2f0e6845efabf494ae2ed9641bbb2c186e85
size 1053
| yogeshsaroya/new-cdnjs | ajax/libs/codemirror/3.19.0/addon/fold/indent-fold.js | JavaScript | mit | 129 |
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Mileage.Server.Contracts.Commands;
using Mileage.Server.Contracts.Commands.Users;
using Mileage.Server.Infrastructure.Api.Filters;
using Mileage.Server.Infrastructure.Commands.Users;
using Mileage.Server.Infrastructure.... | haefele/Mileage | src/03 Server/Mileage.Server.Infrastructure/Api/Controllers/UsersController.cs | C# | mit | 1,760 |
{% extends "base.html" %}
{% load static %}
{% block extra_head %}
<style>
#chart_zoom g.stack._0 > rect.bar {
stroke: none;
fill: blue;
}
#chart_zoom g.stack._1 > rect.bar {
stroke: none;
fill: red;
}
#chart_zoom g.stack._2 > rect.bar {
stroke: none;
fill: green;
}
#chart_zoom g.dc-legend-ite... | state-hiu/ittc-server-django | ittc/cache/templates/cache/stats_dashboard.html | HTML | mit | 11,900 |
Article 46
Ti=Supervisory authority
1.sec=Each Member State shall provide that one or more public authorities are responsible for monitoring the application of this Regulation and for contributing to its consistent application throughout the Union, in order to protect the fundamental rights and freedoms of natural pe... | CommonAccord/Cmacc-Org | Doc/Wx/eu/europa/europarl/2012-0011/Article/46_v0.md | Markdown | mit | 1,236 |
//
// XYO Build
//
// Copyright (c) 2014 Grigore Stefan, <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// The MIT License (MIT) <http://opensource.org/licenses/MIT>
//
function Solution() {
.name_="";
.project_= {};
.option_= {};
.dependencyOption_= {};
.projectBasePath_=null;
.projec... | kidaa/xyo-build | xyo-build.include/solution.js | JavaScript | mit | 2,065 |
# Azure Hybrid Worker Management
## Add-HybridWorker.ps1
The Add-HybridWorker cmdlet registers a system as a Hybrid worker, this
script requires that the OMS Agent is already installed on the system.
## Remove-HybridWorker.ps1
The Remove-HybridWorker cmdlet removes a system as a Hybrid worker. This
script requires ... | alexverboon/posh | Azure/Automation/Hybrid/readme.md | Markdown | mit | 872 |
#!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import argparse
import collections
import os
import re
import torch
from fairseq.file_io import PathManager
def aver... | pytorch/fairseq | scripts/average_checkpoints.py | Python | mit | 6,075 |
<?php
namespace oscarpalmer\Yogurt\Dairy;
abstract class Worker
{
/**
* @var string Useful regexes and strings.
*/
const ELSE_REGEX = "/<!--\s*else\s*-->/";
const ELSEIF_REGEX = "/<!--\s*elseif.*?-->/";
const ELSEIF_END_REGEX = "\s*|)-->\z/";
const ELSEIF_START_REGEX = "/\A<!--\s*elseif\... | oscarpalmer/yogurt | src/oscarpalmer/Yogurt/Dairy/Worker.php | PHP | mit | 3,698 |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Row } from 'react-bootstrap';
import KeyBinding from 'react-keybinding-component';
import Header from './Header/Header.react';
import Footer from './Footer/Footer.react';
import Toasts from './Toasts/Toasts.react';
import lib fr... | MrBlenny/museeks | src/renderer/components/App.react.js | JavaScript | mit | 2,840 |
/**
* System configuration for Angular 2 samples
* Adjust as necessary for your application needs.
*/
(function(global) {
// map tells the System loader where to look for things
var map = {
'app': 'app', // 'dist',
'@angular': 'node_modules/@angular',
'angul... | allenRoyston/phaser-angular2 | public/systemjs.config.js | JavaScript | mit | 1,889 |
<?php
/*
* This file is part of the Sociable package.
*
* Copyright 2013 by Sébastien Pujadas
*
* For the full copyright and licence information, please view the LICENCE
* file that was distributed with this source code.
*/
namespace Sociable\Tests\Model;
use Sociable\Utility\StringValidator;
class StringVal... | spujadas/sociable | tests/Sociable/Tests/Model/StringValidatorTest.php | PHP | mit | 1,948 |
require "ruby-extensions/version"
require "ruby-extensions/rails"
class Module
def define_constants(constants_array_name, constants_array, options = {})
constants_array = constants_array.map(&:to_s)
# define array of constants
class_eval "#{constants_array_name.upcase} = [#{constants_array.map{ |constant... | MrRaffnix/ruby-extensions | lib/ruby-extensions.rb | Ruby | mit | 1,000 |
#include <stdio.h>
#include "minunit.h"
#include "FIZZBUZZ.h"
#define KNRM "\x1B[0m"
#define KRED "\x1B[31m"
#define KGRN "\x1B[32m"
#define KYEL "\x1B[33m"
#define KBLU "\x1B[34m"
#define KMAG "\x1B[35m"
#define KCYN "\x1B[36m"
#define KWHT "\x1B[37m"
#define RESET "\033[0m"
int testsRun = 0;
static char * ... | miker1423/advanceprogramming-2017 | KATA6/test_FIZZBUZZ.c | C | mit | 1,095 |
require "ember-devise-bootstrap/engine"
module EmberDeviseBootstrap
end
| technomage/ember-devise-bootstrap | lib/ember-devise-bootstrap.rb | Ruby | mit | 73 |
<?php
/*
* Template Name: Payment Success
*/
/**
* @package WordPress
* @subpackage Traveler
* @since 1.0
*
* Template Name : Payment success
*
* Created by ShineTheme
*
*/
$order_code = STInput::get('order_code');
$user_id=get_current_user_id();
... | ntamvl/vemaybaygiareonline | wp-content/themes/traveler/template-payment-success.php | PHP | mit | 15,189 |
<!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... | waitman/red | doc/html/editpost_8php.html | HTML | mit | 6,316 |
import varianceOf from "./variance-of";
export default function standardDeviationOf(array, callback) {
let variance = varianceOf(array, callback);
return variance ? Math.sqrt(variance) : false;
} | andrewcourtice/vuetiful | src/utilities/standard-deviation-of.js | JavaScript | mit | 205 |
{% extends '../base.html' %}
{% block title %}
<title>
Agregar Número
</title>
{% endblock %}
{% block content %}
<h2>Agregar número telefónico</h2>
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Agregar</button>
</form>
<a href... | rafaelmv/smsuela | home/templates/home/new_number.html | HTML | mit | 489 |
//
// PicView.h
// BirdFight
//
// Created by 聚米 on 16/11/7.
// Copyright © 2016年 聚米. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void (^TapBlcok)(NSInteger index,NSArray *dataSource,NSIndexPath *indexpath);
@interface PicView : UIView
@property (nonatomic, copy)TapBlcok tapBlock;
@property (nonat... | jumi2016/birdfight | BirdFight/PicView.h | C | mit | 1,173 |
<?php
abstract class Test
{
////=> simple
public function test()
{
}
////=> simple-static
public static function test2()
{
}
////=> constructor-no-vis
function __construct()
{
}
////=> abstract-simple
abstract public function getName();
////=> abstract-st... | neild3r/vscode-php-docblocker | test/fixtures/functions.php | PHP | mit | 5,493 |
# split
Repo for Split
Adding stuff here
| demianborba/split | README.md | Markdown | mit | 43 |
using System.Net;
using FluentAssertions;
using JsonApiDotNetCore.Serialization.Objects;
using TestBuildingBlocks;
using Xunit;
namespace JsonApiDotNetCoreTests.IntegrationTests.ControllerActionResults;
public sealed class ActionResultTests : IClassFixture<IntegrationTestContext<TestableStartup<ActionResultDbContext>... | json-api-dotnet/JsonApiDotNetCore | test/JsonApiDotNetCoreTests/IntegrationTests/ControllerActionResults/ActionResultTests.cs | C# | mit | 5,636 |
package io.github.nasso.nhengine.graphics.opengl;
import org.lwjgl.opengl.GL30;
public class OGLRenderTarget2D {
private OGLFramebuffer2D fbo = null;
private OGLTexture2D colorTexture = null;
public OGLRenderTarget2D(OGLTexture2D colorTexture) {
this.fbo = new OGLFramebuffer2D();
this.setColorTexture(colo... | Nasso/nhengine | src/io/github/nasso/nhengine/graphics/opengl/OGLRenderTarget2D.java | Java | mit | 920 |
declare namespace java {
namespace awt {
namespace geom {
class Rectangle2D$Double extends java.awt.geom.Rectangle2D implements java.io.Serializable {
public x: double
public y: double
public width: double
public height: double
public constructor()
public con... | wizawu/1c | @types/jdk/java.awt.geom.Rectangle2D$Double.d.ts | TypeScript | mit | 1,246 |
<?php
namespace spec\Sylius\Bundle\CoreBundle\Doctrine\ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\QueryBuilder;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\ORM\EntityManager;
use Sylius\Component\Core\Model\ChannelInterface;
use S... | Symfomany/Sylius | src/Sylius/Bundle/CoreBundle/spec/Doctrine/ORM/PaymentMethodRepositorySpec.php | PHP | mit | 1,999 |
package org.jfree.layout;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Insets;
import java.awt.LayoutManager;
import java.io.Serializable;
public class CenterLayout implements LayoutManager, Serializable {
private static final long serialVersionUID = 46931953233... | ivanshen/Who-Are-You-Really | org/jfree/layout/CenterLayout.java | Java | mit | 2,557 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.