repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
JohnGrekso/GeckoUBL | src/GeckoUBL/Ubl21/Cac/BillingReferenceType.cs | 1419 | namespace GeckoUBL.Ubl21.Cac
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespa... | mit |
pivotus/blog.pivot.us | _posts/articles/2015-05-08-keen-io-incelemesi.md | 2173 | ---
layout: post
title: "Keen IO İncelemesi"
excerpt:
categories: articles
tags: [keen, event]
modified:
image:
feature:
comments: true
share: true
author: dilara
---
**Keen IO**, mantıksal analiz için kullanılan bir servistir. Yapılan iş kısaca şöyledir; veriler herhangi bir platformdan
servise gönderilir, servis t... | mit |
kromitj/kromitj.github.io | blog/arrays-hashes.html | 8419 | <!DOCTYPE html>
<html>
<head>
<title>Mitch Kroska</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="../stylesheets/default.css">
<link rel="stylesheet" href="../stylesheets/blog.css">
<link href="../stylesheets/p... | mit |
Colorsublime/colorsublime.github.io | _themes/TronLegacy.md | 131 | ---
Author: ""
Description: ""
FileName: "TronLegacy.tmTheme"
ID: "TronLegacy"
Title: "TronLegacy"
layout: theme
---
| mit |
FractalFlows/Emergence | app/imports/client/Pages/User/container.js | 242 | import composeWithTracker from 'compose-with-tracker'
import { Meteor } from 'meteor/meteor'
export default composeWithTracker((props, onData) => {
onData(null, {
isLoggingIn: Meteor.loggingIn(),
user: Meteor.user() || {},
})
})
| mit |
astro313/uvmcmcfit | docs/_build/html/docs/cdfs_m0-bestfit.html | 11686 | <!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/html; charset=utf-8" />
<title>Plot the Best-fit Model — uvmcmcfit 0.1 docum... | mit |
posix4e/electron | atom/common/api/resources/windows_bindings.js | 1251 | var ipc = require('ipc_utils')
var id = 1;
var binding = {
getCurrent: function () {
var cb, getInfo;
if (arguments.length == 1) {
cb = arguments[0]
} else {
getInfo = arguments[0]
cb = arguments[1]
}
var responseId = ++id
ipc.once('chrome-windows-get-current-response-' + ... | mit |
CuiZhiying/CuiZhiying.github.io | 404.html | 10567 | <!doctype html>
<html class="theme-next pisces use-motion" lang="zh-Hans">
<head>
<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 http-equiv="Cache-Control" content="no-transfo... | mit |
yuriadams/smssender | server.go | 797 | package main
import (
"flag"
"fmt"
"log"
"net/http"
"github.com/julienschmidt/httprouter"
"github.com/yuriadams/smssender/api/controllers"
)
var (
logOn *bool
port *int
urlBase string
)
func init() {
domain := flag.String("d", "localhost", "domain")
port = flag.Int("p", 8888, "port")
logOn = flag.B... | mit |
hellomrma/playground | html5_video_controller/src/index.html | 285 | <!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>HTML5 Video Controller by Javascript</title>
</head>
<body>
<script>
window.location = "/views/video_controller.html";
</script>
</body>
</html> | mit |
onsabimana/py-pesa | README.md | 457 | # py-pesa
A python implementation of M-PESA API. M-PESA is the brand of the most popular mobile money service in Kenya and Africa owned and operated by SAFARICOM. Various mobile money services exist across Africa under different names such as MTN Mobile Money, TIGO cash...
SAFARICOM has not yet provided client API for ... | mit |
dwrensha/capnproto-rust | capnpc/CHANGELOG.md | 4005 | ### v0.14.4
- Check that schema files exist before attempting to invoke the schema compiler.
### v0.14.3
- Include LICENSE in published crate.
### v0.14.2
- Add CompilerCommand::default_parent_module() option.
- Add codegen::CodeGenerationCommand and deprecate codegen::generate_code().
### v0.14.1
- Get generated co... | mit |
microsoftgraph/msgraph-sdk-java | src/main/java/com/microsoft/graph/requests/ReportRootGetYammerActivityCountsRequestBuilder.java | 3693 | // Template Source: BaseMethodRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------... | mit |
pjamieson/react-redux-landing-page | vendor/bootstrap-3.3.7/css/bootstrap.css | 25789 | /*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=8631600c08d9fb978eeee4d072317454)
* Config saved to config.json... | mit |
viktorkh/elastickit_express | node_modules/searchkit/lib/src/__test__/core/accessors/StatefulAccessorSpec.js | 3647 | "use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var _this = this;
var _1 = require("../../../");... | mit |
MDBK/LiveData | src/LiveData/Bundle/ShopBundle/Entity/Customer.php | 4980 | <?php
namespace LiveData\Bundle\ShopBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Customer
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="LiveData\Bundle\ShopBundle\Entity\CustomerRepository")
*/
class Customer
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @O... | mit |
arrc/obbp | public/app/views/message/message-dialog.html | 366 | <section>
<div class="row">
<h3>Send message</h3>
<form ng-submit="sendMessage()">
<p>{{ fullName }}</p>
<input type="hidden" ng-model="messageData.receiver" value="56bc3484c3ec91071c4dffa2">
<input type="text" ng-model="messageData.message">
<input type="submit" class="button small" ... | mit |
viktorkh/elastickit_express | node_modules/searchkit/test/e2e/server/apps/playground/index.tsx | 12381 | const {
SearchkitManager,SearchkitProvider,
SearchBox, Hits, RefinementListFilter, Pagination,
CheckboxFilter,
HierarchicalMenuFilter, HitsStats, SortingSelector, NoHits,
GroupedSelectedFilters, SelectedFilters, ResetFilters,
RangeFilter, NumericRefinementListFilter,
ViewSwitcherHits, ViewSwitcherToggle, ... | mit |
pholser/junit-quickcheck | core/src/test/java/com/pholser/junit/quickcheck/runner/PropertyFalsifiedUtilityClassTest.java | 7581 | /*
The MIT License
Copyright (c) 2010-2021 Paul R. Holser, Jr.
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, mod... | mit |
schumann2k/BorderControl | BorderControl/Program.cs | 514 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BorderControl
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static vo... | mit |
ZackRave-N/Peasant | unitTests/JsonRendererTest.php | 940 | <?php
/*
* Peasant
* Copyright 2015 Norbert Zakariás (A.K.A. ZackRave-N). All Rights Reserved.
* This program is free software. You can redistribute and/or modify it in
* accordance with the terms of the accompanying license agreement.
*/
require_once('lib/com/zrnprojects/peasant/renderer/IRenderer.php');... | mit |
emmertf/OpenBlocks | src/main/java/openblocks/client/model/ModelCraneBackpack.java | 8011 | package openblocks.client.model;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityOtherPlayerMP;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.client.renderer.ent... | mit |
burennto/tennis-highlights-maker | src/util/time_util.rb | 338 | class TimeUtil
def self.timestamp_to_seconds(timestamp)
hours, minutes, seconds = timestamp.split(':').map(&:to_i)
hours * 3600 + minutes * 60 + seconds
end
def self.seconds_to_timestamp(seconds)
hours, remainder = seconds.divmod(3600)
minutes, seconds = remainder.divmod(60)
"#{hours}:#{min... | mit |
UIUXEngineering/ix-material | libs/z_deprecated-cdk/store/src/indexed-table/reducers/create-table-item.spec.ts | 2343 | /**
* @license
* Copyright UIUX Engineering All Rights Reserved.
*/
import { createIndexDict } from './create-indexed-dict';
import { IIndexedItem, IIndexedItemDict, IIndexedTableItem } from './interfaces';
import { createTableItem } from './create-table-item';
import { hasValue } from '@uiux/cdk/value';
describe(... | mit |
blue-systems-group/project.maybe.java.client | src/main/java/edu/buffalo/cse/maybeclient/rest/ServiceFactory.java | 505 | package edu.buffalo.cse.maybeclient.rest;
import retrofit.GsonConverterFactory;
import retrofit.Retrofit;
/**
* Created by xcv58 on 10/15/15.
*/
public class ServiceFactory {
public static <T> T createRetrofitService(final Class<T> clazz, final String endPoint) {
final Retrofit retrofit = new Retrofit.B... | mit |
chingchai/workshop | leaflet/condata.php | 1942 | <?php
//-------------------------------------------------------------
// * Name: PHP-PostGIS2GeoJSON v2
// * Purpose: GeoLab
// * Date: 2018/10/18
// * Author: Chingchai Humhong (chingchaih@nu.ac.th)
// * Acknowledgement:
//-------------------------------------------------------------
// Database connection setting... | mit |
sureshbvn/nlpProject | SVM_A/svm.py | 891 | import os
import sys
import numpy as np
import properties
svm = properties.svm_path
model = properties.svm_model_path
output = properties.svm_output_path
config = []
config.append("bsvm-train.exe")
config.append("bsvm-predict.exe")
t = " -t 1 "
c = " -c 1 "
m = " -m 1024 "
w0 = " -w0 0.0384 "
w1 = " -w1 1.136 "
w2 = "... | mit |
Attrash-Islam/infinite-autocomplete | src/onDocumentClick/index.js | 612 | import { curry } from 'lodash/fp';
const checkIfClickedOutSideContainer = (containerEle, element) => {
if (!element) {
return true;
} else if (element === containerEle) {
return false;
} else {
return checkIfClickedOutSideContainer(containerEle, element.parentNode);
}
}
const o... | mit |
crowdworks/elasticsearch-model-extensions | spec/setup/articles_with_comments.rb | 2214 | load 'setup/undefine.rb'
require 'elasticsearch/model/extensions/all'
ActiveRecord::Schema.define(:version => 1) do
create_table :articles do |t|
t.string :title
t.datetime :created_at, :default => 'NOW()'
end
create_table :comments do |t|
t.integer :article_id
t.string :body
t.datetime :cr... | mit |
sergpolly/Thermal_adapt_scripts | composition_analysis_Thermo.py | 11114 | import pandas as pd
import os
import subprocess as sub
import re
import sys
from Bio import SeqUtils
import matplotlib.pyplot as plt
import numpy as np
from scipy import stats
path = os.path.join(os.path.expanduser('~'),'GENOMES_BACTER_RELEASE69/genbank')
# ['DbxRefs','Description','FeaturesNum','GenomicID','Genomi... | mit |
dman7/machine-learning-as-a-service | config/initializers/secret_token.rb | 679 | # Be sure to restart your server when you modify this file.
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to diction... | mit |
armandgray/SeeMe | SeeMe/app/src/main/java/com/armandgray/seeme/views/NotesFragment.java | 7802 | package com.armandgray.seeme.views;
import android.content.BroadcastReceiver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.suppo... | mit |
Mashape/analytics-agent-jquery | src/jquery.analytics.js | 11673 | /*!
* jquery.analytics.js
* API Analytics agent for jQuery
* https://github.com/Mashape/analytics-jquery-agent
*
* Copyright (c) 2015, Mashape (https://www.mashape.com)
* Released under the @LICENSE license
* https://github.com/Mashape/analytics-jquery-agent/blob/master/LICENSE
*
* @version @VERSION
* @date @... | mit |
markosamuli/osx-dev-setup | markosamuli_workstation/recipes/tmux.rb | 92 | include_recipe "markosamuli_workstation::git"
brew "tmux"
brew "reattach-to-user-namespace"
| mit |
nunull/WeatherStats | docs/javadoc/de/szut/weather/package-use.html | 5447 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_65) on Mon Mar 31 11:12:23 CEST 2014 -->
<TITLE>
Uses of Package de.szut.weather
</TITLE>
<META NAME="date" CONTENT="2014-03-31">
<LINK REL ="style... | mit |
ui-router/ui-router.github.io | _ng1_docs/1.0.0/modules/view.html | 23634 | ---
redirect_from: /docs/1.0.0/modules/view.html
---
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>view | @uirouter/angularjs</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, ini... | mit |
bigfont/2013-128CG-Vendord | HelpfulStuff/rapi2-86240/RAPI2/RAPI2TestM/Properties/AssemblyInfo.cs | 1395 | 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("RA... | mit |
Smolations/more-dash-docsets | docsets/Java 5.docset/Contents/Resources/Documents/javax/naming/ldap/UnsolicitedNotification.html | 13780 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<meta name="collection" content="api">
<!-- Generated by javadoc (build 1.5.0-rc) on Wed Aug 11 07:23:59 PDT 2004 -->
<TITLE>
UnsolicitedNotification (Java 2 Platform SE 5.0)
</TITLE>
<ME... | mit |
humzashah/arma_fixer | samples/arma_fixer.rb | 1355 | # An initializer like this can go into your Rails project's config/initializers/ folder
#
require 'arma_fixer'
module ArmaFixer
# APP = YourRailsAppName::Application
#
# Depending on which gem you are using for your attachments, you will need a your own criteria of what is a valid file.
# ATTR_CHECKER = -> (at... | mit |
seratch/jslack | bolt/src/test/java/test_locally/app/DialogSuggestionTest.java | 4212 | package test_locally.app;
import com.slack.api.Slack;
import com.slack.api.SlackConfig;
import com.slack.api.app_backend.SlackSignature;
import com.slack.api.app_backend.dialogs.response.Option;
import com.slack.api.bolt.App;
import com.slack.api.bolt.AppConfig;
import com.slack.api.bolt.request.RequestHeaders;
import... | mit |
Smiithx/facturacion | app/Http/Controllers/ManualServiciosController.php | 8987 | <?php
namespace App\Http\Controllers;
use App\Manuales;
use App\Manuales_servicios;
use App\Servicios;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redirect;
class ManualServiciosController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
/**
... | mit |
Xaer033/YellowSign | YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Farseer/Dynamics/Joints/DistanceJoint.cs | 11561 | /*
* Farseer Physics Engine:
* Copyright (c) 2012 Ian Qvist
*
* Original source Box2D:
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of t... | mit |
keeko/tools | src/generator/serializer/TypeInferencerGenerator.php | 2783 | <?php
namespace keeko\tools\generator\serializer;
use gossi\codegen\model\PhpClass;
use gossi\codegen\model\PhpMethod;
use gossi\codegen\model\PhpParameter;
use keeko\framework\utils\NameUtils;
use gossi\codegen\model\PhpProperty;
class TypeInferencerGenerator extends AbstractSerializerGenerator {
public function g... | mit |
eaceaser/discord-akka | src/main/scala/state/GuildState.scala | 501 | package com.tehasdf.discord.state
import java.math.BigInteger
import com.tehasdf.discord.model._
import monocle.macros.GenLens
object GuildState {
object Optics {
val presences = GenLens[GuildState](_.presences)
val members = GenLens[GuildState](_.members)
}
}
case class GuildState(guild: Guild,
... | mit |
hiramsoft/es6-ng-twbs-gulp-start | src/main/es6/controllers.js | 356 | var moduleName = "ngApp.controllers";
import timeCtrl from './controller/time-controller.js';
// import yourCtrlHere from './controller/your-controller';
var ctrls = Array.from([
//yourCtrlHere,
timeCtrl
]);
var app = angular.module(moduleName, []);
for(var ctrl of ctrls){
app.controller(ctrl.name, ctrl... | mit |
nkmk/python-snippets | notebook/pandas_merge_join.py | 5590 | import pandas as pd
df_ab = pd.DataFrame({'a': ['a_1', 'a_2', 'a_3'], 'b': ['b_1', 'b_2', 'b_3']})
df_ac = pd.DataFrame({'a': ['a_1', 'a_2', 'a_4'], 'c': ['c_1', 'c_2', 'c_4']})
print(df_ab)
# a b
# 0 a_1 b_1
# 1 a_2 b_2
# 2 a_3 b_3
print(df_ac)
# a c
# 0 a_1 c_1
# 1 a_2 c_2
# 2 a_4 c_4
... | mit |
alb-i986/HorseBettingSystem | src/main/java/me/alb_i986/hbs/utils/Utility.java | 309 | package me.alb_i986.hbs.utils;
import java.util.*;
public class Utility {
public static List<String> stringToList(String input){
List<String> list = new ArrayList<String>();
for(String element : input.split("-")) {
list.add(element);
}
return list;
}
}
| mit |
Crimx/crx-saladict | src/components/dictionaries/mojidict/engine.ts | 5361 | import {
SearchFunction,
GetSrcPageFunction,
handleNoResult,
handleNetWorkError
} from '../helpers'
import axios, { AxiosResponse } from 'axios'
export const getSrcPage: GetSrcPageFunction = async text => {
const suggests = await getSuggests(text).catch(() => null)
if (suggests) {
const tarId =
s... | mit |
nchicas/Combinado | Combinado/Pages/PurchaseOrderPage.cs | 1030 | using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace Combinado
{
public partial class PurchaseOrderPage : ContentPage
{
private List<Product> products;
private List<Client> clients;
public PurchaseOrderPage ()
{
Title = "Pedido";
InitializeComponents ().ConfigureAwait(false... | mit |
fs/codeclimate_ci | lib/codeclimate_ci/cli.rb | 1219 | require 'thor'
module CodeclimateCi
class CLI < Thor
method_option :codeclimate_api_token, required: true
method_option :repo_id, required: true
method_option :branch_name
method_option :retry_count
method_option :sleep_time
desc('check', 'Check code quality with CodeClimate')
def check... | mit |
cliffano/swaggy-jenkins | clients/python/generated/docs/BaseApi.md | 2450 | # swaggyjenkins.BaseApi
All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
[**get_crumb**](BaseApi.md#get_crumb) | **GET** /crumbIssuer/api/json |
# **get_crumb**
> DefaultCrumbIssuer get_crumb()
Retrieve CSRF protection token
### Examp... | mit |
afreeorange/log | posts/2018/on-the-turing-completeness-of-powerpoint.md | 462 | ---
date: 2018-04-28 16:17:57
title: On the Turing-Completeness of PowerPoint
category: links
tags:
- powerpoint
- computer science
- sigbovik
---
A tongue-in-cheek presentation [on the Turing-Completeness of Powerpoint](https://www.youtube.com/watch?v=uNjxe8ShM-8). This is some astounding PowerPoint-fu. R... | mit |
perfidia/screensketch | src/screensketch/screenspec/model.py | 7161 | '''
Created on Apr 28, 2011
@author: Bartosz Alchimowicz
'''
############################
# Collection #
############################
class ScreenSpec(object):
def __init__(self):
self.children = []
def append(self, screen):
assert isinstance(screen, Screen)
self.children.append(screen)
re... | mit |
coinstar/star | src/qt/locale/bitcoin_en.ts | 124082 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About StarCoin</source>
<translation>About StarCoin</translation>
</message>
<messa... | mit |
yonglehou/sharpsnmplib | snmpd/MainForm.cs | 11042 | /*
* Created by SharpDevelop.
* User: lexli
* Date: 2008-12-14
* Time: 14:08
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using Syste... | mit |
Roave/RoaveDeveloperTools | test/RoaveTest/DeveloperTools/Inspection/TimeInspectionTest.php | 1640 | <?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... | mit |
anqh/anqh | modules/forum/classes/anqh/model/forum/topic.php | 10580 | <?php defined('SYSPATH') or die('No direct script access.');
/**
* Forum Topic model
*
* @package Forum
* @author Antti Qvickström
* @copyright (c) 2010-2013 Antti Qvickström
* @license http://www.opensource.org/licenses/mit-license.php MIT license
*/
class Anqh_Model_Forum_Topic extends AutoModeler_O... | mit |
kaecyra/app-common | src/Log/FilesystemLogger.php | 2570 | <?php
/**
* @author Tim Gunter <tim@vanillaforums.com>
* @copyright 2016 Tim Gunter
* @license MIT
*/
namespace Kaecyra\AppCommon\Log;
/**
* A logger that writes to the filesystem.
*
* @package app-common
* @since 1.0
*/
class FilesystemLogger extends BaseLogger {
/**
* File path
* @var strin... | mit |
mushishi78/jupiter | getting-started.html | 813 | ---
title: Getting Started
template: article
prev:
link: index.html
label: What is it?
next:
link: writing-content
label: Writing Content
---
# Getting Started
1. [Download Jupiter](http://github.com/mushishi78/jupiter/archive/master.zip) or clone git repository:
```
git clone http://github.com/mushishi78... | mit |
ChandlerHCSmith/ChandlerHCSmith.github.io | improved_website_pro/stylesheets/pro_index_portfolio.css | 2423 |
body {
background-color: #FFF;
}
/* Header */
.header {
width: 100%;
height: 100px;
background-color: #000;
margin: 0px;
border: 2px solid #000;
border-radius: 5px;
display: block;
}
.header h1 {
font-family: cursive;
text-shadow: 4px 4px 6px #FFF;
font-size: 36px;
color: #FFF;
float: left;
padding-... | mit |
JoakimRW/ExamensArbeteTD | core/src/com/mygdx/game/entites/entitiycomponents/SpriteComponent.java | 286 | package com.mygdx.game.entites.entitiycomponents;
import com.badlogic.ashley.core.Component;
import com.badlogic.gdx.graphics.g2d.Sprite;
public class SpriteComponent implements Component {
public Sprite sprite;
public SpriteComponent(Sprite sprite){
this.sprite = sprite;
}
}
| mit |
aunderwo/sobc-refinery | vendor/plugins/images/app/models/image.rb | 1414 | class Image < ActiveRecord::Base
has_many :pages
has_attachment :content_type => :image,
:storage => :file_system,
:path_prefix => 'public/system/images',
:processor => 'Rmagick',
:thumbnails => ((((thumbnails = RefinerySetting.find_or_set(:i... | mit |
fousheezy/auth | module/FzyAuth/src/FzyAuth/Validator/PasswordIdentical.php | 441 | <?php
/**
* Created by PhpStorm.
* User: brian
* Date: 8/18/14
* Time: 11:19 AM
*/
namespace FzyAuth\Validator;
use Zend\Validator\Identical;
class PasswordIdentical extends Identical
{
/**
* Error messages
* @var array
*/
protected $messageTemplates = array(
self::NOT_SAME =... | mit |
TribeMedia/dendelightapi | STYLE-GUIDE.md | 45656 | [](https://gitter.im/airbnb/javascript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
# Airbnb JavaScript Style Guide() {
*A mostly reasonable approach to JavaScript*
## Table of Contents
1. [Types](#types)
1. [Objects](#objects)
1. [Arrays](#arrays)... | mit |
muellermartin/homebrew-kde | sonnet.rb | 1207 | class Sonnet < Formula
desc "Spelling framework for Qt"
homepage "https://github.com/KDE/sonnet"
url "https://github.com/KDE/sonnet/archive/v5.28.0.tar.gz"
sha256 "08a5cd2aabfb2513f09e67d9f7a2569aa642af4456a14902a22f19cb1b070db0"
depends_on "cmake" => :build
depends_on "extra-cmake-modules" => :build
dep... | mit |
zfegg/http-content-crypt | README.md | 2749 | Http Content Signature/Crypt
============================
HTTP content crypt/signature for PSR7 middleware
Installation
------------
Install via composer:
~~~bash
# composer require zfegg/http-content-crypt
~~~
Usage
-----
### ContentCryptMiddleware
Content crypt using RSA+AES.
#### HTTP stream:
~~~
POST /acti... | mit |
comapi/comapi-sdk-android | COMAPI/foundation/src/main/java/com/comapi/internal/network/ComapiResult.java | 6459 | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Comapi (trading name of Dynmark International Limited)
*
* 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 w... | mit |
jonathandemoor/jonathandemoor.github.io | css/main.css | 938 | body {
font-family: 'Open Sans', sans-serif;
}
h1 {
color: #2B2636;
font-size: 35px;
font-weight: 300;
margin: 10px auto 0 auto;
}
h2 {
color: #aaa;
font-weight: 300;
margin: 0;
}
a {
color: #1B97E9;
text-decoration: none;
}
.page {
margin: 0 auto;
max-width: 450px;
padding: 30px;
}
heade... | mit |
natac13/london-ontario-data | app/utils/scrapStops.js | 2405 | import xRay from 'x-ray'
const xray = xRay()
import { map, slice, compose } from 'ramda'
import { writeFile } from 'fs'
import routeNames from '../resources/routes.json'
import { getNameFromMatchedObject } from '../js/core'
import { convertStopData } from '../../server/controllers/helpers'
export const addRouteName =... | mit |
moyogo/booleanoperations | Lib/booleanOperations/version.py | 137 | try:
__version__ = __import__('pkg_resources').require('booleanOperations')[0].version
except Exception:
__version__ = 'unknown'
| mit |
gloriakang/vax-sentiment | articles/article_saved_html/No Link Between MMR Vaccine and Autism, Even in High-Risk Kids _ NIH Director's Blog_files/QOBizWXcUJp.js | 2272 | /*!CK:3966042476!*//*1437364312,*/
if (self.CavalryLogger) { CavalryLogger.start_js(["XWEA5"]); }
__d("getElementText",["isElementNode","isTextNode"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=null;function j(k){if(h(k)){return k.data;}else if(g(k)){if(i===null){var l=document.createElement(... | mit |
miguelmota/rxjs-examples | examples/unsubscribe.js | 333 | 'use strict';
const Rx = require('rxjs/Rx');
const counter = Rx.Observable.interval(100);
const subscriptionA = counter.subscribe(i => console.log(`A ${i}`));
const subscriptionB = counter.subscribe(i => console.log(`B ${i}`));
setTimeout(() => {
console.log(`Cancelling subscriptionB`);
subscriptionB.unsubscribe... | mit |
Iambecomeroot/dotfiles | omzsh/exports.sh | 931 | export PATH="/home/marcel/bin/:/usr/bin:/usr/local/bin:/usr/lib/jvm/java-7-openjdk/bin/:$PATH"
export XDG_CONFIG_HOME="$HOME/.config"
export EDITOR="/usr/sbin/vim"
export VISUAL="/usr/sbin/vim"
export CHEATCOLORS=true
export CHERE_INVOKING=1
export TERM=xterm-256color
# Prevent "Couldn't connect to accessibility bus"... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.04.2-2.0.5/released/8.6.1/fourcolor/1.2.3.html | 7277 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fourcolor: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.06.1-2.0.5/released/8.8.1/aac-tactics/8.14.1.html | 7737 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>aac-tactics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | mit |
isel-31612/NetworkShakedownApp | sources/LteShakeDownApp/src/com/isel/lteshakedownapp/testUnity/SignalStrTest.java | 528 | package com.isel.lteshakedownapp.testUnity;
public class SignalStrTest extends AbstractTest {
@Override
public boolean isNative() {
return false;
}
@Override
public TestType getType() {
return TestType.STATIONARY;
}
@Override
public TestResult runTest() {
TestResult ret = new TestResult();
ret.orig... | mit |
rtoshiro/TXPropertySaver | Example/TXPropertySaver/TXViewController.h | 216 | //
// TXViewController.h
// TXPropertySaver
//
// Created by rtoshiro on 09/14/2015.
// Copyright (c) 2015 rtoshiro. All rights reserved.
//
@import UIKit;
@interface TXViewController : UIViewController
@end
| mit |
jvermillard/lwm2mdemo | demo.lua | 2968 | local lwm2m = require 'lwm2m'
local socket = require 'socket'
local obj = require 'lwm2mobject'
-- Get script arguments.
local args = {...}
local serverip = args[1] or "54.228.25.31"
local serverport = args[2] or 5683
local deviceport = args[3] or 5682
-- Create UDP socket.
local udp = socket.udp();
udp:setsockname('... | mit |
ondra-novak/jsonrpcserver | jsonrpc/RPC2Rest.cpp | 6452 | /*
* RPC2Rest.cpp
*
* Created on: 14. 1. 2016
* Author: ondra
*/
#include "RPC2Rest.h"
#include <lightspeed/base/text/textstream.tcc>
#include <lightspeed/utils/json/jsonexception.h>
#include "lightspeed/utils/json/jsonbuilder.h"
#include "../httpserver/queryParser.h"
#include "lightspeed/base/streams/fil... | mit |
Adriwr/Clinica | src/AppBundle/Document/Paciente/PacienteCitas.php | 1744 | <?php
namespace AppBundle\Document\Paciente;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
/**
* Documento para mapear las citas
*
* @ODM\EmbeddedDocument
*/
class PacienteCitas {
/**
* @ODM\Id
*/
protected $id;
/**
* @ODM\String
*/
... | mit |
rezoo/chainer | chainer/functions/connection/bilinear.py | 8648 | import numpy
import chainer
from chainer.backends import cuda
from chainer import function_node
from chainer.utils import type_check
def _as_mat(x):
if x.ndim == 2:
return x
return x.reshape(len(x), -1)
def _ij_ik_il_to_jkl(a, b, c):
ab = chainer.functions.matmul(a[:, :, None], b[:, None, :]) ... | mit |
guokaijava/YGCMS | ygcms-infra/src/main/java/org/openkoala/gqc/infra/util/DatabaseUtils.java | 2621 | package org.openkoala.gqc.infra.util;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* 数据库工具类
... | mit |
ganeshkbalaji/dot-bo-challenge | config/routes.rb | 1629 | Rails.application.routes.draw do
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
root 'ship_labels#index'
resources :ship_labels
# root 'welcome#index'
# Exa... | mit |
foxycoder/chef-logstash | attributes/default.rb | 37 | default[:logstash][:version] = "1.4"
| mit |
app2641/AdultMidnight | src/Midnight/Crawler/Plugin/TestData/RakuenTestData.php | 341 | <?php
namespace Midnight\Crawler\Plugin\TestData;
class RakuenTestData extends AbstractTestData
{
/**
* @var string
**/
protected $rss_name = 'rakuen.xml';
/**
* @var array
**/
protected $html_paths = array(
'rakuen/880.html',
'rakuen/error.html',
'rakuen/e... | mit |
Boussadia/NexFootballStatistics | NexSportsFrScraper.js | 9732 | var NexSportsFrScraper,
Xray = require('x-ray'),
Datastore = require('nedb'),
bunyan = require('bunyan');
var NexSportsFrScraper = (function(){
var X = Xray();
X.delay(500, 1000);
var log = bunyan.createLogger({name: 'scraperlogger'});
var BASE_URL = "http://www.sports.fr";
var CLUBS_LIGUE_1_URI = "/... | mit |
Ameobea/noise-asmjs | src/reducers/browseReducer.js | 707 | /**
* Manages state for the `browse` page
*/
import R from 'ramda';
import { SORT, SET_SORT, ADD_COMPOSITIONS } from 'src/actions/browse';
const initialState = {
loadedCompositions: [],
totalCompositions: 100,
selectedSort: 'NEWEST',
};
export default (state=initialState, action={}) => {
switch(action.typ... | mit |
MattesGroeger/MGBenchmark | MGBenchmarkExample/AppDelegate.h | 1261 | /*
* Copyright (c) 2013 Mattes Groeger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publ... | mit |
javanigus/zabuun | essay/2328-summer-job.php | 1554 | <!doctype html>
<html class="no-js" lang="">
<head>
<title>Zabuun - Learn Egyptian Arabic for English speakers</title>
<meta name="description" content="">
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/head.php';?>
</head>
<body>
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/ie8.php';?>
<?php inc... | mit |
skcodeworks/dp-algo-in-js | js/largestsumcontiguoussubarray.js | 2369 | /**
* Created by santhoshkumar on 17/09/15.
*
* Find the sum of contiguous subarray within a one-dimensional array of numbers which has the largest sum.
Kadane’s Algorithm:
Initialize:
max_so_far = 0
max_ending_here = 0
Loop for each element of the array
(a) max_ending_here = max_ending_here + a[i]
(... | mit |
ivanbanos/SistemaComandasYInventarioRestaurantes | SistemaComandas/SistemaComandas-api/src/main/java/com/hatapp/comandas/entity/Atributosclientes.java | 3447 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.hatapp.comandas.entity;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;
impo... | mit |
truebucha/TBDropboxKit | Example/Pods/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessDetails.h | 2042 | ///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBTEAMLOGPaperDocRequestAccessDetails;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `PaperDocRequestAccessD... | mit |
srinidhibs/hackweek | README.md | 3304 | [](https://travis-ci.org/SUSE/hackweek)
[](https://coveralls.io/r/SUSE/hackweek)
[](https://codeclimate.com/github/... | mit |
cristianbica/JobKit | JobKit/Jobs/NSDictionary+JobKit.h | 220 | //
// NSDictionary+JobKit.h
// Pods
//
// Created by Cristian Bica on 09/04/15.
//
//
#import <Foundation/Foundation.h>
@interface NSDictionary (JobKit)
- (BOOL)jk_allConformsToProtocol:(Protocol *)protocol;
@end
| mit |
Nekland/FeedBundle | Item/ItemInterface.php | 1114 | <?php
namespace Nekland\Bundle\FeedBundle\Item;
interface ItemInterface
{
/*
* Return the title of your rss, something like "My blog rss"
* @return string
*/
public function getFeedTitle();
/*
* Return the description of your rss, something like "This is the rss of my blog about foo a... | mit |
gazay/spik | test/dummy/config/application.rb | 1786 | require File.expand_path('../boot', __FILE__)
require 'rails/all'
Bundler.require
require "spik"
module Dummy
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -... | mit |
LeandroLovisolo/MyDataStructures | website/bower_components/slugify/slugify.js | 795 | (function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([root], factory);
} else {
// Browser globals
root.slugify = factory(root);
}
}(this, function (window) {
var from = 'àáäãâèéëêìíïîòóöôõùúüûñç·... | mit |
naucon/File | src/FileWriterInterface.php | 994 | <?php
/*
* Copyright 2015 Sven Sanzenbacher
*
* This file is part of the naucon package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Naucon\File;
/**
* File Writer Interface
*
* @abstract
* @package File
* @a... | mit |
jairoserrano/SimpleBlogClase | vendor/composer/autoload_classmap.php | 259958 | <?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Barryvdh\\Debugbar\\Console\\ClearCommand' => $vendorDir . '/barryvdh/laravel-debugbar/src/Console/ClearCommand.php',
'Barryvdh\\Debugbar\\Console\\PublishCommand' => ... | mit |
JeffreyWei/caidengming | src/com/wj/caidengmi2/SqlHelper.java | 2463 | package com.wj.caidengmi2;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
public class SqlHelper {
public static final String DB_NAME = "data/data/com.game.zhongqiuguess/databases/... | mit |