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 |
|---|---|---|---|---|---|
#include "Function.h"
#include "xc.h"
#include "pps.h"
#include <libpic30.h>
void Setup(void)
{
// setup internal clock for 72MHz/36MIPS
// 12/2=6*24=132/2=72
CLKDIVbits.PLLPRE=0; // PLLPRE (N2) 0=/2
PLLFBD=22; // pll multiplier (M) = +2
CLKDIVbits.PLLPOST=0; // PLLPOST (N1) 0=... | uazipsev/EV15 | ECU.X/Function.c | C | mit | 855 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (calc, node, precision) {
var str = stringify(node, precision);
if (node.type === "MathExpression") {
// if calc expression couldn't be resolved to a single value, re-wrap it as
// a calc()
str =... | kumarrus/MuffinMan | node_modules/postcss-calc/node_modules/reduce-css-calc/dist/lib/stringifier.js | JavaScript | mit | 1,404 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>random: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.6/released/8.9.1/random/8.10.0.html | HTML | mit | 8,464 |
<?php
namespace Gips\WebBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony.co... | gippy/gipsweb | src/Gips/WebBundle/DependencyInjection/Configuration.php | PHP | mit | 871 |
<div class="master-list">
{{#each masters}}
{{#if text-help}}
<div class="master-list__cont-help"><p class="master-list__text-help">{{text-help}}</p></div>
{{/if}}
<div class="master-list__master-card">
<div class="master-list__avatar-cont">
{{#if is-avatar-exist}}
... | dumperize/fm-lk | builds/stable/modules/master-block/master-list/master-list.html | HTML | mit | 1,593 |
/*!
* OOUI v0.43.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 2011–2022 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2022-02-10T15:03:52Z
*/.oo-ui-icon-indent{background-image:url(themes/wikimediaui/images/icons/indent-rtl.svg)}.oo-ui-icon-... | cdnjs/cdnjs | ajax/libs/oojs-ui/0.43.1/oojs-ui-apex-icons-editing-list.rtl.min.css | CSS | mit | 596 |
package SMART
import Chisel._
// Implementing the XY Routing Unit
class RoutingUnit() extends Module {
val io = new Bundle {
val xHops = UInt(INPUT, width = X_HOP_WIDTH)
val yHops = UInt(INPUT, width = Y_HOP_WIDTH)
val xDir = UInt(INPUT, width = 1)
val yDir = UInt(INPUT, wi... | hyoukjun/OpenSMART | Backend/Chisel/RoutingUnit.scala | Scala | mit | 3,512 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('cityhallmonitor', '0002_matter_attachments_obtained_at'),
]
operations = [
migrations.AddField(
model_name='matt... | NUKnightLab/cityhallmonitor | cityhallmonitor/migrations/0003_matterattachment_link_obtained_at.py | Python | mit | 440 |
<!-- <time class="updated" datetime="<?= get_post_time('c', true); ?>"><?= get_the_date(); ?></time>
<p class="byline author vcard"><?= __('By', 'sage'); ?> <a href="<?= get_author_posts_url(get_the_author_meta('ID')); ?>" rel="author" class="fn"><?= get_the_author(); ?></a></p>
--> | smpetrey/leahconstantine.com | web/app/themes/l-theme/templates/entry-meta.php | PHP | mit | 284 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>bdds: 1 m 27 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="st... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.7.1+1/bdds/8.7.0.html | HTML | mit | 16,643 |
<?php if ( ! defined('BASEPATH')) exit ('No direct script access allowed');
class Login extends CI_Controller {
public function index() {
$data = array('title' => 'Login Administrator',
‘isi’ =>’admin/login_view’);
$this->load->view(‘admin/login_view’,$data);
}
}
/*fungsi untuk login admin*/ | khoironi7887/SI-SELEBRITI | application/controllers/Login.php | PHP | mit | 312 |
<?php
namespace Sandbox;
class StaticPageTest extends WebTestCase
{
public function testRedirectToHomepage()
{
$client = $this->createClient();
$client->request('GET', '/');
$this->assertEquals(301, $client->getResponse()->getStatusCode());
$client->followRedirect();
... | rat4m3n/cmf-standard-fosuser | app/tests/StaticPageTest.php | PHP | mit | 1,300 |
require 'sdbus/version'
require 'sdbus/type_parser'
require 'sdbus/native'
require 'sdbus/error'
require 'sdbus/bus'
require 'sdbus/reply'
require 'sdbus/message'
require 'sdbus/service'
require 'sdbus/object'
require 'sdbus/interface'
module Sdbus
class << self
# Returns a new instance of a {Sdbus::Bus} bound t... | ledbettj/sdbus | lib/sdbus.rb | Ruby | mit | 831 |
Class = require "lib.hump.class"
Enemy = require "entities.enemy"
vector = require "lib.hump.vector"
EnemyBullet = require "entities.enemyBullet"
EntityTypes = require "entities.types"
Tank = Class{__includes = Enemy,
init = function(self, x, y, dx, dy, state)
Enemy.init(self, x, y, state)
self.health = 80
self... | tinydanbo/Impoverished-Starfighter | game/enemies/tank.lua | Lua | mit | 1,661 |
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::CognitiveServices::Customvisiontraining::V2_0
module Models
#
# Model object.
#
#
class PredictionQueryResult
inc... | Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_customvisiontraining/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_result.rb | Ruby | mit | 1,941 |
module Kiosk
module WordPress
class Images < Resource
end
end
end
| nanowrimo/kiosk | lib/kiosk/word_press/images.rb | Ruby | mit | 78 |
//
// ZHModel.h
// UIFengzhuang
//
// Created by Aaron on 15/12/26.
// Copyright (c) 2015年 叶无道. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* 保存每一次对阵
*/
@class ZHSmallVideo;
@interface ZHMatchVS : NSObject
@property (nonatomic ,copy) NSString *team_A_id;
@property (nonatomic ,copy) NSString *t... | AppriaTT/zuqiukong | 足球控(DIY)/Matches/Model/ZHMatchVS.h | C | mit | 906 |
<?php namespace Ordercloud\Requests\Organisations\Criteria;
/**
* @deprecated See Ordercloud\Requests\Connections\Criteria\AdvancedConnectionCriteria
*
* Class AdvancedConnectionCriteria
*
* @package Ordercloud\Requests\Organisations\Criteria
*/
class AdvancedConnectionCriteria extends ExtendedConnectionCriteria... | ordercloud/ordercloud-php | src/Requests/Organisations/Criteria/AdvancedConnectionCriteria.php | PHP | mit | 2,107 |
import { assert, expect } from 'chai';
import 'angular';
import 'angular-mocks/angular-mocks';
import '../src/component';
describe('User factory', ()=>{
var Client;
beforeEach(angular.mock.module('component'));
beforeEach(angular.mock.inject(function(_client_) {
Client = _client_;
}));
it('sou... | DanH91/Js-Seeds | ANGULARJS-JSPM-KARMA-MOCHA/test/userSpec.js | JavaScript | mit | 440 |
export const flatTree = (tree, getBody = node => node.body) => {
let flatList = [];
[].concat(tree).forEach(node => {
const body = getBody(node);
if (body && body.length) {
flatList = flatList.concat(node, flatTree(body, getBody));
} else {
flatList.push(node);
... | Bogdan-Lyashenko/js-code-to-svg-flowchart | src/shared/utils/flatten.js | JavaScript | mit | 363 |
---
layout: post
title: VIJOS1755 - [NOIP2009]靶形数独
date: 2016-10-18 21:45:00
categories: OI
tags: [搜索]
---
一道很吼的搜索,有人推荐做。主要是状态的表示。
> (条件编译大法好!
## 题目描述
> 小城和小华都是热爱数学的好学生,最近,他们不约而同地迷上了数独游戏,好胜的他们想用数独来一比高低。但普通的数独对他们来说都过于简单了,于是他们向 Z博士请教,Z 博士拿出了他最近发明的“靶形数独” ,作为这两个孩子比试的题目。 靶形数独的方格同普通数独一样,在 9 格宽×9 格高的大九宫格中有 9 个 3 格宽×3 格高的小九... | monkey2000/mky.moe | content/posts/2016-10-19-vijos1755.md | Markdown | mit | 2,941 |
<?php
/*
Unsafe sample
input : get the field UserData from the variable $_POST
sanitize : regular expression accepts everything
construction : interpretation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and d... | stivalet/PHP-Vulnerability-test-suite | Injection/CWE_95/unsafe/CWE_95__POST__func_preg_match-no_filtering__echo-interpretation_simple_quote.php | PHP | mit | 1,288 |
from __future__ import absolute_import, division, print_function
import hashlib
import linecache
import sys
import warnings
from operator import itemgetter
from . import _config
from ._compat import PY2, isclass, iteritems, metadata_proxy, set_closure_cell
from .exceptions import (
DefaultAlreadySetError, Frozen... | nparley/mylatitude | lib/attr/_make.py | Python | mit | 49,291 |
var People = function(names) {
this.allNames = [];
names.forEach(function(name) {
name = name.charAt(0).toUpperCase() + name.slice(1);
this.allNames.push(name);
}.bind(this));
};
People.prototype.getNames = function() {
return this.allNames;
};
People.prototype.sort = function() {
this.allNames.sort... | litterbox-sf-fall/peeps | src/nameSort.js | JavaScript | mit | 352 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zfc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.12.1/zfc/8.8.0.html | HTML | mit | 7,669 |
module AuthenticatedSystem
# empty placeholder so that we can still use rails generators, etc. without complaints.
# This will normally be provided by the containing rails app.
end
| concord-consortium/smartgraphs-connector | lib/authenticated_system.rb | Ruby | mit | 185 |
raywaster
=========
C# raycasting renderer
| r2d2rigo/raywaster | README.md | Markdown | mit | 44 |
package exam1;
/**
*
* @author Eddie Gurnee
* @version 10/07/13
* @see AClass
* @see BClass
*
*/
import java.util.Scanner;
public class TestingAandBClass {
public static void main(String[] args) {
Scanner kb = new Scanner(System.in);
System.out.print("Please Enter x value for object A: ");
int xA = kb.n... | pegurnee/2013-03-211 | workspace/Exam1/src/exam1/TestingAandBClass.java | Java | mit | 901 |
# poolball-physics
| baiIey/poolball-physics | README.md | Markdown | mit | 19 |
<div>
<form-field-wrapper>
<div slot="FormFieldInput" v-el:form-field-input>
<autocomplete-input :val.sync="subjects" :options="field.suggestions"></autocomplete-input>
</div>
<div slot="HelpButton">
<help-initiator-button></help-initiator-button>
</div>
</form-field-wrapper>
</div> | libris/swepubanalys | src/main/resources/client/components/SubjectInput/SubjectInput.html | HTML | mit | 299 |
var Watcher = require('./watcher')
var middleware = require('./middleware')
var http = require('http')
var connect = require('connect')
exports.serve = serve
function serve (builder, options) {
options = options || {}
console.log('Serving on http://' + options.host + ':' + options.port + '\n')
var watcher = op... | osxi/broccoli | lib/server.js | JavaScript | mit | 1,315 |
import EmberRouter from '@ember/routing/router';
import config from './config/environment';
const Router = EmberRouter.extend({
location: config.locationType,
rootURL: config.rootURL
});
Router.map(function() {
this.route('home', { path: '/' });
this.route('apple');
this.route('banana');
this.route('cocon... | queertangocollective/ui | tests/dummy/app/router.js | JavaScript | mit | 476 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paco: 1 m 34 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="st... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.12.0/paco/4.1.0.html | HTML | mit | 20,466 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coqprime: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.06.1-2.0.5/released/8.7.1+2/coqprime/1.0.5.html | HTML | mit | 6,548 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {Injector, RenderComponentType, RootRenderer, Sanitizer, SecurityContext, ViewEncapsulation, getDebugNode} fr... | tolemac/angular | modules/@angular/core/test/view/anchor_spec.ts | TypeScript | mit | 2,693 |
// Copyright (c) 2011-2013 The CoinsBazar developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SIGNVERIFYMESSAGEDIALOG_H
#define SIGNVERIFYMESSAGEDIALOG_H
#include <QDialog>
class WalletModel;
namespace Ui {... | aqavi-paracha/coinsbazar | src/qt/signverifymessagedialog.h | C | mit | 1,299 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Web.WebPages.OAuth;
using AngularSignal.Models;
namespace AngularSignal
{
public static class AuthConfig
{
public static void RegisterAuth()
{
// To let users of this site log in u... | danielfoord/ngSignalR-demo | ngSignalR/App_Start/AuthConfig.cs | C# | mit | 964 |
// Download the twilio-csharp library from twilio.com/docs/csharp/install
using System;
using Twilio.TaskRouter;
class Example
{
static void Main(string[] args)
{
// Find your Account Sid and Auth Token at twilio.com/user/account
string AccountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
string AuthToke... | teoreteetik/api-snippets | rest/taskrouter/reservations/instance/get/example-1/example-1.4.x.cs | C# | mit | 794 |
/*************************************************************************
*
* Copyright (c) 2008-2009 Kohei Yoshida
*
* 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
* restri... | Distrotech/mdds | obsolete/nodecontainer.cpp | C++ | mit | 3,066 |
<?php namespace timestr;
function testOne()
{
$i = 0;
ob_start();
while ($i < 100000) {
$a = "something";
echo "SSSSSAAAAAAAAAYyyyyyyy " . $a;
$i++;
}
ob_end_clean();
unset($a, $i);
}
function testTwo()
{
$i = 0;
ob_start();
while ($i < 100000) {
$a ... | thcipriani/phpbench | MicroOps/single_quote_vs_double_quote/test_time.php | PHP | mit | 934 |
<!DOCTYPE html>
<!-- build:[manifest]:prod manifest.appcache -->
<html>
<!-- /build -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- build:template
<title><%= name %></title>
/build -->
<link rel="stylesheet" href="//cdnjs.cloudflare.co... | eirikt/default-webapp-heroku | client/index.html | HTML | mit | 1,770 |
using Microsoft.Xna.Framework;
using SkidiKit.Core.NodeAction.Common;
namespace SkidiKit.Core.NodeAction.Intervals
{
public class RotateBy: FinateTimeAction
{
public float Angle { get; }
public RotateBy(float duration, float angle): base(duration)
{
Angle = angle;
... | nikita-sky/SkidiKit | SkidiKit/Core/NodeAction/Intervals/RotateBy.cs | C# | mit | 1,145 |
# 053. Maximum Subarray
# The simple O(n) solution.
import unittest
class Solution(object):
def maxSubArray(self, nums):
"""
:type nums: List[int]
:rtype: int
"""
ret = nums[0]
pre = nums[0]
for i in nums[1:]:
if ret < i and ret < 0:
... | hanlin-he/UTD | leetcode/py/053.py | Python | mit | 1,020 |
var backgrounds = [
"url('http://res.cloudinary.com/dklyjqkxa/image/upload/v1476149119/google_hq_azlr3e.jpg')",
"url('http://res.cloudinary.com/dklyjqkxa/image/upload/v1476149119/apple_hq_bmqqhh.jpg')",
"url('http://res.cloudinary.com/dklyjqkxa/image/upload/v1476149119/microsoft_hq_c88f8g.jpg')",
"url('http://r... | sameesiddiqui/ballertechjobs | js/main.js | JavaScript | mit | 1,801 |
require 'rgeo'
require 'mongoid/geospatial/ext/rgeo_spherical_point_impl'
module Mongoid
#
# Wrappers for RGeo
# https://github.com/rgeo/rgeo
#
module Geospatial
# Wrapper to Rgeo's Point
Point.class_eval do
#
# With RGeo support
#
# @return (RGeo::SphericalFactory::Point)
... | nofxx/mongoid-geospatial | lib/mongoid/geospatial/wrappers/rgeo.rb | Ruby | mit | 1,146 |
search_result['1024']=["topic_0000000000000254.html","SystemManagementController.UpdateBadge Method",""]; | asiboro/asiboro.github.io | vsdoc/search--/s_1024.js | JavaScript | mit | 105 |
/* ------- FONTS ------- */
/* ------- BORDERS ------- */
/* ------- BACKGROUNDS ------- */
/* ------- COLORS ------- */
/* ------- Indents ------- */
/* ------- Product Elements ------- */
/* ------- Buttons ------- */
/* ------- Buttons +/- ------ */
/* ------- Button Small ------- */
/* ------- Button exclusive-medi... | rachitsakhidas/Grocerry-e-commenrce | css/grocery/blockcontact.css | CSS | mit | 1,917 |
#!/usr/bin/perl
#
# Convert erlang source into markdown
#
# 1/ non-comment lines become quoted blocks (github)
# 2/ comment lines are treated as straight markdown
#
# Pipe-only, usage:
# emdoc.pl < foo.erl > foo.erl.md
#
# The markdown can then be converted by other tools
# [Might be nice if we could do syntax colori... | thomasl/emdoc | bin/emdoc.pl | Perl | mit | 1,435 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mini-compiler: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.10.0/mini-compiler/8.5.0.html | HTML | mit | 6,953 |
# -*- coding: utf-8 -*-
require 'spec_helper'
shared_examples_for "a file binder" do
describe ".pathnames" do
it do
expect(@dummy.pathnames).to be_a_kind_of Array
end
it do
expect(@dummy.pathnames.first).to be_a_kind_of Pathname
end
end
describe ".files" do
it do
expect(@d... | Manbo-/file_binder | spec/lib/file_binder_spec.rb | Ruby | mit | 4,806 |
# UI Extensions SDK reference
Moved to [UI Extensions SDK reference](https://www.contentful.com/developers/docs/extensibility/ui-extensions/sdk-reference/).
| contentful/widget-sdk | docs/ui-extensions-sdk-frontend.md | Markdown | mit | 158 |
<?php
/**
* Este archivo contiene los datos de un fixture para los casos de prueba.
*
* PHP versions 5
*
* @filesource
* @copyright Copyright 2007-2009, Pragmatia
* @link http://www.pragmatia.com
* @package pragtico
* @subpackage app.tests.fixtures
* @since Pragtico v 1... | alyssa-labs/pragtico | app/tests/fixtures/empleadores_rubro_fixture.php | PHP | mit | 2,022 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using HaloSharp.Extension;
using HaloSharp.Model.Halo5.Metadata;
using HaloSharp.Query.Halo5.Metadata;
using HaloSharp.Test.Config;
using HaloSharp.Test.Utility;
using Moq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
... | gitFurious/HaloSharp | Source/HaloSharp.Test/Query/Halo5/Metadata/GetSeasonsTests.cs | C# | mit | 3,425 |
"""
Transactional workflow control for Django models.
"""
| oblalex/django-workflow | src/workflow/__init__.py | Python | mit | 58 |
import React from 'react';
import styles from './button.css';
let Button = React.createClass({
render() {
return (
<div className={styles.container}>
<button className={styles.button}>Click me!</button>
</div>
);
}
});
React.render(<Button />, document.getElementById('content'));
| kwangkim/css-in-js | css-loader/button.js | JavaScript | mit | 315 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using QuickDALTests.TestCaseClasses;
namespace QuickDALTests
{
[TestClass]
public class DataObjectTests : ScopedTestClass
{
public static void AssertFullMatch(SimpleDataObject a, SimpleDataObject b)
... | svidgen/QuickDAL | QuickDALTests/DataObjectTests.cs | C# | mit | 4,581 |
---
layout: post
title: Our Lamp
---
<p> At this stage we have decided to keep the stucture of the lamp simplistic and modern looking as possible.</p>
<p> Having too many parts makes the lamp look more messy instead of a clean look.</p>
<p>Though we like the panel and iris structures, timewise we would like to focus o... | FabLabWgtn/Wavy | _posts/2016-02-12-Concept point.md | Markdown | mit | 383 |
/**
* Copyright (c) 2010 Zef Hemel <zef@zef.me>
*
* 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,... | TimurStash/syncro | vendor/persistence.js | JavaScript | mit | 81,298 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dictionaries: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.06.1-2.0.5/released/8.14.0/dictionaries/8.7.0.html | HTML | mit | 7,762 |
.calendar-container {
background: #cebe29;
background: -moz-linear-gradient(-45deg, #cebe29 0%, #9b1f50 33%, #2989d8 71%, #89b4ff 91%);
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#cebe29), color-stop(33%,#9b1f50), color-stop(71%,#2989d8), color-stop(91%,#89b4ff));
background: -webkit... | danielgonzalez11/enjoyZaragoza | Quaver/App/Theme/Default/Resources/css/custom_1.css | CSS | mit | 8,035 |
package com.openparts.common.utils;
import org.abstractj.kalium.crypto.Point;
import org.abstractj.kalium.encoders.Encoder;
import static org.abstractj.kalium.NaCl.Sodium.CRYPTO_BOX_CURVE25519XSALSA20POLY1305_PUBLICKEYBYTES;
import static org.abstractj.kalium.NaCl.Sodium.CRYPTO_BOX_CURVE25519XSALSA20POLY1305_SECRETKE... | XilongPei/Openparts | Openparts-framework/src/main/java/com/openparts/common/utils/KaliumKeyPair.java | Java | mit | 1,432 |
/*
* Copyright 2014 MongoDB, Inc.
*
* 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 or agreed to ... | bauman/bsonsearch | lib/mongoc-matcher-op-private.h | C | mit | 11,406 |
# MixedRequestDto class
Request for Mixed.
```csharp
public sealed class MixedRequestDto : ServiceDto<MixedRequestDto>
```
## Public Members
| name | description |
| --- | --- |
| [MixedRequestDto](MixedRequestDto/MixedRequestDto.md)() | Creates an instance. |
| [Header](MixedRequestDto/Header.md) { get; set; } | ... | FacilityApi/FacilityCSharp | docs/Facility.ConformanceApi/MixedRequestDto.md | Markdown | mit | 988 |
package net.sf.jxls.reader;
import java.util.ArrayList;
import java.util.List;
/**
* @author Leonid Vysochyn
*/
public class SimpleSectionCheck implements SectionCheck {
List offsetRowChecks = new ArrayList();
public SimpleSectionCheck() {
}
public SimpleSectionCheck(List relativeRowChecks) {
... | neolfdev/dlscxx | jxls-reader/src/main/java/net/sf/jxls/reader/SimpleSectionCheck.java | Java | mit | 1,032 |
<?php
/**
* @author Bill Skinner
* @package BiskMVC
* @version 1.0.0
* @copyright Bill Skinner, 2016
*/
/* Start session */
session_start();
/* CORS Access Headers. */
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST, PATCH,... | biskmedia/BiskMVC | public/index.php | PHP | mit | 576 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>reglang: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.9.1/reglang/1.1.1.html | HTML | mit | 7,542 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>This is the about page!</title>
</head>
<body>
</body>
</html> | ana-vas/simple-site | about.html | HTML | mit | 145 |
Package.describe({
summary: 'Meteor package to wrap TopoJSON: An extension to GeoJSON that encodes topology'
});
Package.on_use(function(api) {
api.export('topojson');
api.add_files('meteor-topojson.js', 'server');
api.add_files('topojson.js', 'client');
});
Package.on_test(function (api) {
api.use(['topojs... | vsivsi/meteor-topojson | package.js | JavaScript | mit | 442 |
<?php
// src/symfony/CinemaBundle/Controller/DefaultController.php
namespace symfony\CinemaBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Respons... | annelepape2/tdSymfony | src/symfony/CinemaBundle/Controller/DefaultController.php | PHP | mit | 1,293 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=property.js.map | bmitchenko/webapi-ng2 | src/specification/property.js | JavaScript | mit | 113 |
%%%%%%%%%%%%%%%
\begin{frame}{}
\fignocaption{width = 0.40\textwidth}{figs/less-logo}
\end{frame}
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%
\begin{frame}{}
\begin{definition}[$|A| \le |B|$]
$|A| \le |B|$ if there exists an \red{\it one-to-one} function $f$ from $A$ into $B$.
\end{definition}
\pause
\[
\text{b... | hengxin/problem-solving-class-lectures | 2017/2017-autumn-1st-semester/1-11-infinity/tutorial/parts/compare-less.tex | TeX | mit | 3,646 |
/**
* Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all keys greater than the original key in BST.
*
* Example:
*
* Input: The root of a Binary Search Tree like this:
* 5
* / \
* ... | franklingu/leetcode-solutions | questions/convert-bst-to-greater-tree/Solution.java | Java | mit | 1,470 |
import { themeGet } from "@styled-system/theme-get"
import React from "react"
import { Animated, View } from "react-native"
import styled from "styled-components/native"
import { Box, ClassTheme, Sans } from "palette"
/**
* Nearly all props are given by the ScrollableTabView,
* these are prefixed with Auto:
*/
int... | artsy/eigen | src/app/Components/TabBar.tsx | TypeScript | mit | 4,268 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zsearch-trees: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.13.1-2.0.10/extra-dev/dev/zsearch-trees/8.6.0.html | HTML | mit | 7,135 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>smc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.0/smc/8.9.0.html | HTML | mit | 7,432 |
<?php namespace Elepunk\Evaluator\Contracts;
use \Closure;
interface EvaluatorInterface
{
/**
* Get the Expression Engine instance
*
* @return \Symfony\Component\ExpressionLanguage\ExpressionLanguage
*/
public function getExpressionEngine();
/**
* Get evaluator current adapter in... | elepunk/evaluator | src/Contracts/EvaluatorInterface.php | PHP | mit | 1,297 |
//
// FSTPoultryDuckBreastSousVideRecipe.h
// FirstBuild
//
// Created by Myles Caley on 12/17/15.
// Copyright © 2015 FirstBuild. All rights reserved.
//
#import "FSTPoultryDuckSousVideRecipe.h"
@interface FSTPoultryDuckBreastSousVideRecipe : FSTPoultryDuckSousVideRecipe
@end
| FirstBuild/FirstBuild-Mobile | FirstBuild/FSTPoultryDuckBreastSousVideRecipe.h | C | mit | 286 |
//
// Copyright (C) 2010, OMBT LLC and Mike A. Rumore
// All rights reserved.
// Contact: Mike A. Rumore, (mike.a.rumore@gmail.com)
//
#include "system/Debug.h"
#include "performance/NanoSecTime.h"
using namespace ombt;
// headers
#include <time.h>
#include <string.h>
#include <assert.h>
#include <iostream>
#include ... | ombt/ombt | testsrc/performance/test3.cpp | C++ | mit | 16,537 |
#!/usr/bin/ipython
library_file = open('/srv/http/.config/cmus/lib.pl');
tracks = library_file.readlines()
for x in tracks:
print('<li>' + x + '</li>')
| yisonPylkita/blace | Applications/Music_Player/getLibrary.py | Python | mit | 157 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>vst-32: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.3/vst-32/2.8.html | HTML | mit | 7,871 |
# finance-notebooks
A collection of Jupyter Notebooks about finance
| mbonix/finance-notebooks | README.md | Markdown | mit | 68 |
package space.kyu.server;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest... | Hikyu/SpringBoot-Thymeleaf-Materializecss-Demo | src/test/java/space/kyu/server/AppTest.java | Java | mit | 644 |
#ifndef CRAY_BOX_H
#define CRAY_BOX_H
#include <CRayShape.h>
#include <CBox3D.h>
class CRayBox : public CRayShape, public CBox3D {
public:
CRayBox(double rx, double ry, double rz) :
CRayShape(), CBox3D(rx, ry, rz) {
}
CBBox3D getBBox() const {
return CBox3D::getBBox();
}
bool hit(const CRay &ray, ... | colinw7/CRayTrace | src/CRayBox.h | C | mit | 810 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>elpi: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.2/elpi/1.6.3~8.11.html | HTML | mit | 7,619 |
problem = """
The decimal number, 585 = 10010010012 (binary), is palindromic in both bases.
Find the sum of all numbers, less than one million, which are palindromic in base 10 and base 2.
(Please note that the palindromic number, in either base, may not include leading zeros.)
"""
def is_palindromic(s):
return ... | lorenyu/project-euler | problem-036.py | Python | mit | 813 |
# -*- coding: utf-8 -*-
from flask import make_response
from flask.views import MethodView
class IndexView(MethodView):
def get(self):
return make_response('Congratulations!')
| iceihehe/flaskr | app/demo/views.py | Python | mit | 193 |
/*
* The MIT License
*
* Copyright 2014 Kamnev Georgiy (nt.gocha@gmail.com).
*
* Данная лицензия разрешает, безвозмездно, лицам, получившим копию данного программного
* обеспечения и сопутствующей документации (в дальнейшем именуемыми "Программное Обеспечение"),
* использовать Программное Обеспечение без огра... | gochaorg/lang2 | src/main/java/xyz/cofe/lang2/vm/ext/StringTemplateField.java | Java | mit | 6,116 |
=begin
store.rb
Copyright 2009 wollzelle GmbH (http://wollzelle.com). All rights reserved.
=end
class StorelocatorStore < Storelocator::Base
set_table_name "stores"
BOM = "\377\376" #Byte Order Mark for excel
GEO_PRECISION = 8
#address configuration for template
ADDRESS_SETTINGS = {}
acts_as_wz_transl... | lorgio/storelocator | app/models/storelocator_store.rb | Ruby | mit | 7,842 |
# Trello Lists for StatusBoard
A simple jQuery plugin to display the cards and labels for a Trello list inside of a [Statusboard][statusboard].
## Directions
All you need is a User Token and the ID for the list you want to display.
**[Click Here to Generate a User Token][token]**
Edit `statusboard.html` and add ... | ThatGerber/trello-for-statusboard | readme.md | Markdown | mit | 1,847 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Wed Dec 17 20:48:07 PST 2014 -->
<title>TreeExpansionEvent (Java Platform SE 8 )</title>
<meta name="date" content="2014-12-17">
<meta n... | fbiville/annotation-processing-ftw | doc/java/jdk8/javax/swing/event/TreeExpansionEvent.html | HTML | mit | 15,762 |
## Preview
------
> [const ( APPNAME... ...FILE_NAME_HTML_CONFIG_JSON )](#f_const___APPNAME---_---FILE_NAME_HTML_CONFIG_JSON__)<a name="p_const___APPNAME---_---FILE_NAME_HTML_CONFIG_JSON__"><a/>
> [const ( DEFAULT_CONFIG_FILE_NAME... ...DEFAULT_OUTPATH )](#f_const___DEFAULT_CONFIG_FILE_NAME---_---DEFAULT_OUTPATH__)<... | slowfei/gosfdoc | doc/v0_1/md/default/github.com/slowfei/gosfdoc/gosfdoc.md | Markdown | mit | 50,108 |
using Kliva.Models;
using System.Collections.Generic;
namespace Kliva.Helpers
{
public static class StatisticsHelper
{
private static StatisticsGroup CreateGroup(string name, int sort)
{
return new StatisticsGroup() { Name = name, Sort = sort };
}
public static voi... | AppCreativity/Kliva | src/Kliva/Helpers/StatisticsHelper.cs | C# | mit | 4,478 |
describe('ds.utils.loadGoogleMapsAPI()', function() {
this.timeout(20000);
it('should load google maps api', function(done) {
ds.utils.loadGoogleMapsAPI().done(function(google) {
expect(google).to.be.an('object');
done();
});
});
it('should not make a http reque... | DanskSupermarked/ds-frontend | test/utils/load-google-maps-api.js | JavaScript | mit | 619 |
import { Resource } from '../api-resource';
import logger from 'kolibri.lib.logging';
const logging = logger.getLogger(__filename);
export default class FacilityUserResource extends Resource {
static resourceName() {
return 'facilityuser';
}
getCurrentFacility() {
const promise = new Promise(
res... | christianmemije/kolibri | kolibri/core/assets/src/api-resources/facilityUser.js | JavaScript | mit | 745 |
(function(){dust.register("red-tpl.tl",body_0);function body_0(chk,ctx){return chk.write("<div class=\"col-md-8\"><div class=\"row\"><div class=\"col-md-22 col-md-offset-1 red subpagecontrolhighlight\"> </div></div></div>");}return body_0;})(); | BlackCloudConcepts/requireunderpin | dusttemplates/red-tpl.js | JavaScript | mit | 249 |
.date-picker {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: column;
-webkit-flex-flow: column;
-moz-flex-flow: column;
-ms-flex-flow: column;
-o-flex-flow: column;
flex-flow: column;
flex-flow: column;
-webkit-box-flex: 1 ... | MrSaints/historyx | assets/css/react-date-picker.css | CSS | mit | 6,242 |
module.exports = (config) => {
const defaults = {
isWarmingUp: (event) => event.source === 'serverless-plugin-warmup',
onWarmup: (event) => console.log('Exiting early via warmup Middleware'),
waitForEmptyEventLoop: null
}
const options = Object.assign({}, defaults, config)
return ({
before: (h... | middyjs/middy | packages/warmup/index.js | JavaScript | mit | 672 |
//
// ThirdMacros.h
// MiAiApp
//
// Created by 徐阳 on 2017/5/18.
// Copyright © 2017年 徐阳. All rights reserved.
//
#ifndef ThirdMacros_h
#define ThirdMacros_h
#endif /* ThirdMacros_h */
| HarrisLee/Utils | UniversalApp-master/MiAiApp/Define/ThirdMacros.h | C | mit | 203 |
---
layout: page
title: Koch Electronics Seminar
date: 2016-05-24
author: Philip Hudson
tags: weekly links, java
status: published
summary: Maecenas nec sollicitudin diam. Curabitur.
banner: images/banner/wedding.jpg
booking:
startDate: 07/08/2019
endDate: 07/09/2019
ctyhocn: SBYMDHX
groupCode: KES
published: t... | KlishGroup/prose-pogs | pogs/S/SBYMDHX/KES/index.md | Markdown | mit | 2,474 |
import logging
import sqlite3
from pyfcm import FCMNotification
def insert_token(token):
try:
con = sqlite3.connect('fcm.db')
cur = con.cursor()
cur.execute('CREATE TABLE IF NOT EXISTS tokens(token TEXT)')
cur.execute('INSERT INTO tokens VALUES (?)', (token, ))
con.commi... | walkover/auto-tracking-cctv-gateway | gateway/firebase/fcm.py | Python | mit | 1,072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.