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 |
|---|---|---|---|---|---|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<style type="text/css">
.bg{
background: url('D6Q5_@F95YCMK}XWS4@L5W.gif'... | kyuUryuU/xinrimuli | index.html | HTML | mit | 1,007 |
using System;
namespace FF9
{
public enum command_data_buf_tags
{
CB_NORMAL,
CB_COUNTER,
CB_SYSTEM,
CB_W_COMMAND,
CB_TRANCE,
CB_RERAISE,
CB_MAX
}
}
| Albeoris/Memoria | Assembly-CSharp/FF9/command_data_buf_tags.cs | C# | mit | 169 |
body {
font-family: "Droid Sans Mono", monospace;
}
.limited-row {
margin: auto;
max-width: 600px;
}
.custom-input {
border-color: #6c757d;
}
.custom-input:focus {
border-color: #6c757d;
box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, .5);
}
.custom-input:disabled {
opacity: .65;
}
.custom... | ClaudiuGeorgiu/PlaystoreDownloader | static/site.css | CSS | mit | 456 |
module L {
export class Operator1 extends LogicElement {
constructor(
private operation: string, // string reprasenting given operation, like -, + etc.
public log_operand: LogicElement,
private hadSideEffects: boolean
) {
super();
this... | TomaszRewak/TREPL | Source/scripts/compiler/Elements/Operator1.ts | TypeScript | mit | 4,094 |
using GenderPayGap.Core.Abstractions;
namespace GenderPayGap.Core.Models
{
public class OrganisationRegistrationDeclinedTemplate : AEmailTemplate
{
public string Reason { get; set; }
}
}
| DFEAGILEDEVOPS/gender-pay-gap | Beta/GenderPayGap.Core/Models/EmailTemplates/OrganisationRegistrationDeclinedTemplate.cs | C# | mit | 215 |
import Instruction from './Instruction';
import Container from './Container';
import Share from './Share';
import React from 'react';
import request from 'superagent';
var Mememe = React.createClass({
getInitialState (){
var memesGenerated = false;
return{
memesGenerated: memesGenerated
};
},
... | amysimmons/mememe | src/Mememe.js | JavaScript | mit | 1,230 |
---
layout: page
title: Contact Me
permalink: /contact/
tags: contact
---
<div class="py2">
{% if site.ajaxify_contact_form %}
<form class="form-stacked">
<input type="text" name="email" class="field-light" placeholder="{{ site.text.contact.email }}">
<textarea type="text" name="content" class="field... | ZDYoung/zdyoung.github.io | contact.html | HTML | mit | 1,473 |
#include "SoundObject.hpp"
#include <iostream>
namespace mv
{
bool SoundObject::EmplaceSound( const std::string & name )
{
if ( sounds.find( name ) != sounds.end() )
{
Logger::Log( constants::error::soundObject::ALREADY_EXIST, Logger::STREAM::CONSOLE, Logger::TYPE::WARNING );
return false;
}
sf::SoundB... | mvxxx/Tiles-Map-Simple-Editor | Editor/source/MV/soundObject/SoundObject.cpp | C++ | mit | 1,908 |
# napp-boilerplate
WIP boilerplate for node web applications.
## Install
```sh
$ npm install
```
## Usage
Run Express server:
```sh
$ npm start
```
Build JS applications:
```sh
$ npm run build
$ npm run build.prd (files are concatenated & minified)
```
## The Stack
Made with OSS <3.
- [AngularJS](https://angul... | nesbert/napp-boilerplate | README.md | Markdown | mit | 681 |
/*
* AVFRAMEINFO.h
* Define AVFRAME Info
* Created on:2013-08-12
* Last update on:2013-10-07
* Author: UBIA
*
*
*/
#ifndef _AVFRAME_INFO_H_
#define _AVFRAME_INFO_H_
/* CODEC ID */
typedef enum
{
MEDIA_CODEC_UNKNOWN = 0x00,
MEDIA_CODEC_VIDEO_MPEG4 = 0x4C,
MEDIA_CODEC_VIDEO_H263 = 0x4D,
MEDIA_COD... | gb-6k-house/PIXPO-HD | KitchenSink/ubiastack/include/P4PCam/AVFRAMEINFO.h | C | mit | 1,971 |
version https://git-lfs.github.com/spec/v1
oid sha256:2cb956200f1ddeebd2c2ee83cbd9bb8621fea85e7fb619d19d64835bce2098ff
size 3005
| yogeshsaroya/new-cdnjs | ajax/libs/metrics-graphics/0.2.0/css/metrics-graphics.min.css | CSS | mit | 129 |
/* -*- C++ -*- */
//=============================================================================
/**
* @file Configuration.h
*
* $Id: Configuration.h 78476 2007-05-24 07:55:50Z johnnyw $
*
* @author Chris Hafey <chafey@stentor.com>
*
* The ACE configuration API provides a portable abstraction ... | yuanxu/liveshow_r2 | P2pNet/ace/Configuration.h | C | mit | 32,450 |
var Deferred = require('stupid-deferred')
var Imageloader = require('stupid-imageloader');
/**
* Image collection loader
* @constructor
*/
function Imagesloader(opts){
/**
* @define {object} Collection of public methods.
*/
var self = {};
/**
* @define {object} Options for the constructor
... | StupidStudio/stupid-imagesloader | imagesloader.js | JavaScript | mit | 3,300 |
var reactTools = require('react-tools');
var path = require('path');
var mkdirp = require('mkdirp');
var fs = require('fs');
module.exports = function(root, options) {
var dest = options && options.dest || root;
return function(req, res, next) {
if (!req.path.match(/\.js$/)) {
return next();
}
v... | mattlorey/express-jsx | lib/express-jsx.js | JavaScript | mit | 1,446 |
;(function(global) {
"use strict";
var Rpd = global.Rpd;
if (typeof Rpd === "undefined" && typeof require !== "undefined") {
Rpd = require('rpd');
}
Rpd.style('compact-v', 'svg', (function() {
var ƒ = Rpd.unit;
var δ = Rpd.Render.data;
var socketPadding = 20, // distance between inlets/outlets in SVG units
... | shamansir/rpd | src/style/compact-v/svg.js | JavaScript | mit | 11,801 |
<?php
if(!defined('PROTECT')){ exit('NO ACCESS'); }
if(!isset($_SESSION['typeuser'])) header('location: '.SITE_URL.'sys/login');
require_once('victro_system/victro_settings/mainMethod.class.php');
$victro_maker = new VictroFunc();
if(isset($_GET['id']) or isset($_GET['name'])){
if(isset($_GET['pass'])){
$vict... | jeanprmr/victrobrain | victro_system/victro_system/sys/fileload.php | PHP | mit | 3,408 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.Reflection;
namespace RMUD
{
public partial class GithubDatabase : WorldDataService
{
public String StaticPath { get; private set; }
publi... | Reddit-Mud/RMUD | Core/GithubDatabase/Database.cs | C# | mit | 722 |
---
title: Lesson 10
layout: post
author: nathan.davies
permalink: /lesson-10/
source-id: 1pIkUwxIRuv1wdZX3Jf-hLRsPuK5fE4WmvRDAOhDBKN8
published: true
---
**Lesson 10**
In today's lesson, we had a great time! We watched our teacher code the letter 'A’ and then we had a go at coding it ourselves. We all had to go back ... | NathanDavies2323/nathandavies2323.github.io | _posts/2018-03-14-Lesson-10.md | Markdown | mit | 960 |
package com.github.steveice10.mc.classic.protocol.packet.server;
import com.github.steveice10.mc.classic.protocol.packet.ClassicPacketUtil;
import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet;
import java.io.IOEx... | Steveice10/ClassicProtocolLib | src/main/java/com/github/steveice10/mc/classic/protocol/packet/server/ServerLevelDataPacket.java | Java | mit | 1,663 |
var is = function(x) {
return (elem) => elem && elem.nodeType === x;
};
// commented-out methods are not being used
module.exports = {
elem: is(1),
attr: is(2),
text: is(3),
// cdata: is(4),
// entity_reference: is(5),
// entity: is(6),
// processing_instruction: is(7),
comment: is(... | JosephClay/d-js | src/nodeType.js | JavaScript | mit | 418 |
PROJECT = github.com/fulldump/goconfig
GOCMD=go
.PHONY: all setup test coverage example
all: test
setup:
mkdir -p src/$(PROJECT)
rmdir src/$(PROJECT)
ln -s ../../.. src/$(PROJECT)
test:
$(GOCMD) version
$(GOCMD) env
$(GOCMD) test -v $(PROJECT)
example:
$(GOCMD) install $(PROJECT)/example
coverage:
$(GOCM... | fulldump/goconfig | Makefile | Makefile | mit | 458 |
require 'minitest/spec'
require 'minitest/autorun'
require 'alipass'
require 'fakeweb'
Alipass.app_id = 'app_id'
Alipass.private_key_file = 'YOUR_SHOULR_FILL_THIS'
| HungYuHei/alipass | spec/spec_helper.rb | Ruby | mit | 175 |
/**
* @file
* @brief Contains the TPZGenPartialGrid class which implements the generation of a geometric grid.
*/
//
// Author: MISAEL LUIS SANTANA MANDUJANO/Philippe Devloo
//
// File: tpargrid.h
//
// Class: tparrid
//
// Obs.: Gera uma malha retangular:
//
// Versao: 06 / 1996.
//
#ifndef _TPZPARGRIDHH_
#d... | gems-uff/oceano | core/src/test/resources/CPP/neopz/Pre/pzpargrid.h | C | mit | 1,625 |
/*
* 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 gui.controls;
import java.awt.Component;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.Point;
import java... | Vaub/GLO-2004-A2014 | RecyclApp/src/gui/controls/PanelDynamique.java | Java | mit | 3,188 |
/*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/* ========================================================================
Component: Autocomplete
========================================================================== */
/*
* 1. Container width fits its content
* 2. Create pos... | calben/riotjs-uikit-startkit | src/css/components/autocomplete.almost-flat.css | CSS | mit | 1,235 |
const katex = require('katex')
const renderKatexFormula = function(text, displayMode) {
try {
return katex.renderToString(text, { displayMode: displayMode })
} catch (err) {
console.log(
'Katex error trying to parse: "' + text + '". Description: ' + err
)
}
}
module.exports = function(inlineMa... | fegemo/bespoke-math | lib/bespoke-math.js | JavaScript | mit | 1,682 |
import React from "react";
import PropTypes from "prop-types";
import styled from "styled-components";
import Image, { thumbnailSizes } from "@crave/farmblocks-image";
import { fontTypes } from "@crave/farmblocks-text";
const Icon = styled.div`
font-size: ${({ iconFontSize }) => iconFontSize || "72px"};
color: ${f... | CraveFood/farmblocks | packages/empty-state/src/Thumbnail.js | JavaScript | mit | 819 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database... | qichunren/codeigniter_vender | lib/generators/ci/install/templates/config/database.php | PHP | mit | 2,911 |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
// Connect to DB
var dbConfig = require('./config/db');
var mongoose = require('mongoose');
mo... | iv-devs/cowork-solicitud | app.js | JavaScript | mit | 2,609 |
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Source Themes Academic 4.4.0">
<meta name="au... | lpantano/lpantano.github.io | authors/n.-lee/index.html | HTML | mit | 11,142 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Davi Wesley - Programador</title>
<!-- Bootstrap core CSS -->
... | daviwesley/daviwesley.github.io | index.html | HTML | mit | 10,884 |
# default-lines | gordon2285/default-lines | README.md | Markdown | mit | 15 |
/**
* @jest-environment ./__tests__/html/__jest__/WebChatEnvironment.js
*/
describe('deprecated <Localize>', () => {
test('should localize text in navigator language', () => runHTMLTest('deprecated.localize.html'));
test('should localize text in "en"', () => runHTMLTest('deprecated.localize.html#l=en'));
test(... | billba/botchat | __tests__/html/deprecated.localize.js | JavaScript | mit | 411 |
/*
* 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
*/
using System;
using System.Collections;
using System.Collection... | cliffano/swaggy-jenkins | clients/csharp-netcore/generated/src/Org.OpenAPITools/Model/ExtensionClassImpllinks.cs | C# | mit | 4,780 |
/**
* Created by twi18192 on 25/08/15.
*/
var React = require('react');
var mainPaneStore = require('../stores/mainPaneStore');
var mainPaneActions = require('../actions/mainPaneActions');
var ButtonStyle = {
backgroundColor: 'grey',
height: 25,
width: 70,
borderRadius: 8,
borderStyle:'solid',
borderWid... | yousefmoazzam/ZebraWithFlux | js/views/configButton.js | JavaScript | mit | 1,441 |
html, body {
margin: 0;
padding: 0;
overflow: hidden;
height: 100%;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;}
html.preload {
/* Would rather have black during loadi... | babgvant/Emby.Web | css/style.css | CSS | mit | 1,558 |
#pragma once
#include <string>
#include <gloperate/gloperate_api.h>
#include <signalzeug/Signal.h>
namespace gloperate
{
class AbstractData;
class AbstractStage;
class GLOPERATE_API AbstractInputSlot
{
friend class AbstractStage;
public:
AbstractInputSlot(const std::string & name = "");
virtual ~A... | hpi-r2d2/gloperate | source/gloperate/include/gloperate/pipeline/AbstractInputSlot.h | C | mit | 1,313 |
[](https://travis-ci.org/emwi/FlashingmessageTest) [](https://scrutinizer-ci.com/g/emwi/FlashingmessageTest/?branch=master) [![Scrutinizer ... | emwi/FlashingmessageTest | README.md | Markdown | mit | 1,825 |
<?php
/**
* Github Stylish Repository Viewer
* An easy way to show your Github profile on your site - in style!
*
* @author Austin Burdine <austin@acburdine.me>
* @copyright 2015 Austin Burdine
* @link https://github.com/acburdine/repo-viewer/
* @license (MIT) - https://github.com/acburdine/rep... | acburdine/repo-viewer | src/Model/Theme.php | PHP | mit | 2,203 |
<div>
<h3>You must be logged in to see this page</h3>
</div> | JS-Applications-Team-Mai-Tai/Team-Mai-Tai | templates/userGames.html | HTML | mit | 64 |
#include "treeface/math/Mat4.h"
#include <stdio.h>
using namespace treecore;
namespace treeface {
static_assert( sizeof(Mat4f) == sizeof(float)*16 , "");
static_assert( sizeof(Mat4f::DataType) == sizeof(float)*4, "");
static_assert( sizeof(Mat4f::DataType::DataType) == sizeof(float)*4, "");
template<>
float Mat4<f... | jiandingzhe/treeface | src/treeface/math/Mat4.cpp | C++ | mit | 4,277 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Sep 14 18:24:04 EDT 2007 -->
<TITLE>
Xerces2 Implementation: Class XMLEntityManager.InternalEntity
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF... | Baltasarq/Gia | src/JDom/Xerces-J-bin.2.9.1/docs/javadocs/xerces2/org/apache/xerces/impl/XMLEntityManager.InternalEntity.html | HTML | mit | 16,446 |
/**
* Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.graphene;
import org.diirt.util.stats.StatisticsUtil;
import org.diirt.util.stats.Statistics;
import java.util.Random;
import org.diirt.util.array.ArrayDouble;... | ControlSystemStudio/diirt | graphene/graphene/src/test/java/org/diirt/graphene/MockDataset1D.java | Java | mit | 1,433 |
---
layout: default
---
<article class="post">
<h1>{{ page.title }}</h1>
<div class="entry">
<!-- code highlight -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highligh... | superblr/superblr.github.io | _layouts/post.html | HTML | mit | 519 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>18 --> 19</title>
<link href="./../../assets/style.css" rel="stylesheet">
</head>
<body>
<h2>You have to be fast</h2>
<a href="./7791359f81254f68d7746c6b8fbb52c191d06fbc9c100d07bdcfed08b3a6afc9.html">Teleport</a>
<hr>
... | simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/15936ea97c16c093bcf7ae4c53d6bf5e4c1712bf51abdfc119dcb9e063cb19c3.html | HTML | mit | 550 |
<?php
namespace Cssr\MainBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @ORM\Entity
* @ORM\Table(name="cssr_standard")
*/
class Standard
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedVa... | spcmky/cssr | src/Cssr/MainBundle/Entity/Standard.php | PHP | mit | 2,191 |
<!doctype html>
<html ng-app="app">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script type="text/javascript" src="../lib/angular/angular.js" charset="utf-8"></script>
<script type="text/javascript" src="../lib/rxjs/rx.lite.js" charset="utf-8"></script>
<scr... | zoetrope/reactiveproperty-angular | sample/validation/validation.html | HTML | mit | 1,231 |
@extends('layouts.admin_template')
@section('content')
<div class='row'>
<div class='col-md-8'>
<!-- Box -->
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">@if($function=='create')新建@else更新@endif角色</h3>
... | cornor/newwarehouse | resources/views/admin/role/create.blade.php | PHP | mit | 1,368 |
package org.reasm.m68k.assembly.internal;
import java.io.IOException;
import javax.annotation.Nonnull;
import javax.annotation.concurrent.Immutable;
/**
* The <code>CHK</code> instruction.
*
* @author Francis Gagné
*/
@Immutable
class ChkInstruction extends TwoFixedEaInstruction {
@Nonnull
static final ... | reasm/reasm-m68k | src/main/java/org/reasm/m68k/assembly/internal/ChkInstruction.java | Java | mit | 1,200 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "pl.h"
/**
* Returns true if the character is a letter.
*
* @param c The character
* @return True if a letter.
*/
static uint32_t is_letter(char c)
{
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
}
/**
* Counts the number of ... | codyebberson/sat | src/pl.c | C | mit | 8,227 |
'use strict';
/**
* Profile class that normalizes profile data fetched from authentication provider
*/
Object.defineProperty(exports, "__esModule", {
value: true
});
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function")... | securityvoid/serverless-authentication | lib/profile.js | JavaScript | mit | 1,866 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _24___Order_words
{
class OrderWords
{
static void Main()
{
Console.WriteLine("Enter text: ");
string input = Console.ReadLine();
st... | pawelangelow/TelerikAcademy | C#2/Strings and Text Processing/24 - Order words/OrderWords.cs | C# | mit | 646 |
import React from 'react';
import PureComponent from 'react-pure-render/component';
class Description extends PureComponent {
render() {
return (
<div><input type="text" value="" placeholder="I am description" /></div>
);
}
}
export default Description;
| trendmicro/serverless-survey-forms | web/portal/src/components/Form/Description/index.js | JavaScript | mit | 294 |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
namespace facebook {
namespace memcache {
namespace mcrouter {
/**
* This function will issue a metaget to the ro... | facebook/mcrouter | mcrouter/routes/RoutingUtils.h | C | mit | 2,394 |
use serde::de::DeserializeOwned;
use crate::algorithms::AlgorithmFamily;
use crate::crypto::verify;
use crate::errors::{new_error, ErrorKind, Result};
use crate::header::Header;
#[cfg(feature = "use_pem")]
use crate::pem::decoder::PemEncodedKey;
use crate::serialization::{b64_decode, DecodedJwtPartClaims};
use crate::... | Keats/jsonwebtoken | src/decoding.rs | Rust | mit | 7,899 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace _03.Endurance_Rally
{
class Program
{
static void Main(string[] args)
{
var driversNames = Console.ReadLine().Split(' ').ToArray();
... | AneliaDoychinova/Programming-Fundamentals | 13. Exam Preparation/Exam Preparation 1/03. Endurance Rally/03. Endurance Rally.cs | C# | mit | 1,492 |
<div class="content-wrap">
<aside>
<h4><a href="#">Resume Coming Soon</a></h4>
<p>Bacon ipsum dolor amet pork chop ground round ham sirloin. Cupim strip steak beef ribs kielbasa pork short loin pork loin bresaola shoulder jowl chicken leberkas porchetta prosciutto. Picanha t-bone ground round capicola tail, p... | derekztang/derekztang.github.io | partials/education.html | HTML | mit | 1,190 |
# frozen_string_literal: true
require "test_helper"
require "zen_wallet/hd/account"
require "zen_wallet/insight/client"
module ZenWallet
module HD
class AccountsTest < Minitest::Test
def test_fetch_history
account = Account.new(nil, id: "id", order: 0, private_key: "pк",
... | zenhome/zen_wallet | test/zen_wallet/hd/account_test.rb | Ruby | mit | 621 |
xst -intstyle ise -ifn "C:/dropbox/GadgetFactory/GadgetFactory_Engineering/Papilio-Schematic-Library/Papilio_Schematic_Projects/Template_Wishbone_Example/500K/Papilio_One_500K.xst" -ofn "C:/dropbox/GadgetFactory/GadgetFactory_Engineering/Papilio-Schematic-Library/Papilio_Schematic_Projects/Template_Wishbone_Example/500... | chcbaram/FPGA | zap-2.3.0-windows/papilio-zap-ide/examples/00.Papilio_Schematic_Library/examples/Template_Wishbone_Example/500K/Papilio_One_500K.cmd | Batchfile | mit | 1,047 |
using System;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using Pdelvo.Async.Extensions;
using Pdelvo.Minecraft.Network;
using Pdelvo.Minecraft.Protocol;
using Pdelvo.Minecraft.Protocol.Helper;
using Pdelvo.Minecraft.Protocol... | pdelvo/Pdelvo.Minecraft.Proxy | Pdelvo.Minecraft.Proxy/Pdelvo.Minecraft.Proxy.Library/Connection/ProxyConnection.cs | C# | mit | 22,467 |
System fonts bug demo
---
This sample project demonstrates and issue affecting iOS 8.2 and newer: when attempting to use `-[UIFont fontWithSize:]` method on a system font object returned from `+[UIFont systemFontOfSize:weight:]`, the returned font will have a different font name (and thus, weight) than the original fo... | vlas-voloshin/SystemFontsBugDemo | README.md | Markdown | mit | 986 |
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head><body>Time,TemperatureF,DewpointF,PressureIn,WindDirection,WindDirectionDegrees,WindSpeedMPH,WindSpeedGustMPH,Humidity,HourlyPrecipIn,Conditions,Clouds,dailyrainin,SoftwareType<br>
2010-04-03 00:02:00,48.2,42.1,30.14,ESE,112,0.... | arkadyan/Wind-Dance | data/winddatafiles/94WXDailyHistory.asp.html | HTML | mit | 18,504 |
### [demo地址](https://gitee.com/muzi131313/function_program)
### 函数式编程的缺点
- 不易阅读
- 难于调试
### 优点/解决的问题
- 把数据处理的过程,定义成与参数无关的合成运算
````
// define
var addOne = x => x + 1;
var squre = x => x * x;
// usage
var addResult = addOne(2);
var addSqureResult = squre(addResult);
console.log('addSqureResult: ', addSqureResult);
``... | muzi131313/muzi131313.github.com | _posts/2017-11-15-ramda学习.md | Markdown | mit | 694 |
<nav class="navbar navbar-expand-lg navbar-light bg-white fixed-top" id="topNavigation">
<span class="navbar-text">
<?= $view->getWebsiteTitle() ?>
</span>
<ul class="navbar-nav navbar-expand ml-auto">
<?php
if (!is_routing('install_*')) {
if ($view->settings()->getLan... | Neoflow/Neoflow-CMS | themes/everest-backend/templates/navigation/top.php | PHP | mit | 3,167 |
#if C_GRAPHICSMEDIA_LAB_DMOROZ_C
#/*******************************************************************************
# * (C) Copyright 2003/2004 by Vladimir Vezhnevets <vvp@graphics.cs.msu.su> *
# *******************************************************************************/
#endif
// MFC_GML3View.cpp : impl... | retgone/cmc-cg | 2006 - Task2 {20 of 22} [m]/src/MFC_GML3View.cpp | C++ | mit | 5,326 |
using SG.Util;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SG.Examples
{
/// <summary> A script to rotate an object around a specified axis </summary>
public class SGEx_RotateSimple : MonoBehaviour
{
public SG_Util.MoveAxis moveAround = SG_Util.MoveAxi... | Adjuvo/SenseGlove-Unity | SenseGlove/Examples/Resources/SGEx_RotateSimple.cs | C# | mit | 1,076 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Contact Form</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Contact Us</h1>
<form>
<span>First name:</span>
<input type="text" name="firstname">
<br/>
<span>Last name:</span>
... | DGochew/Software-Technologies | HTML5 and CSS - Exercises 28.02.2017/13.Contact Us Form/contact-us-form.html | HTML | mit | 1,011 |
---
layout: post
title: Paragon Character Texturing | Unreal Dev Day Montreal 2017
tags: [Unreal Dev Day, GAME]
categories:
- blog
---
In this Unreal Dev Day Montreal presentation, Technical Artist Harrison Moore goes through the texturing pipeline used
on Paragon from start to finish, breaking down the steps and te... | yoann01/yoann01.github.io | _posts/2017-09-11-Paragon_Character_Texturing.md | Markdown | mit | 444 |
<?php
/*
* This file is part of the GenemuFormBundle package.
*
* (c) Olivier Chauvel <olivier@generation-multiple.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Genemu\Bundle\FormBundle\Form\Core\Validator;
use ... | lapoiz/WindServer2-vendor | genemu/form-bundle/Genemu/Bundle/FormBundle/Form/Core/Validator/ReCaptchaValidator.php | PHP | mit | 4,535 |
'use strict';
const fs = require('fs');
const exec = require('child_process').exec;
const helpers = require('yeoman-test');
const assert = require('yeoman-assert');
const util = require('./support/util');
const defaultAnswers = require('./support/defaultPromptAnswers');
const promptOptions = require("../generators/ap... | yWorks/generator-yfiles-app | test/esmodules-es6-webstorm.js | JavaScript | mit | 3,069 |
.main{
margin-left:20px;
}
#searchbar{
width:50%;
}
#barAndBtn{
margin-top:30px;
}
#searchBlock{
background-color:#999;
margin:20px 0px;
}
a {
color:#FFF;
}
.underBtns{
margin:20px;
}
.underBtns .btn{
margin:5px;
} | ChenYuHsin/Admin-HR | dist/css/talentPool.css | CSS | mit | 228 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootswatch: United</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./bootstrap.css" media="screen">
<link rel="stylesheet" href="../assets/css/bootswatch.min.css">... | arroyolabs-blog/roll-dice | app/themes/bootstrap/node_modules/bootswatch-sass/united/index.html | HTML | mit | 55,633 |
package de.torqdev.easysettings.core;
/**
* @author <a href="mailto:christopher.guckes@torq-dev.de">Christopher Guckes</a>
* @version 1.0
*/
public class RangeSettingBuilder<T extends Number> {
private T defaultValue;
private Class<T> valueType;
private T min;
private T max;
private String helpM... | GuckesRohrkaGbR/easy-settings | src/main/java/de/torqdev/easysettings/core/RangeSettingBuilder.java | Java | mit | 1,095 |
#ifndef __NV40_SHADER_H__
#define __NV40_SHADER_H__
/* Vertex programs instruction set
*
* The NV40 instruction set is very similar to NV30. Most fields are in
* a slightly different position in the instruction however.
*
* Merged instructions
* In some cases it is possible to put two instructions ... | nevik-xx/psl1ght | tools/cgcomp/include/nv40_vertprog.h | C | mit | 11,307 |
package com.github.ufologist.android;
import android.app.Activity;
import android.os.Bundle;
import com.umeng.analytics.MobclickAgent;
import com.umeng.message.PushAgent;
/**
* 基础Activity, 已经实现了友盟的session统计
*
* @author Sun
* @version 2015-01-09
*/
public class BaseActivity extends Activity {
... | androidquickstart/androidquickstart | AndroidQuickStart/src/com/github/ufologist/android/BaseActivity.java | Java | mit | 2,071 |
# Alert
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**level** | **str** | | [optional]
**info** | **str** | Extra information for an alert. | [optional]
**begin** | **float** | Start time of alert. | [optional]
**end** | **float** | End time of alert... | Telestream/telestream-cloud-python-sdk | telestream_cloud_qc_sdk/docs/Alert.md | Markdown | mit | 577 |
import { expect } from 'chai';
import { createTheme } from '@mui/material/styles';
import defaultTheme from './defaultTheme';
import responsiveFontSizes from './responsiveFontSizes';
describe('responsiveFontSizes', () => {
it('should support unitless line height', () => {
const defaultVariant = {
fontFamil... | oliviertassinari/material-ui | packages/mui-material/src/styles/responsiveFontSizes.test.js | JavaScript | mit | 2,468 |
---
title: Integration
category: integration
authors: knesenko, mgoldboi, rafaelmartins, sandrobonazzola
wiki_category: Integration
wiki_title: Integration
wiki_revision_count: 10
wiki_last_updated: 2015-09-10
---
# Integration
## Who's in Integration team?
The members of the Integration team are
* Yedidyah Bar D... | rafaelmartins/ovirt-site | source/develop/projects/project-integration.html.md | Markdown | mit | 2,383 |
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple... | sn357/is117html5- | src/index.html | HTML | mit | 1,869 |
## Description
The Segmentation filter transforms a volume data set into a segmented volume data set.
This filter uses the thresholding method for the segmentation.
>'The simplest thresholding methods replace each pixel in an image with a black pixel if the image intensity I_i,j is less than some fixed constant T (th... | voxie-viewer/voxie | doc/prototype/de.uni_stuttgart.Voxie.Filter.BinarySegmentation.md | Markdown | mit | 1,750 |
# This code is supporting material for the book
# Building Machine Learning Systems with Python
# by Willi Richert and Luis Pedro Coelho
# published by PACKT Publishing
#
# It is made available under the MIT License
from load import load_dataset
import numpy as np
from threshold import learn_model, apply_model, accura... | krahman/BuildingMachineLearningSystemsWithPython | ch02/seeds_threshold.py | Python | mit | 921 |
import * as THREE from 'three';
import PropTypes from 'prop-types';
import MaterialDescriptorBase from './MaterialDescriptorBase';
class LineBasicMaterialDescriptor extends MaterialDescriptorBase {
constructor(react3RendererInstance) {
super(react3RendererInstance);
this.hasColor();
this.hasProp('lin... | toxicFork/react-three-renderer | src/lib/descriptors/Material/LineBasicMaterialDescriptor.js | JavaScript | mit | 1,171 |
#!/usr/bin/env node
var util = require('util'),
http = require('http'),
fs = require('fs'),
url = require('url'),
events = require('events');
var DEFAULT_PORT = 8123;
function main(argv) {
new HttpServer({
'GET': createServlet(StaticServlet),
'HEAD': createServlet(StaticServlet)
}).start(... | a5hik/angular-highcharts | scripts/web-server.js | JavaScript | mit | 6,556 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>datagram_socket_service::native</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="A... | dhh1128/intent | old/src/external/asio-1.10.2/doc/asio/reference/datagram_socket_service/native.html | HTML | mit | 2,959 |
# -*- coding: utf8 -*-
import re
from unidecode import unidecode
import os, sys
from hashlib import md5 as hasher
import binascii
import settings
def gen_flattened_list(iterables):
for item in iterables:
if hasattr(item, '__iter__'):
for i in item:
yield i
else:
... | jumoconnect/openjumo | jumodjango/etc/func.py | Python | mit | 1,840 |
<!DOCTYPE html>
<html lang="ko">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<title>Junshoong의 기술블로그 - ssh tag</title>
<link rel="styleshee... | vaporize93/blog | tag/ssh/index.html | HTML | mit | 7,067 |
export * from './other-person-profile.component'
| Directive14/HolidayAdvisor | src/app/page-components/other-person-profile/index.ts | TypeScript | mit | 49 |
namespace $ {
export function $mol_dom_render_attributes (
el : Element ,
attrs : { [ key : string ] : string|number|boolean|null }
) {
for( let name in attrs ) {
let val = attrs[ name ] as any
if( val === null || val === false ) {
if( !el.hasAttribute( name ) ) continue
el.removeAttrib... | eigenmethod/mol | dom/render/attributes/attributes.ts | TypeScript | mit | 489 |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::create('image... | abhisheksharma14/laravel-crud | database/migrations/2017_07_19_162546_create_images_table.php | PHP | mit | 685 |
<style>
/*
stats card
*/
.count, .label {
z-index: 1 !important;
}
.chart-stats-card {
display:block;
position:relative;
overflow:hidden;
}
.chart-stats-card i {
position:absolute;
font-size:6rem;
right:0;
bottom:-1rem;
}
.chart-stats-card .count {
position:re... | pfitzpaddy/ngm-reportHub | app/scripts/widgets/ngm-highchart/template/flood-forecast.html | HTML | mit | 3,772 |
GCCARGS = -g -Wall -Werror
all: lisp
lisp: main.o eval.c builtins.o parse.o tokenize.o sequence.o object.o util.o dictionary.o
gcc ${GCCARGS} -lreadline -o $@ $^
main.o: main.c parse.h object.h tokenize.h eval.h util.h
gcc ${GCCARGS} -c -o $@ $<
eval.o: eval.c eval.h builtins.h object.h
gcc ${GCCARGS} -c -o $@ $... | ids1024/idslisp | Makefile | Makefile | mit | 836 |
package compression
import (
c "gopkg.in/h2non/gentleman.v2/context"
p "gopkg.in/h2non/gentleman.v2/plugin"
"net/http"
)
// Disable disables the authorization basic header in the outgoing request
func Disable() p.Plugin {
return p.NewRequestPlugin(func(ctx *c.Context, h c.Handler) {
// Assert http.Transport to ... | h2non/gentleman | plugins/compression/compression.go | GO | mit | 576 |
-- @docclass Player
PlayerStates = {
None = 0,
Poison = 1,
Burn = 2,
Energy = 4,
Drunk = 8,
Manashield = 16,
Paralyze = 32,
Haste = 64,
Swords = 128,
Drowning = 256,
Freezing = 512,
Dazzled = 1024,
Cursed = 2048,
PartyBuff = 4096,
PzBlock = 8192,
Pz = 16384,
Bleeding = 32768,
Hungry... | Flatlander57/TheImaginedOTClient | modules/gamelib/player.lua | Lua | mit | 3,889 |
/* eslint-env mocha */
const path = require('path');
const should = require('should');
const { openDb, closeDb } = require('../../lib/db');
const gtfs = require('../..');
const config = {
agencies: [{
agency_key: 'caltrain',
path: path.join(__dirname, '../fixture/caltrain_20160406.zip')
}],
verbose: fa... | brendannee/node-gtfs | test/mocha/gtfs.get-levels.js | JavaScript | mit | 745 |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using TypedRest.Endpoints.Rpc;
namespace TypedRest.CommandLine.Commands.Rpc
{
/// <summary>
/// Command operating on an <see cref="IProducerEndpoint{TResult}"/>.
/// </summary>
/// <typeparam name="TResult">The typ... | 1and1/TypedRest-DotNet | src/TypedRest.CommandLine/Commands/Rpc/ProducerCommand.cs | C# | mit | 1,232 |
import Model.Model;
import org.easymock.EasyMock;
import static org.easymock.EasyMock.expect;
import org.junit.Test;
/**
*
* @author prash_000
*/
public class UpdateUserTest {
public UpdateUserTest() {
}
@Test
public void aUserIsCorrectlyUpdated() {
Model mode... | prashantban/Java-Spark-FTL | src/test/java/UpdateUserTest.java | Java | mit | 737 |
(function($) {
var UserInputView = Backbone.View.extend({
el : '#UserInput',
initialize : function() {
this.helloListView = new HelloListView();
},
events : {
'click button' : 'addToHelloCollection'
},
addToHelloCollection : function(... | jesuscuesta/Backbone | 01.- Vistas/01.- Ejemplo inicial. Algo complicado/hello.js | JavaScript | mit | 1,636 |
<!DOCTYPE html>
<html class="no-js" lang="en-US">
<head>
<meta charset="utf8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Wedding</title>
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans&subse... | nmcapule/kg | public/tags/wedding/index.html | HTML | mit | 6,977 |
// This file defines an API that would be nice, but it's not required
// Initialize the editor
var editor = new Editor("");
// Activate/deactivate the editor
editor.active(true || false);
// Set a new action
editor.add("", {
shortcut: {} || "" || false, // The key for Ctrl+key or { key: "esc" }
menu: {} || ... | franciscop/modern-editor | spec.js | JavaScript | mit | 1,808 |
#facebox .b {
background:url(/images/facebox/b.png);
}
#facebox .tl {
background:url(/images/facebox/tl.png);
}
#facebox .tr {
background:url(/images/facebox/tr.png);
}
#facebox .bl {
background:url(/images/facebox/bl.png);
}
#facebox .br {
background:url(/images/facebox/br.png);
}
#facebox {
position:... | bcalloway/rails-calendar | public/stylesheets/facebox.css | CSS | mit | 1,421 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.