repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
portchris/NaturalRemedyCompany | src/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/PathDependent.php | 2121 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | mit |
domora/tvguide | src/Domora/TvGuide/Data/Service.php | 2698 | <?php
namespace Domora\TvGuide\Data;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use JMS\Serializer\Annotation as Serializer;
/**
* @ORM\Entity
* @ORM\Table(name="service")
*/
class Service
{
/**
* @ORM\Id
* @ORM\Column(type="string")
* @Serializer\Groups({... | mit |
DDReaper/XNAGameStudio | Samples/PushRecipe_WP7_SL/Source/WindowsPhone.Recipes.Push.Messasges/Properties/AssemblyInfo.cs | 1525 | 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("No... | mit |
cmhoc/fuckmwbot | dist/config.js | 308 | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
reddit: {
userAgent: 'USER_AGENT',
clientId: 'CLIENT ID',
clientSecret: 'CLIENT SECRET',
username: 'BOT USERNAME',
password: 'BOT PASSWORD'
},
mods: ['MODERATOR_1', 'MODERATOR_2']
}; | mit |
aliudin-ftc/just-in-time-version-2 | application/models/Powder_Plastic_Coat_Model.php | 16688 | <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Powder_Plastic_Coat_Model extends CI_Model {
private $powder_plastic_coatTable = 'powder_plastic_coat';
private $powder_plastic_coatColumn = 'powder_plastic_coat_id';
public function __construct()
{
parent::__const... | mit |
stoplightio/gitlabhq | spec/lib/gitlab/ci/pipeline/seed/environment_spec.rb | 1171 | # frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Ci::Pipeline::Seed::Environment do
let_it_be(:project) { create(:project) }
let(:job) { build(:ci_build, project: project) }
let(:seed) { described_class.new(job) }
let(:attributes) { {} }
before do
job.assign_attributes(**attributes)... | mit |
liuyuewu/vinci | Pentagon_iOS/Pentagon_iOS/PTAuthenticWebViewController.h | 253 | //
// PTAuthenticWebViewController.h
// Pentagon_iOS
//
// Created by vinci on 2017/6/27.
// Copyright © 2017年 vinci. All rights reserved.
//
#import "PTBaseViewController.h"
@interface PTAuthenticWebViewController : PTBaseViewController
@end
| mit |
DonUrks/phrest | tests/Phrest/API/RESTActionTraitTest.php | 4648 | <?php
namespace Phrest\API;
use PHPUnit\Framework\TestCase;
use Zend\Diactoros\ServerRequest;
class RESTActionTraitTestClassBase
{
use RESTActionTrait;
}
class RESTActionTraitTestClass extends RESTActionTraitTestClassBase
{
public function get()
{
}
public function delete()
{
}
}
cla... | mit |
rvbelapure/gpu-virtmem | backend/libl2scheduler.c | 17516 | #include <stdio.h>
#include<sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <time.h>
#include <sched.h>
#include "../l2scheduler/fair_share_sched.h"
#include "../l2scheduler/las_scheduler.h"
#include ... | mit |
ChangsoonKim/STM32F7DiscTutor | toolchain/osx/gcc-arm-none-eabi-6-2017-q1-update/share/doc/gcc-arm-none-eabi/html/gdb/Convenience-Vars.html | 11335 | <html lang="en">
<head>
<title>Convenience Vars - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Data.html#Data... | mit |
swpudp/Naxis | Naxis.Common/Security/AuthedUser.cs | 494 | using Naxis.Core.Components;
namespace Naxis.Core.Security
{
public class AuthedUser
{
/// <summary>
/// 授权服务
/// </summary>
private static readonly IAuthenticationService Service = ObjectContainer.Resolve<IAuthenticationService>();
/// <summary>
/// 获取当前用户信息
... | mit |
mgander/4inst | home.php | 1563 | <?php
$pageTitle = "News Feed";
require('includes/header.php');
$my_friends=$mysqli->query("SELECT friendArray FROM profile WHERE userID=$userID");
$myfriends=mysqli_fetch_row($my_friends);
$myfriends=implode("",$myfriends);
$my_friends_array=explode(",",$myfriends);
//echo $my_friends_array;
?>
<link href="css/4Ins... | mit |
musejs/inspiration-architect | test-src/browserify.js | 8096 | "use strict";
var inspirationArchitectFactory = require('../inspiration-architect.min');
var should = require('should');
var _get = require('lodash/get');
var _set = require('lodash/set');
var globalTests = require('./global-tests');
var factoryTests = require('./factory-tests');
var config_files = require('../tes... | mit |
RadicalFx/Radical.Windows | src/Radical.Windows/Bootstrap/AssemblyValidator.cs | 2902 | using System;
using System.IO;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using System.Security.Cryptography;
namespace Radical.Windows.Bootstrap
{
//courtesy of NServiceBus https://github.com/Particular/NServiceBus/blob/4954af83fad81cc80769c8ed161ee4a37812d443/src/NServiceBus.C... | mit |
hpacheco/HAAP | examples/plab/site/grupos/186/hpcT3/RunT3/Tarefa3_2017li1g186.hs.html | 1453 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
span.lineno { color: white; background: #aaaaaa; border-right: solid white 12px }
span.nottickedoff { background: yellow}
span.istickedoff { background: white }
span.tickonlyfalse { margin: -1px; border: 1px solid ... | mit |
zhangmingkai4315/RabbitMQ-Nodejs | pub_sub/receive_logs.js | 569 | var amqp=require("amqplib");
amqp.connect('amqp://localhost').then(function(connection){
return connection.createChannel().then(function(ch){
var ex="logs";
ch.assertExchange(ex,'fanout',{durable:true});
var ok=ch.assertQueue('',{exclusive:true})
.then(function(q){
console.log("[x]Waiting for message in '... | mit |
berrigan/askgodcomau | views/error.html | 434 | {% include 'header.html' %}
<div class="content" id="thankspage">
<div class="markdown">
Sorry, something seems to have gone wrong!
</div>
<script>
window.pagejs = function() {
// $(document.links).filter(function() {
// return this.hostname != window.location.h... | mit |
testfaucetcoin/testfaucetcoin | src/qt/guiutil.cpp | 13417 | #include "guiutil.h"
#include "bitcoinaddressvalidator.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "util.h"
#include "init.h"
#include <QString>
#include <QDateTime>
#include <QDoubleValidator>
#include <QFont>
#include <QLineEdit>
#include <QUrl>
#include <QTextDocument> // For Qt::escape
#include ... | mit |
walkdianzi/DashengHook | WeChat-Headers/CardSyncRequest.h | 687 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "WXPBGeneratedMessage.h"
@class BaseRequest, LayOut, SKBuiltinBuffer_t;
@interface CardSyncRequest : WXPBGeneratedMessage
{
}
+ (void)initialize;
// Remaining properties... | mit |
realpage/asset-publisher | tests/unit/VCS/GitTest.php | 3894 | <?php
namespace Tests\App;
use App\VCS\Git;
use App\VCS\Tagged;
use Illuminate\Filesystem\Filesystem;
use Mockery;
use App\VCS\Repository;
use Symfony\Component\Process\Exception\ProcessFailedException;
use Symfony\Component\Process\Process;
class GitTest extends \TestCase
{
/** @var Mockery\MockInterface */
... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.9.1/zfc/8.9.0.html | 11149 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zfc: 24 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesh... | mit |
micdenny/radical | src/net35/Radical/Model/SkipPropertyValidationAttribute.cs | 392 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Topics.Radical.Model
{
/// <summary>
/// Applied to properties asks that models skip this property when notifying property changes.
/// </summary>
[AttributeUsage( AttributeTargets.Property )]
public se... | mit |
SonarSource-VisualStudio/sonarlint-visualstudio | src/TestInfrastructure/Framework/ConfigurableRuleSetSerializer.cs | 4356 | /*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | mit |
thecoinproject/ccointestbed | doc/build-unix.md | 5172 | Copyright (c) 2009-2013 Bitcoin Developers
Distributed under the MIT/X11 software license, see the accompanying
file COPYING or http://www.opensource.org/licenses/mit-license.php.
This product includes software developed by the OpenSSL Project for use in the [OpenSSL Toolkit](http://www.openssl.org/). This product inc... | mit |
mdsol/mauth-java-client | modules/mauth-proxy/src/main/java/com/mdsol/mauth/proxy/ProxyConfig.java | 1784 | package com.mdsol.mauth.proxy;
import com.typesafe.config.Config;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.UUID;
public class ProxyConfig {
private static final Logger logger = LoggerFactory.getLogger(ProxyConfig.class);
public static final String V2_ONLY_SIGN_REQUESTS = "mauth.... | mit |
jLKisni/PitchItUp | application/modules/Web/models/updatePitchDeck_m.php | 3710 | <?php
class updatePitchDeck_m extends CI_Model{
function __construct(){
parent::__construct();
}
function updateIdeaGen($data){
$sql = "update idea_genboard set problem = ? , people = ? , behavior = ? , solution = ? where idea_id = ?";
$query = $this->db->query($sql,array($data['problem'],$dat... | mit |
kangzubin/XMNetworking | Framework/XMNetworking/XMNetworking.h | 655 | //
// XMNetworking.h
// XMNetworking
//
// Created by Zubin Kang on 16/12/2016.
// Copyright © 2016 XMNetworking. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for XMNetworking.
FOUNDATION_EXPORT double XMNetworkingVersionNumber;
//! Project version string for XMNetworking.
FOUNDATIO... | mit |
ecoulthard/summitsearch | doc/api/files/usr/lib/ruby/gems/1_8/gems/activerecord-3_0_0_beta4/lib/active_record/schema_rb.html | 2270 | <?xml version="1.0" encoding="iso-8859-1"?>
<!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" xml:lang="en" lang="en">
<head>
<title>File: schema.rb</title>
<meta http-equiv="Content-Type" ... | mit |
meteo-ubonn/meanie3D | src/utils/rand_utils.cpp | 1159 | #ifndef M3D_RANDOM_UTILS_H
#define M3D_RANDOM_UTILS_H
#include <stdlib.h>
#include <math.h>
namespace m3D {
namespace utils {
float ranf()
{
return ((float) rand()) / ((float) RAND_MAX);
}
float box_muller(float m, float s)
{
float x1, x2, w, y1;
... | mit |
navdeepsekhon/PopMovies | app/src/main/java/co/navdeep/popmovies/tmdb/model/Genre.java | 778 |
package co.navdeep.popmovies.tmdb.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Genre {
@SerializedName("id")
@Expose
private Integer id;
@SerializedName("name")
@Expose
private String name;
/**
*
* @return
... | mit |
libocca/occa | src/types/primitive.cpp | 49514 | #include <cstring>
#include <occa/types/bits.hpp>
#include <occa/types/primitive.hpp>
#include <occa/internal/io.hpp>
#include <occa/internal/utils/lex.hpp>
#include <occa/internal/utils/string.hpp>
namespace occa {
primitive::primitive(const char *c) {
*this = load(c);
}
primitive::primitive(const std::st... | mit |
krisanalfa/pax | lib/commands/grunt/add.js | 1004 | /**
* pax
* https://github.com/reekoheek/pax
*
* Copyright (c) 2013 PT Sagara Xinix Solusitama
* Licensed under the MIT license.
* https://github.com/reekoheek/pax/blob/master/LICENSE
*
* Composer command
*
*/
var spawn = require('child_process').spawn,
d = require('simply-deferred');
module.exports = f... | mit |
Minkov/Superheroes-Universe | models/superhero-model.js | 594 | /* globals require module */
const modelRegistrator = require("./utils/model-registrator");
module.exports = modelRegistrator.register("Superhero", {
name: {
type: String,
required: true
},
secretIdentity: {
type: String,
required: true
},
alignment: {
type:... | mit |
joaodubas/blog | lib/data-post/index.js | 3760 | var engine = require('../data.js');
var collection = engine.getCollection('posts');
var requiredKeys = ['title', 'markdown', 'body', 'slug', 'createdAt'];
var requiredMessage = 'You must provide at least these keys: ' + requiredKeys.join(', ');
function _dummyIndex(err, indexName) {
if (err) {
throw new Error(e... | mit |
Nilbog21/EMRMS | src/main/java/edu/psu/sweng500/emrms/service/ManageProblemServiceImpl.java | 2947 | package edu.psu.sweng500.emrms.service;
import edu.psu.sweng500.emrms.application.ApplicationSessionHelper;
import edu.psu.sweng500.emrms.mappers.ChartingMapper;
import edu.psu.sweng500.emrms.model.HAuditRecord;
import edu.psu.sweng500.emrms.model.HProblem;
import edu.psu.sweng500.emrms.util.PersonPatientUtils;
import... | mit |
stonneau/manipulabilityreduced | src/world/Obstacle.cpp | 2741 |
#include "world/Obstacle.h"
#include <math.h>
using namespace manip_core;
using namespace matrices;
using namespace Eigen;
Obstacle::Obstacle(const Vector3& p1, const Vector3& p2, const Vector3& p3, bool donttouch)
: p1_(p1)
, p2_(p2)
, p3_(p3)
, p4_(p1+ (p3 - p2))
, u_(p3-p1)
, v_(p2-p1)
, n_(u_.cross(v_))... | mit |
GenPage/pagefortress.com | theme/pelican-sober/templates/article.html | 2071 | {% extends "base.html" %}
{% block title %}{{ article.title }} - {{ SITENAME }}{% endblock %}
{% block extra_meta %}
<meta name="description" content="{{ article.summary|striptags }}">
{% if PELICAN_SOBER_TWITTER_CARD_CREATOR or PELICAN_SOBER_TWITTER_CARD_SITE %}
<meta name="twitter:card" content="summary">
{%... | mit |
wahn/jan_walter_org | _posts/2014-08-15-cruiser-maxwell.markdown | 2455 | ---
layout: post
title: "The Cruiser: The Scene and a First Image Rendered by Maxwell"
date: 2014-08-14 11:48:08
categories: jekyll rendering maxwell
---
This model was created by __Saba Rofchaei__ and __Greg Ward__ under
contract from the U.S. Navy. It is an H-shaped deck space with three
lighting configurations (... | mit |
moriss/gameoflife | GameOfLife_SDL2/debugmalloc.c | 13623 | #include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <time.h>
#include <stdarg.h>
#include "debugmalloc.h"
/* ervenytelenitjuk ezeket a makrokat, mert nekunk az igazi malloc/free kell */
#ifdef malloc
#undef malloc
#endif
#ifdef free
#undef free
#endif
#ifdef calloc
#unde... | mit |
HeartlandPaymentSystems/Android-Wizard-Framework | WizardSample/src/com/hps/wizard/sample/states/AreYouSure.java | 3465 | package com.hps.wizard.sample.states;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.RadioGroup.OnCheckedChangeListener;
import android.widget.TextView;
im... | mit |
yalmip/yalmip.github.io | _posts/tutorials/2016-09-17-logicprogramming.md | 17289 | ---
title: "Logics and integer-programming representations"
category: inside
subcategory: 1
permalink: "/tutorial/logicprogramming"
tags: [Logic programming, Big-M, Integer programming]
excerpt: "Logic programming in YALMIP means programming with operators such as alldifferent, number of non-zeros, implications and sim... | mit |
aspose-imaging/Aspose.Imaging-for-Java | Examples/src/main/java/com/aspose/imaging/examples/Assert.java | 1281 | /*
* 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.aspose.imaging.examples;
/**
*
* @author mfazi
*/
public final class Assert {
public static void areEqu... | mit |
nbevans/EventStreams | EventStreams.Tests/Persistence/FileSystem/FileSystemPersistenceStrategyTests.cs | 1664 | using System;
using System.IO;
using NUnit.Framework;
namespace EventStreams.Persistence.FileSystem {
using Resources;
using Serialization.Events;
using Streams;
[TestFixture]
public class FileSystemPersistenceStrategyTests {
private readonly RepositoryHierarchy _repository... | mit |
shaotao/Leetcode | database/620_not_boring_movies/620_not_boring_movies.sql | 1908 | /*
620. Not Boring Movies
DescriptionHintsSubmissionsDiscussSolution
SQL Schema
Create table If Not Exists cinema (id int, movie varchar(255), description varchar(255), rating float(2, 1))
Truncate table cinema
insert into cinema (id, movie, description, rating) values ('1', 'War', 'great 3D', '8.9')
insert into cinem... | mit |
Marv2/anax-lite | view/navbar1/navbar.php | 772 | <?php
$navbar = [
"config" => [
"navbar-class" => "navbar"
],
"items" => [
"start" => [
"text" => "Start",
"route" => "",
],
"about" => [
"text" => "About",
"route" => "about",
],
"report" => [
"tex... | mit |
NickC1/skedm | docs/_build/html/embed.html | 10344 |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Embed — skedm 0.1 documentation</title... | mit |
nickfujita/WhiteBoard | public/app/components/nav/nav.js | 978 | 'use strict';
angular.module('nav', ['playlist'])
.controller('NavController', function ($scope, $mdDialog, $location, webRTC, socket) {
$scope.showPlaylist = function(ev) {
$mdDialog.show({
controller: 'PlaylistController',
templateUrl: 'app/components/playlist/playlist.html',
parent: angula... | mit |
minchao920917/minchao920917.github.io | Demo/timesAxis/index.html | 8798 | <!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>时间轴</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css... | mit |
lisalohan/lisalohan.github.io | _posts/2016-06-06-jenis-eyeliners-dan-cara-menggunakannya.markdown | 2464 | ---
published: true
title: Jenis Eyeliners Dan Cara Menggunakannya
layout: post
---
Cair, gel, shadow, pensil ... ketika Anda memilih eyeliner, ada banyak jenis eyeliner untuk dipertimbangkan! Dengan begitu banyak jenis eyeliner yang berbeda untuk dipilih, kita tahu itu berarti dapat banyak pilihan, tapi ini bukan... | mit |
maxroar/maxroar.github.io | gulpfile.js | 2957 | var gulp = require('gulp');
var less = require('gulp-less');
var browserSync = require('browser-sync').create();
var header = require('gulp-header');
var cleanCSS = require('gulp-clean-css');
var rename = require("gulp-rename");
var uglify = require('gulp-uglify');
var filter = require('gulp-filter');
var pkg = require... | mit |
lodev09/react-native-cell-components | components/CellDatePicker.js | 1159 | import React from 'react';
import PropTypes from 'prop-types';
import DatePicker from './DatePicker';
import Cell from './Cell';
import {
View
} from 'react-native';
class CellDatePicker extends React.Component {
static defaultProps = {
mode: 'datetime',
date: new Date()
}
static proptTypes = {
... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.13.2/lc/8.9.0.html | 7586 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | mit |
pkudrel/ChromeRuntimeDownloader | src/ChromeRuntimeDownloader/Models/NugetInfo.cs | 626 | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace ChromeRuntimeDownloader.Models
{
public class NugetInfo
{
public NugetInfo(PackageType packageType, string name, string version, CopyPath[] copyPaths)
{
PackageType = packageType;
Name = name;
... | mit |
david-knopp/Atlas | Assets/Examples/Scripts/Runtime/Math/Example_Range.cs | 635 | using UnityEngine;
namespace Atlas.Examples
{
public sealed class Example_Range
{
// generic character class
public class Character
{
public void ApplyDamage( float damage ) { /* ... */ }
}
public void OnCharacterHit( Character hitCharacter )
{
... | mit |
denverfoundation/storybase | apps/cmsplugin_storybase/templates/sitecontactmessage_form_plugin.html | 509 | {% load i18n %}
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
<form action="{% url "contact" %}?success={{ request.path }}" method="post" {%if form.errors %}class="errors"{% e... | mit |
ThaDafinser/UserAgentParserComparison | v5/user-agent-detail/5e/3a/5e3a0806-8bf4-48cb-b456-5fce9128e6e4.html | 56471 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; ICE 401e Build/FSV05) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1</title>
<link rel="stylesheet" href="https://cdnjs.cloud... | mit |
srsudar/MamasDelRioAndroid | app/src/main/java/org/mamasdelrio/android/views/HierarchyElementView.java | 3631 | /*
* Copyright (C) 2009 University of Washington
*
* 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
*
* Unless required by applicable law ... | mit |
LokiTheMango/jatdg | game/render/levelsheet.go | 740 | package render
import (
"image"
"image/draw"
//import png
_ "image/png"
"os"
)
type LevelSheet struct {
width int
height int
filePath string
PixelArray []byte
encoding string
}
//Constructor for LevelSheet
func NewLevelSheet(filePath string) (LevelSheet, int, int) {
reader, err := os.Open(fi... | mit |
FreddieV4/DailyProgrammerChallenges | Intermediate Challenges/Challenge 0027 Intermediate/solutions/solution.java | 1136 | import java.util.Scanner;
/*
* @author https://github.com/Hoenn
* Happy St. Patrick's Day! Write a program that accepts a year as input and outputs what day St. Patrick's Day falls on.
*/
public class Challenge_27
{
public static final int spMonth=3;
public static final int spDay=17;
public static final St... | mit |
matthewsot/CocoaSharp | Headers/PrivateFrameworks/CorePDF/CPPage-CPPageSelections.h | 355 | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <CorePDF/CPPage.h>
@interface CPPage (CPPageSelections)
- (struct CGPDFLayout *)layout;
- (_Bool)populatePDFLayout:(struct CGPDFLayout *)arg1;
- (id)hitTest;
- (struct C... | mit |
Qartar/qflags | include/qflags/qflags.h | 36118 | // qflags.h
//
#pragma once
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <memory>
#include <string>
#include <vector>
#include <set>
#include <map>
//! Macro used to eliminate compiler warnings generated when formal parameters
//! are declared but unreferenced; particularly for parameters which ... | mit |
artgoce/materialize-pagination-reactjs | index.html | 942 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Simple Materialize Pagination With React JS</title>
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="./assets/css/mater... | mit |
wynd2608/OpenSiv3D | Siv3D/src/Siv3D-Platform/WindowsDesktop/Window/HighDPI.cpp | 1768 | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/EngineLog.hpp>
# include <Siv... | mit |
finger563/webgme-codeeditor | tools/docStringConverter.js | 2300 | var outputType = 'ARRAY';
var input = null;
var output = null;
var fs = require('fs');
var scriptName = process.argv[1].split('/');
scriptName = scriptName[ scriptName.length - 1 ];
function get_usage() {
var usage = "\n";
usage += "Usage: " + scriptName + ' <options> <input markdown file>\n';
usage += ... | mit |
szelcsanyi/chef-mongo | README.md | 3636 | # L7-mongo cookbook
[](https://travis-ci.org/szelcsanyi/chef-mongo)
[](https://hakiri.io/github/szelcsanyi/chef-mongo/master)
[="submitEdit()" [hidden]="isHidden">
<div>
<label for="a"></label>
<input formControlName="title" type="text" id="a">
<p [hidden]="editForm.controls['title'].valid">
Insert a title</p>
</div>
<div>
<label for="b">... | mit |
ircluzar/RTC3 | Real-Time Corruptor/BizHawk_RTC/BizHawk.Client.EmuHawk/tools/NES/BarcodeEntry.cs | 1310 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BizHawk.Emulation.Cores.Nintendo.NES;
using BizHawk.Common;
using BizHawk.Client.Common;
using BizHawk.Emulation.Common;
namespa... | mit |
lucashmorais/x-Bench | mozmill-env/msys/firefox/tests/functional/testPreferences/testRestoreHomepageToDefault.js | 3833 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
// Include the required modules
var {assert, expect} = require("../../../../lib/assertions");
var p... | mit |
Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2016/DLA-387-1.sh | 646 | #!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-387-1
#
# Security announcement date: 2016-01-14 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:06 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - openssh:1:5.5p1-6+squeeze8
#
# Last... | mit |
Webcampak/website-webcampak-fr | _posts/old-blog/2010-03-08-webcampak-et-free-fr.markdown | 2574 | ---
layout: page
subheadline: "Tech"
title: "Webcampak et Free.fr"
date: 2010-03-08 06:40:19+00:00
teaser: "Lors de nos essais avec Webcampak, le serveur d'images, nous avions activé le ftp d'un ancien compte Free pour envoyer les images provenant de 4 sources différentes toutes les 5 minutes."
header:
image_full... | mit |
esjay/lymon | README.md | 58 | lymon
=====
Lymon - everything you need to make a sprite
| mit |
danjagnow/ArgentPonyWarcraftClient | src/ArgentPonyWarcraftClient/Models/ProfileApi/AccountProfile/AccountCharacter.cs | 1827 | namespace ArgentPonyWarcraftClient;
/// <summary>
/// A character associated with a World of Warcraft account.
/// </summary>
public record AccountCharacter
{
/// <summary>
/// Gets a link to the character.
/// </summary>
[JsonPropertyName("character")]
public Self Character { get; init; }
//... | mit |
danielcosta/eloquent-uuid | README.md | 741 | # Eloquent UUID Model
If you want your eloquent models to have the primary key as an UUID instead of the default incremental integer, you must use this abstract model on top of your models to convert them to an *Eloquent UUID Model*.
## Install
Just require this package within your composer:
composer require da... | mit |
donaldinou/frontend | src/Viteloge/CoreBundle/Resources/descriptions/43036.html | 1402 | <div class="commune_descr limited">
<p>
Borne est
un village
situé dans le département de Haute-Loire en Auvergne. Elle comptait 399 habitants en 2008.</p>
<p>La ville propose quelques équipements, elle dispose, entre autres, de un terrain de tennis et une boucle de randonnée.</p>
<p>Si vous envisagez ... | mit |
Onuzimoyr/dAndroid | dConnectManager/dConnectManager/app/src/androidTest/java/org/deviceconnect/android/profile/intent/test/NormalBatteryProfileTestCase.java | 12808 | /*
NormalBatteryProfileTestCase.java
Copyright (c) 2014 NTT DOCOMO,INC.
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
package org.deviceconnect.android.profile.intent.test;
import android.content.Intent;
import android.os.Bundle;
import android.support.test.runner.AndroidJUnit4;... | mit |
BingyanStudio/CamPass-Android | app/src-gen/net/bingyan/campass/greendao/ElectricRecord.java | 1848 | package net.bingyan.campass.greendao;
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit.
/**
* Entity mapped to table ELECTRIC_RECORD.
*/
public class ElectricRecord {
private Long id;
private String area;
private Integer building;
private Integer dorm;
... | mit |
siddacool/theft | CHANGELOG.md | 788 | # Changelog for Theft
Theft is online cheatbook for GTA(Grand Theft Auto) titles.Changelog contains major fixes,improvement and new games(when added) under version and date [**yyyy-mm-dd**] of modification.
## Version 1.0 (2016-10-17)
- New looks
## Version 0.2.1 (2016-10-14)
- Dark Theme
## Version 0.2.0 (2016-09... | mit |
susundberg/arduino-simple-unittest | examples/example_blink_led/tests/test_led.cpp | 894 | /**
* Unittest file for led. In this example the timer module is faked also
*
*/
#include "catch.hpp"
#include "Arduino.h"
#include "led.h" // include the unit under test
#include "mock_stimer.h" // include the faked module (so we can set the return values)
void run_loop( StatusToLed* led )
{
for ( int loo... | mit |
denkhaus/meteor-codr | README.md | 87 | meteor-codr
===========
Basic online ide based on meteorjs-ace-bootstrap 3-less stack
| mit |
nikhilrajaram/nikhilrajaram.github.io | instructors/Serge_Campeau.md | 2217 | ---
layout: page
title: "Serge Campeau"
comments: true
description: "blanks"
keywords: "Serge Campeau,CU,Boulder"
---
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script>
<!-- <scri... | mit |
TheProgrammingKitchen/apm | elixir/apps/apm_issues/README-APM-ISSUES.md | 33 | # ApmIssues
TODO: Write README
| mit |
Yukinoshita47/Yuki-Chan-The-Auto-Pentest | Module/dirsearch/lib/core/Path.py | 987 | # -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope... | mit |
ebussola/octobercms-feedback | components/Feedback.php | 3549 | <?php namespace eBussola\Feedback\Components;
use Cms\Classes\ComponentBase;
use Cms\Classes\Page;
use eBussola\Feedback\Models\Channel;
use Lang;
use October\Rain\Exception\AjaxException;
class Feedback extends ComponentBase
{
/**
* @var Channel
*/
public $channel;
public function componentDe... | mit |
tvooo/writex | README.md | 4947 | # WriTeX
> Create beautiful LaTeX documents with Markdown
WriTeX gives you a workflow for creating print documents (PDF) super-easily; the power of LaTeX with the simplicity of Markdown.
## Setup
Install the WriTeX CLI globally using npm:
```
npm install -g writex
```
WriTeX makes use of [Pandoc](http://johnmacfa... | mit |
joekhoobyar/cardiac | spec/shared/cardiac/resource/adapter_spec.rb | 1981 | require 'spec_helper'
describe Cardiac::ResourceAdapter do
let(:base_url) { 'http://localhost/prefix/segment?q=foobar' }
let(:base_uri) { URI(base_url) }
let(:resource) { Cardiac::Resource.new(base_uri) }
let(:adapter) { Cardiac::ResourceAdapter.new(nil, resource) }
include_context 'Client responses... | mit |
TeeeeeC/TelerikAcademy2015-2016 | 01. C# part 1/03. Operators and Statements/CheckPointInCircle/CheckPointInCircle.cs | 676 | using System;
class CheckPointInCircle
{
static void Main()
{
/*
Problem 7. Point in a Circle
Write an expression that checks if given point (x, y) is inside a circle K({0, 0}, 2).
*/
Console.WriteLine("Check if given point (x,y) is within K((0,0),2)");
Co... | mit |
steliann/objectj | src/oj/processor/events/ImageChangedEventOJ.java | 1584 | /*
* ImageChangedEvent.java
* -- documented
*
* After a change, such an object is created and passed to the listener
*
*/
package oj.processor.events;
public class ImageChangedEventOJ {
public static final int IMAGE_ADDED = 1;
public static final int IMAGE_EDITED = 2;
public static fi... | mit |
kbuglow/intshop | application/views/shop/settings.php | 6625 | <?php require('HeadAndHeader.php'); ?>
<hr id="header-horizontal-line"/>
<div id="content">
<div id="current-path">
<p id="current-path-paragraph">Startsait > Settings</p>
</div>
<fieldset>
<legend id="fieldset-title">Settings</legend>
<div class="s... | mit |
sporchia/alttp_vt_randomizer | config/auth.php | 3280 | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.06.1-2.0.5/released/8.9.1/traversable-fincontainer/8.7.0.html | 7197 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>traversable-fincontainer: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../... | mit |
tweet-squared/Tweets-Squared-App | app/models/twitter_handle.rb | 132 | class TwitterHandle < ActiveRecord::Base
belongs_to :topic
has_many :tweets
validates :twitter_handle, presence: true
end
| mit |
kuhlenh/port-to-core | Reports/ti/tierless.framework.server.0.9.4363.29819/Tierless.Infrastructure.Data-net35.html | 71541 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | mit |
soywod/MAD | public/js/index.js | 697 | $(document).ready(function () {
var svgContainer = document.getElementById('svgContainer');
if (svgContainer) {
var mama = new bodymovin.loadAnimation({
wrapper: svgContainer,
autoplay: false,
animType: 'svg',
loop: false,
name: 'test',
... | mit |
dlinaz/Simple-es6 | src/stringFeatures.js | 350 | "use strict"
// String interpolation: supports string interpolation via template literals
let first = 'Jon';
let last = 'Smith';
console.log(`Hello ${first} ${last}!`); // Hello Jon Smith
// Multi-line string
const multiLine = `
This is
a string
with four
lines`;
console.log (multiLine);
// This is
// a strin... | mit |
zachdimitrov/Learning_2017 | ASP.NET-MVC/DemoForum/DemoForum.Data/Migrations/Configuration.cs | 2643 | namespace DemoForum.Data.Migrations
{
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Models;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfigu... | mit |
bbengfort/email-analysis | mailstat/console.py | 2516 | # mailstat.console
# Console utilities for mailstat
#
# Author: Benjamin Bengfort <benjamin@bengfort.com>
# Created: Sun Dec 29 15:57:44 2013 -0600
#
# Copyright (C) 2013 Bengfort.com
# For license information, see LICENSE.txt
#
# ID: console.py [] benjamin@bengfort.com $
"""
Console utilities for mailstat
"""
###... | mit |
h0kui/hokui | cache/compiled/files/f9471ea96fca48eee43207f0cb30d8d6.yaml.php | 11189 | <?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/kenrickkelly/Sites/hokui/user/plugins/admin/languages/eu.yaml',
'modified' => 1527231007,
'data' => [
'PLUGIN_ADMIN' => [
'ADMIN_BETA_MSG' => 'Beta bertsio bat da hau! Produkzioan erabili ezazu z... | mit |
dgrahn/csci578 | client/app/src/main/java/us/grahn/trojanow/presentation/feed/FeedActivity.java | 1442 | package us.grahn.trojanow.presentation.feed;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import us.grahn.trojanow.R;
/**
* An interface to display to display the default feed for the user. This will contain posts which
* are mad... | mit |
AustenLamacraft/austenlamacraft.github.io | blog/_drafts/generative-models-in-statistical-physics.md | 721 | ---
layout: post
title: Generative models in statistical physics
categories: machine learning
author: Austen Lamacraft
---
Statistical mechanics - or at least equilibrium statistical mechanics is 'just' about the calculation of the partition function
$$
Z = \sum_j \exp(-\beta \epsilon_j).
$$
The point, of course, is... | mit |
adrianocola/spyfall | app/containers/Game/GameInfo.js | 1907 | import React from 'react';
import { css } from 'emotion';
import { Col, Row } from 'reactstrap';
import Localized from 'components/Localized/Localized';
import Locations from 'components/Locations/Locations';
import { useGameLocations } from 'selectors/gameLocations';
import { useSelectedLocationsCount } from 'selector... | mit |