repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
OpenTl/OpenTl.Schema | docs/api/OpenTl.Schema/TPrivacyValueDisallowContacts/index.html | 98837 | <!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description">
<meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML">
<meta n... | mit |
petrdsvoboda/prototype-orders | app/src/models/ItemRequest.ts | 1446 | import * as Models from './'
export const ItemRequestPriority = [
'low',
'standard',
'high',
'highest'
] as const
export type ItemRequestPriorityTuple = typeof ItemRequestPriority
export type ItemRequestPriority = ItemRequestPriorityTuple[number]
export const ItemRequestDestination = ['Svařovna'] as const
export ... | mit |
mikstelit/mikstelit.github.io | index.html | 756 | ---
layout: default
title: Home
---
<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
{{ post.title }}
</h1>
<span class="post-date">{{ post.date | date_to_string }}</span>
{{ post.content }}
</div>
{% endfor %}
</div>
<div class="paginati... | mit |
orbitaljt/LEAD | Android/Lead/app/src/main/java/com/orbital/lead/controller/Activity/AddNewSpecificJournalActivity.java | 20434 | package com.orbital.lead.controller.Activity;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v... | mit |
bogas04/SikhJS | assets/docs/md/SGGS/Ang 685.md | 1471 | # Œ 685 ‰
---
lptwnw ] jobnu Dnu pRBqw kY md mY Aihinis rhY idvwnw ]1] dIn
dieAwl sdw duK BMjn qw isau mnu n lgwnw ] jn nwnk kotn mY iknhU
gurmuiK hoie pCwnw ]2]2] DnwsrI mhlw 9 ] iqh jogI kau jugiq n
jwnau ] loB moh mwieAw mmqw Puin ijh Git mwih pCwnau ]1] rhwau ]
pr inMdw ausqiq nh jw kY kMcn loh smwno ] hrK sog qy r... | mit |
tdeekens/flopflip | throwing-console-patch.js | 1445 | const colors = require('colors/safe');
const shouldSilenceWarnings = (...messages) =>
[].some((msgRegex) => messages.some((msg) => msgRegex.test(msg)));
const shouldNotThrowWarnings = (...messages) =>
[].some((msgRegex) => messages.some((msg) => msgRegex.test(msg)));
const logOrThrow = (log, method, messages) =>... | mit |
mmottaghi/Jerdy-Inspector | src/fmStats.cpp | 3488 | /***********************************************************************************
Copyright (C) 2016 Mohammad D. Mottaghi
Under the terms of the MIT license, permission is granted to anyone to use, copy,
modify, publish, redistribute, and/or sell copies of this source code for any
commercial and non-commerci... | mit |
JustinLove/chamberevents | lib/chamberevents.rb | 281 | require "chamberevents/version"
require 'chamberevents/read'
require 'chamberevents/ical'
require 'chamberevents/upload'
module Chamberevents
def self.update!
events = Read.current
ical = Ical.new(events).to_s
Upload.write('elginchamber-events.ics', ical)
end
end
| mit |
makepositive/Resque-Schedular | test/scheduler_setup_test.rb | 1413 | require File.dirname(__FILE__) + '/test_helper'
context "Resque::Scheduler" do
setup do
Resque::Scheduler.dynamic = false
Resque.redis.flushall
Resque::Scheduler.clear_schedule!
end
test 'set custom logger' do
custom_logger = Logger.new('/dev/null')
Resque::Scheduler.logger = custom_logger
... | mit |
BuzzAcademy/idioms-moe-unformatted-data | all-data/7000-7999/7196-22.html | 1577 | <table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>... | mit |
RGreenlees/JUMI-Java-Model-Importer | src/com/jumi/scene/objects/JUMISkinDeformer.java | 1888 | /*
* (C) Copyright 2015 Richard Greenlees
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,... | mit |
stoyantodorovbg/PHP-Web-Development-Basics | Homework Working with Forms in PHP/employee2/index.php | 559 | <?php
// Load DB
include "ConfigDb.php";
// Load core classes
include "core/Model.php";
include "core/Controller.php";
// Load model classes - they extend Model.php
include "model/AddressesModel.php";
include "model/EmployeesModel.php";
// Load Controller class - it extends Controller.php
include 'controller/FilterI... | mit |
franciscocpg/gopass | internal/action/fsck.go | 1676 | package action
import (
"os"
"path/filepath"
"github.com/gopasspw/gopass/internal/tree"
"github.com/gopasspw/gopass/internal/config"
"github.com/gopasspw/gopass/internal/out"
"github.com/gopasspw/gopass/internal/store/leaf"
"github.com/gopasspw/gopass/pkg/ctxutil"
"github.com/gopasspw/gopass/pkg/fsutil"
"gi... | mit |
mutiny/attributable | spec/spec_helper.rb | 854 | require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# Se... | mit |
simpleinjector/SimpleInjector | src/SimpleInjector/Diagnostics/LifestyleMismatchDiagnosticResult.cs | 1347 | // Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector.Diagnostics
{
using System;
using System.Diagnostics;
using SimpleInjector.Advanced;
/// <summary>
/// Diag... | mit |
minutebase/ember-inline-svg | app/helpers/inline-svg.js | 502 | import Helper, { helper as buildHelper } from '@ember/component/helper';
import { inlineSvg } from 'ember-inline-svg/helpers/inline-svg';
import SVGs from '../svgs';
import Ember from 'ember';
let helper;
if (Helper && buildHelper) {
helper = buildHelper(function ([path], options) {
return inlineSvg(SVGs, path, ... | mit |
nfroidure/gulp-ttf2woff2 | src/index.js | 2569 | 'use strict';
var path = require('path');
var Stream = require('readable-stream');
var BufferStreams = require('bufferstreams');
var ttf2woff2 = require('ttf2woff2');
var PluginError = require('plugin-error');
var replaceExtension = require('replace-ext');
var PLUGIN_NAME = 'gulp-ttf2woff2';
// File level transform ... | mit |
v8-dox/v8-dox.github.io | ef0ca2a/html/classv8_1_1_retained_object_info.html | 14854 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | mit |
xiangyingchang/xiangyingchang.github.com | _posts/2020-04-04-投资实盘周记 #11.md | 5147 | ---
categories:
- 价值投资
---
### 一、本周操作(无)
### 二、持仓实盘

其中:1、持仓分别在A股、港股和美股,港美股通过雪盈证券购买;2、持仓比例小于5%的可以理解为观察仓或收藏股(收集优秀公司的股权,比如Facebook、Google、Amazon等);3、收益率计算方式为:2020年收益率=(当前持仓净值+2020年新增资金-年初持仓净值)/年初持仓净值。
### 三、收益记录
 {
int[] map = new int[128];
int count = 0, start = 0, end = 0, d = 0;
while (end < s.length()) {
if (map[s.charAt(end++)]++ == 0) count++;
while (count > 2) if(map[s.charAt(start++)]-- ==... | mit |
Kehet/KReader | build/classes/kreader/map/CategoryTableMap.php | 1560 | <?php
/**
* This class defines the structure of the 'category' table.
*
*
*
* This map class is used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDE... | mit |
MahdiSafsafi/opcodesDB | db/x86/system/templates.pl | 11362 | #BEGIN_HEADER
#
# Copyright (C) 2020 Mahdi Safsafi.
#
# https://github.com/MahdiSafsafi/opcodesDB
#
# See licence file 'LICENCE' for use and distribution rights.
#
#END_HEADER
use strict;
use warnings;
# BNDCL-Check Lower Bound.
T['BNDCL REG:r=$BNDr AGEN:r=$agen ', 'MODE=64 ', 'BNDCL_ro ', ''];
T['BNDCL REG... | mit |
sanjuroj/bioscripts | probation/splitBlast.pl | 426 | #!usr/bin/perl;
use strict;
my $blastFile = $ARGV[0];
open (BFILE,$blastFile);
open (ANIT,">blastANIT");
open (ANIS,">blastANIS");
open (ANIU,">blastANIU");
my $counter=0;
while (my $line=<BFILE>){
#print $line;
if ($line =~ m/(ANIS)/){
print ANIS $line;
}
elsif ($line =~ m/(ANIT)/){
print ANIT $line;
}
e... | mit |
skippy/zmq_p1 | spec/awesome_spec.rb | 122 | require "spec_helper"
describe ZMQP1 do
it "is awesome" do
ZMQP1::Awesome.new.describe.should be_awesome
end
end
| mit |
thedmi/CouchDesignDocuments | Sources/CouchDesignDocuments/IShowsSection.cs | 91 | namespace TheDmi.CouchDesignDocuments
{
public interface IShowsSection
{
}
} | mit |
MatthewNichols/WeatherDemo | Scripts/WeatherApp/Model/WeatherData.js | 43 | //# sourceMappingURL=WeatherData.js.map
| mit |
Sevitec/oneconnexx-docs | _pages/architecture/de/overview.md | 9123 | ---
layout: page
title: Architektur
permalink: "architecture/de/overview/"
language: de
---
## Übersicht
Eine OneConnexx Installation besteht typischerweise aus den folgenden Komponenten:

Die Datenbank, Alerting-Ser... | mit |
pornvd/pornvd.github.io | _posts/2016-03-26-suruba-amadora.md | 380 | ---
layout: post
title: suruba amadora
titleinfo: pornvd
desc: Watch suruba amadora. Pornhub is the ultimate xxx porn and sex site.
---
<iframe src="http://www.pornhub.com/embed/ph56eacb34eae47" frameborder="0" width="630" height="338" scrolling="no"></iframe>
<h2>suruba amadora</h2>
<h3>Watch suruba amadora. Pornhub ... | mit |
stivalet/PHP-Vulnerability-test-suite | Injection/CWE_95/safe/CWE_95__object-classicGet__func_floatval__variable-interpretation_simple_quote.php | 1394 | <?php
/*
Safe sample
input : get the field userData from the variable $_GET via an object
sanitize : use of floatval
construction : interpretation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute t... | mit |
sanyamagrawal/royalgeni | README.md | 11634 | # Royal Geni : A React Starter Kit
## Installation
```bash
npm install
```
## Running Dev Server
```bash
npm run dev
```
The first time it may take a little while to generate the first `webpack-assets.json` and complain with a few dozen `[webpack-isomorphic-tools] (waiting for the first Webpack build to finish)` p... | mit |
MrInformatic/GameSaver | src/main/java/game/saver/remote/gamemaps/RemoteGameDoubleMap.java | 5186 | /*
* The MIT License (MIT)
*
* Copyright (c) 2016 MrInformatic.
*
* 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... | mit |
Micht69/shoplist | WebContent/static/scripts/comment.js | 556 |
function commentPage() {
// Open popup
$("#comment-popup").dialog({
width : 800,
height : 400,
modal : true,
appendTo: "#mainForm",
open : function(event, ui) {
$('input[id$="comment-comment"]').focus();
},
close : function(event, ui) {
cancelComment();
}
});
}
/**
* Clean ... | mit |
atst1996/TwitterAPI | TwitterAPI/Method/DirectMessages/DirectMessage.cs | 4411 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using TwitterAPI;
using System.Net;
using Core;
using System.Security.Cryptography;
using System.IO;
namespace TwitterAPI
{
[DataContract]
public class TwitterDirectMessage
{
/// <summary>
... | mit |
CodeThat/Elite-Solutions-Computer-Service | README.md | 305 | Elite-Solutions-Computer-Service
===============================
Another website I ran at one time, hand-coded. Some scraps from it's predecessor are also buried in the directory. Looking at the predecessor site, one can easily see it was my learning experience using GIMP to slice and dice a website :)
| mit |
davidhenry/CaSudoku | js/game.js | 8726 | document.addEventListener("DOMContentLoaded", function() {
"use_strict";
// Store game in global variable
const CASUDOKU = {};
CASUDOKU.game = (function() {
// Controls the state of the game
// Game UI
let uiStats = document.getElementById("gameStats"),
uiComplete = document.getElementById("gameCo... | mit |
urban/webpack-html-plugin | examples/asynchronous/README.md | 557 | # Asynchronous Example
An example showing how to delay rendering for asynchronous events.
## Commands
```sh
$ npm install
$ npm run dev
$ npm run build
```
## Code
```js
// webpack.config.babel.js
new HtmlPlugin((assets, defaultTemplate, compiler) => {
return new Promise((resolve, reject) => {
var template... | mit |
spring1843/chat-server | src/shared/rest/swagger.go | 508 | package rest
import (
restful "github.com/emicklei/go-restful"
swagger "github.com/emicklei/go-restful-swagger12"
)
// ConfigureSwagger configures the swagger documentation for all endpoints in the container
func ConfigureSwagger(apiDocPath string, container *restful.Container) {
if apiDocPath == "" {
return
}
... | mit |
jaganathanb/Typescript-Angular-Gulp-Webpack-Dynamic-module-loading- | dist/2.module.js | 2324 | webpackJsonp([2],{
/***/ 16:
/***/ function(module, exports, __webpack_require__) {
/// <reference path="../../typings/tsd.d.ts" />
var ListController = __webpack_require__(17);
// webpack will load the html. Nifty, eh?
__webpack_require__(9);
// webpack will load this scss too!
__webpack_require__(18);
modul... | mit |
LaravelHamburg/laravel-hamburg.com | app/Models/Comment.php | 729 | <?php
namespace App\Models;
use Fwartner\Katching\Cacheable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Comment extends Model
{
use Cacheable, SoftDeletes;
protected $table = 'comments';
protected $fillable = [
'content',
'is_spam',
... | mit |
dnaextrim/django_adminlte_x | README.md | 727 | #**Django-AdminLTE-X**
###**Django AdminLTE Template**
AdminLTE Bootstrap Theme packaged for Django
**Quick Start**
Install the pip package:
```
pip install django_adminlte_x
```
Add `adminlte` to your `INSTALLED_APPS` setting like this:
```
INSTALLED_APPS = (
'adminlte'
...
)
```
It is almost done. You can chec... | mit |
korwe/core-client-ruby | lib/messages/initiate_session_response.rb | 282 | require File.expand_path('../core_response', __FILE__)
module Korwe
module TheCore
class InitiateSessionResponse < CoreResponse
def initialize(session_id, guid, successful)
super(session_id, :InitiateSessionResponse, guid, successful)
end
end
end
end | mit |
WatersideDevelopment/Fullscreen-Ajax-Image-Loader | js/djsex/CSS.js | 1396 | djsex.css = {
/*
* http://stackoverflow.com/questions/524696/how-to-create-a-style-tag-with-javascript
*/
create: function(stylesheet) {
var head = document.getElementsByTagName('head')[0],
style = document.createElement('style'),
rules = document.createTextNode(stylesh... | mit |
mapbender/mapbender-activityindicator | src/Mapbender/ActivityIndicatorBundle/Element/ActivityIndicatorAdminType.php | 1022 | <?php
namespace Mapbender\ActivityIndicatorBundle\Element;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
/**
*
*/
class ActivityIndicatorAdminType extends AbstractType
{
/**
* @inheritdoc
*/
... | mit |
planetr/planetr.github.io | _posts/2014-12-25-new-package-uniftest-with-initial-version-1-0.markdown | 1179 | ---
title: "New package uniftest with initial version 1.0 "
kind: article
created_at: 2014-12-25 01:13:00 UTC
author: CRANberries
categories:
tags:
layout: post
---
<strong>Package</strong>: uniftest<br>
<strong>Version</strong>: 1.0<br>
<strong>Date</strong>: 2014-12-24<br>
<strong>Title</strong>: Tests for Uniformi... | mit |
ember-furnace/ember-cli-furnace | addon/index.js | 503 | /**
* The Furnace namespace
*
* @module furnace
* @class Furnace
* @static
*/
import Validation from 'furnace/packages/furnace-validation';
import I18n from 'furnace/packages/furnace-i18n';
import Forms from 'furnace/packages/furnace-forms';
export default {
/**
*
* @property Forms
* @type Furnace.Forms... | mit |
Dill-PICL/maize-GAMER | cafa_sw/argot2/run_blast.sh | 192 | for f in $@
do
echo $f
out=`basename $f | sed 's/.fa$//g'`
echo blastp -outfmt '6 qseqid sseqid evalue' -num_threads 16 -query $f -db uniprot/uniprot_all.fasta -out "blast/$out.blast"
done
| mit |
bolaram/Go-Language-in-Bengali | README.md | 779 |
#### প্রারম্ভিকা
Go আসলে বেশি পরিচিত golang নামেই। এটি ২০০৭ সালে Google -এ ডেভেলপ করা হয়েছিল রবার্ট গ্রিজমার, রব পাইক এবং কেইন থম্পসন এর দ্বারা। ২০০৯ সালের দিকে এই ল্যাঙ্গুয়েজটি প্রকাশ করা হয়। ইতোমধ্যে এটি Google এর বেশ কিছু প্রোডাকশন সিস্টেমে ব্যবহৃত হচ্ছে।
- বিষয় : Go Language সম্পর্কে জানা
- গবেষণা ক্ষেত্র ... | mit |
Semantic-Org/Semantic-UI-React | src/elements/Placeholder/PlaceholderImage.js | 1162 | import cx from 'clsx'
import PropTypes from 'prop-types'
import React from 'react'
import { customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib'
/**
* A placeholder can contain an image.
*/
function PlaceholderImage(props) {
const { className, square, rectangular } = props
const cla... | mit |
kevinczhang/kevinczhang.github.io | src/app/components/footer/footer.js | 376 | (function (angular) {
"use strict";
var appFooter = angular.module('myApp.footer', []);
appFooter.controller("footerCtrl", ['$scope', function ($scope) {
}]);
myApp.directive("siteFooter",function(){
return {
restrict: 'A',
templateUrl:'app/componen... | mit |
hagifoo/xss-test | README.md | 18 | xss-test
========
| mit |
waveform80/db2utils | docs/Makefile | 5572 | # Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/do... | mit |
nosuchagency/beacon-bacon | app/Http/Controllers/API/V2/BeaconController.php | 1627 | <?php
namespace App\Http\Controllers\API\V2;
use App\Beacon;
use App\Http\Requests\BeaconRequest;
use Illuminate\Http\Request;
class BeaconController extends Controller
{
/**
* Return a list of items.
*
* @param Request $request
*
* @return json
*/
public function index(Request ... | mit |
Johnson9009/dotfiles | shell/csh/launcher.sh | 642 | #!/bin/sh
usage() {
cat <<EOF
USAGE: \${DOTFILES}/shell/csh/launcher.sh <function> [arg ...]
FUNCTION:
exit <return_code>
EOF
}
# Print usage if not specify the function that need to run.
if [ $# -eq 0 ]; then
usage
exit 1
fi
# The function name is the first argument.
func_name=${1}
# Remove the first... | mit |
binghuo365/BaseLab | 3rd/ACE-5.7.0/ACE_wrappers/examples/NT_Service/ntsvc.h | 1815 | /* -*- C++ -*- */
// $Id: ntsvc.h 80826 2008-03-04 14:51:23Z wotte $
// ============================================================================
//
// = LIBRARY
// examples/NT_Service
//
// = FILENAME
// ntsvc.h
//
// = DESCRIPTION
// This is the definition of the sample NT Service class. This example
... | mit |
andyyusydney/open-movie | src/details/details.controller.ts | 788 | import {IDetailsService} from '../services/details.service';
class DetailsController implements ng.IComponentController {
private detailsService: IDetailsService;
private detailsData: any;
private previousState: any;
constructor($stateParams: any, detailsService: IDetailsService) {
console.log... | mit |
golang-devops/yaml-script-runner | main.go | 3494 | package main
import (
"bufio"
"fmt"
"os"
"os/exec"
"strings"
"sync"
)
func checkError(err error, prefix string) {
if err != nil {
panic(fmt.Sprintf("%s %s", prefix, err.Error()))
}
}
func cleanFeedbackLine(s string) (out string) {
out = s
out = strings.TrimSpace(out)
out = strings.Replace(out, "\r", "",... | mit |
davehorton/drachtio-server | deps/boost_1_77_0/libs/icl/doc/html/header/boost/icl/iterator_hpp.html | 6005 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Header <boost/icl/iterator.hpp></title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../... | mit |
timpquerubin/Progmia | application/views/templates/menu_levels_header.php | 2910 | <html>
<head>
<title>Progmia | Game | Level Selection</title>
<link href="<?php echo base_url(); ?>assets/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/levels.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>asse... | mit |
JordyMoos/JMGuildSaleHistoryTracker | Libs/LibAddonMenu-2.0/controls/checkbox.lua | 5568 | --[[checkboxData = {
type = "checkbox",
name = "My Checkbox",
tooltip = "Checkbox's tooltip text.",
getFunc = function() return db.var end,
setFunc = function(value) db.var = value doStuff() end,
width = "full", --or "half" (optional)
disabled = function() return db.someBooleanSetting end, --or boolean (optional... | mit |
isaac-philip/loolu | common/django/contrib/admin/views/decorators.py | 3535 | import base64
try:
from functools import wraps
except ImportError:
from django.utils.functional import wraps # Python 2.3, 2.4 fallback.
from django import http, template
from django.conf import settings
from django.contrib.auth.models import User
from django.contrib.auth import authenticate, login
from djang... | mit |
CanoeFZH/SRM | SRM612/SpecialCells.cpp | 5627 | // BEGIN CUT HERE
// END CUT HERE
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <vector>
#include <map>
#include <string>
#include <set>
#include <algorithm>
using namespace std;
const int V = 64;
const int E = V * V * 2;... | mit |
iherwig/wcmf | src/wcmf/lib/core/TokenBasedSession.php | 673 | <?php
/**
* wCMF - wemove Content Management Framework
* Copyright (C) 2005-2020 wemove digital solutions GmbH
*
* Licensed under the terms of the MIT License.
*
* See the LICENSE file distributed with this work for
* additional information.
*/
namespace wcmf\lib\core;
/**
* A session that requires clients to... | mit |
caohonghiep/happy_photo_data | README.md | 34 | happy_photo_data
================
| mit |
whitescape/react-admin-components | src/ui/format/list.js | 147 | export default function formatList(xs, { ifEmpty = 'нет', joint = ', ' } = {}) {
return (!xs || xs.length === 0) ? ifEmpty : xs.join(joint)
}
| mit |
JudoPay/PhpSdk | tests/Builders/SaveCardBuilder.php | 385 | <?php
namespace Tests\Builders;
class SaveCardBuilder extends AbstractModelBuilder
{
public function __construct()
{
$this->attributeValues = array(
'yourConsumerReference' => '12345',
'cardNumber' => '4976000000003436',
'expiryDate' => '12/20'... | mit |
mrmckain/Fast-Plast | afin/mismatch.hpp | 1405 | // $Author: benine $
// $Date$
// $Log$
// Contains the mismatch class for afin
#ifndef MISMATCH_H
#define MISMATCH_H
//////////////////////////////////////////////\
// Mismatch Class: ////////////////////////////>
//////////////////////////////////////////////
//
// Mismatch object, contains all classes, methods, da... | mit |
hisuley/gds | trunk/shop/map.php | 7143 | <?php
/*
* 注意:此文件由itpl_engine编译型模板引擎编译生成。
* 如果您的模板要进行修改,请修改 templates/default/shop/map.html
* 如果您的模型要进行修改,请修改 models/shop/map.php
*
* 修改完成之后需要您进入后台重新编译,才会重新生成。
* 如果您开启了debug模式运行,那么您可以省去上面这一步,但是debug模式每次都会判断程序是否更新,debug模式只适合开发调试。
* 如果您正式运行此程序时,请切换到service模式运行!
*
* 如您有问题请到官方论坛()提问,谢谢您的支持。
*/
?><?php... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.9.1/fairisle/8.7.0.html | 7390 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fairisle: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | mit |
ychaker/zeep_it | rdoc/index.html | 723 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<!--
ZeepIt
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ZeepIt</title>
<meta http-equiv="Content... | mit |
backpaper0/sandbox | springmvc-study-no-xml/src/main/java/com/example/ServletContainerInitializerImpl.java | 923 | package com.example;
import java.util.Set;
import javax.servlet.ServletContainerInitializer;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRegistration;
import org.springframework.web.context.support.AnnotationConfigWebApplicationContext;
import org.springfra... | mit |
Ryan-ZL-Lin/react-cosmosdb | src/components/EditHero.js | 1289 | import React from 'react';
const EditHero = props => {
if (props.selectedHero) {
return (
<div>
<div className="editfields">
<div>
<label>id: </label>
{props.addingHero
? <input
type="number"
name="id"
... | mit |
OpenGene/FusionScan | src/sescanner.h | 1488 | #ifndef SE_SCANNNER_H
#define SE_SCANNNER_H
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "read.h"
#include "fusion.h"
#include "match.h"
#include <cstdlib>
#include <condition_variable>
#include <mutex>
#include <thread>
#include "fusionmapper.h"
using namespace std;
struct ReadPack {
Read*... | mit |
rtorino/shiny-octo-ironman | app.js | 3595 | /**
* Module dependencies.
*/
var express = require('express')
var MemoryStore = express.session.MemoryStore
var mongoStore = require('connect-mongo')(express)
var path = require('path')
var fs = require('fs')
var _ = require('underscore')
var mongoose = require('mongoose')
var passport = require('passport')
var http... | mit |
lazunin/stclient | guimporter.py | 92 | #guimporter.py
import sys
from PySide import QtGui, QtCore, QtWebKit
Signal = QtCore.Signal | mit |
davidvaleff/ProgrammingFundamentals-Sept2017 | 06.Lists/Exercises/SearchForANumber/Properties/AssemblyInfo.cs | 1403 | 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("Sea... | mit |
thlorenz/fetchncache | index.js | 4638 | 'use strict';
var redis = require('redis')
, xtend = require('xtend')
, hyperquest = require('hyperquest')
;
module.exports = FetchAndCache;
/**
* Creates a fetchncache instance.
*
* #### redis opts
*
* - **opts.redis.host** *{number=}* host at which redis is listening, defaults to `127.0.0.1`... | mit |
blendee/blendee | src/main/java/org/blendee/jdbc/ComposedSQL.java | 1611 | package org.blendee.jdbc;
/**
* プレースホルダを持つ SQL 文と、プレースホルダにセットする値を持つものを表すインターフェイスです。
* @author 千葉 哲嗣
*/
public interface ComposedSQL extends ChainPreparedStatementComplementer {
/**
* このインスタンスが持つ SQL 文を返します。
* @return SQL 文
*/
String sql();
/**
* {@link PreparedStatementComplementer} を入れ替えた新しい {@link Co... | mit |
haoliangyu/basic-data-structure | README.md | 720 | # basic-data-structure
basic data strcture in python from THU Data Structure 3rd Edition, including:
* Vector (Chapter 2)
* LinkedList (Chapter 3)
* Stack based on Vector and LinkedList (Chapter 4)
* Queue based on Vector and LinkedList (Chapter 4)
* Deque based on Vector and LinkedList (Chapter 4)
* BinTree bas... | mit |
DigitalPandacoin/pandacoin | src/qt/locale/bitcoin_es_419.ts | 4495 | <TS language="es_419" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Haga clic para editar la dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
... | mit |
sixro/minihabits | core/src/main/java/com/github/sixro/minihabits/core/infrastructure/domain/PreferencesBasedRepository.java | 2241 | package com.github.sixro.minihabits.core.infrastructure.domain;
import java.util.*;
import com.badlogic.gdx.Preferences;
import com.github.sixro.minihabits.core.domain.*;
public class PreferencesBasedRepository implements Repository {
private final Preferences prefs;
public PreferencesBasedRepository... | mit |
pip-services-users/pip-facade-users-node | obj/src/operations/version1/RolesOperationsV1.js | 1730 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
let _ = require('lodash');
let async = require('async');
const pip_services3_commons_node_1 = require("pip-services3-commons-node");
const pip_services3_facade_node_1 = require("pip-services3-facade-node");
class RolesOperationsV1 extends pip_... | mit |
bauen1/Ratbeef | modules/fun/meaning.lua | 175 | local core = require ("core")
local function echo (prefix, channel, suffix)
core:respond (channel, "My life meaning: Marry Ratbot!")
end
core:addCommand ("meaning", echo)
| mit |
moneyadviceservice/frontend | features/factories/money_navigator/priority_bills_rules.rb | 33882 | require_relative 'rules_factory_common'
FactoryBot.define do
factory :priority_bills, parent: :answers do
factory :S6_H1_missed_payment_low, traits: [:country, :S6_H1_missed_payment_low_answers]
factory :S6_H2_council_tax_severe, traits: [:country, :S6_H2_tax_severe_answers]
factory :S6_H2_domestic_rat... | mit |
mapbox/osm-comments-api | changesets/index.js | 3841 | var config = require('../lib/config')();
var Changeset = require('./Changeset');
var queries = require('./queries');
var helpers = require('../helpers');
require('../validators');
var validate = require('validate.js');
var errors = require('../errors');
var pgPromise = helpers.pgPromise;
var promisifyQuery = helpers.pr... | mit |
maxpiva/Nancy.Rest.Client | README.md | 5497 | # Nancy.Rest.Client
Dynamic proxy client generation for [Nancy](http://nancyfx.org) using [Nancy.Rest.Module](https://github.com/maxpiva/Nancy.Rest.Module).
## Prerequisites
A server using [Nancy](http://nancyfx.org) & [Nancy.Rest.Module](https://github.com/maxpiva/Nancy.Rest.Module).
It is recommended you read the... | mit |
pombredanne/metamorphosys-desktop | metamorphosys/jenkins_build.cmd | 771 | Setlocal EnableDelayedExpansion
@rem BUILD SOLUTIONS
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild META\make.msbuild /t:All /m /nodeReuse:false || exit /b !ERRORLEVEL!
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild tonka\make.msbuild /t:All /m /nodeReuse:false || exit /b !ERRORLEVEL!
@rem RUN TON... | mit |
mind0n/hive | Cache/Libs/net46/wpf/src/Framework/System/Windows/Controls/Primitives/StatusBar.cs | 7812 | //---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Windows.Automation.Peers;
using System.Windows.Media;
using System.W... | mit |
0x326/academic-code-portfolio | 2016-2021 Miami University/CSE 271 Introduction to Object-Oriented Programming/Lab02/src/main/java/Lab2InputOutput.java | 1334 | // John Meyer
// CSE 271 F
// Dr. Angel Bravo
import java.util.Scanner;
import java.io.*;
/**
* Copies a file with line numbers prefixed to every line
*/
public class Lab2InputOutput {
public static void main(String[] args) throws Exception {
// Define variables
Scanner keyboardReader = new Scan... | mit |
ChrisHammond/DNN-SignalR | Providers/DataProviders/SqlDataProvider/SqlDataProvider.cs | 4526 | /*
' Copyright (c) 2013 Christoc.com Software Solutions
' All rights reserved.
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
' THE AUTHORS... | mit |
socialcast/classify_cluster | lib/classify_cluster/version.rb | 48 | module ClassifyCluster
VERSION = "0.4.17"
end
| mit |
SageAxcess/pcap-ndis6 | cert/create_cs_cert.cmd | 469 | set Path=%PATH%;"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\"
makecert -r -pe -n "CN=ChangeDynamix LLC" -sr localmachine -a sha1 -cy authority -sky signature -sv changedynamix.ca.pvk changedynamix.ca.cer
makecert -pe -n CN="WinPCAP NDIS 6.x Filter Driver" -a sha1 -sky signature -eku 1.3.6.1.5.5.7.3.3 -ic ... | mit |
UCSB-CS56-M16/cs56-rational-example | ex05/javadoc/Rational.html | 11178 | <!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_91) on Mon Jun 20 22:26:50 PDT 2016 -->
<title>Rational</title>
<meta name="date" content="2016-06-20">
<link rel="stylesheet" type="text/css" ... | mit |
Circular-Studios/Dash-Docs | api/v0.9.0/graphics/adapters/adapter/Adapter.renderContext.html | 8140 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt-->
<title>Method Adapter.renderContext</title>
<link rel="stylesheet" type="text/css" href="../../../styles/ddox.css"/>
<link ... | mit |
yaofangou/open_taobao | api/dmt/dmt_structs.go | 3394 | // Copyright 2013 The Changkong Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package dmt
const VersionNo = "20131207"
/* 图片分类 */
type PictureCategory struct {
Created string `json:"created"`
Modified str... | mit |
orestes/katana-sdk-node | sdk/http-response.test.js | 10676 | 'use strict';
const assert = require('assert');
const HttpResponse = require('./http-response');
describe('HttpResponse', () => {
const mockResponse = {
version: '1.0',
status: '200 OK'
};
it('should create an instance', () => {
const httpResponse = new HttpResponse(mockResponse);
assert.ok(htt... | mit |
DataFire/Integrations | integrations/generated/azure_sql_failoverdatabases/index.js | 181 | "use strict";
let datafire = require('datafire');
let openapi = require('./openapi.json');
module.exports = datafire.Integration.fromOpenAPI(openapi, "azure_sql_failoverdatabases"); | mit |
suffolklibraries/sljekyll | new-suggestions/meet-the-author/_posts/2016-08-09-meet-the-author-rose-tremain.md | 6530 | ---
layout: sidebar-right
title: 'Meet the Author: Rose Tremain'
date: 2016-08-16
author: brandon-king
category: meet-the-author
excerpt: Brandon King interviews Whitbread winner Rose Tremain.
breadcrumb: meet-the-author
---

Rose Tremain was one of only five ... | mit |
RoenMidnight/grimorio-trpg | _posts/2018-01-01-Vis__o-da-Verdade.markdown | 739 | ---
layout: post
title: "Visão da Verdade"
date: 2018-01-01
source: Módulo Básico 209, Módulo Básico Edição Revisada 219.
tags: [nenhum, bardo]
---
**arcana 6, divina 5 (adivinhação)**
**Alcance**: toque
**Teste de Resistência**: nenhum.
**Duração**: 10 minutos
**Alvo**: criatura tocada
**Tempo de Execução**: ... | mit |
Sean-Cox/Sean-Cox.github.io | Assn1/cookies.html | 2032 | <!DOCTYPE html>
<head>
<title>Terrible Treats - Cookie Recipe</title>
<link rel="stylesheet" type="text/css" href="styling.css">
</head>
<body>
<div id="header">
<p id="title">Terrible Treats</p>
<p id="subTitle">Desserts For Your Worst Enemies</p>
</div>
<div id="navCon" class="flex-container">
<d... | mit |
nico01f/z-pec | ZimbraSoap/src/wsdl-test/generated/zcsclient/mail/testMessagePartHitInfo.java | 7074 |
package generated.zcsclient.mail;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for messagePartHitInfo complex type.
*
* <p>The following schema fragme... | mit |