code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p onclick="javascript:alert('OK')">
Hi every one! Hello Gencho...
</p>
<ol >
<li>
<a href="https://google.bg/" target="_blank">
AAAzzzz
</a>
... | razsilev/TelerikAcademy_Homework | CSS/CSS_Test_Project/HTML_Forms/HTML_Forms/HTML/ContactForm.html | HTML | mit | 359 |
<!--
Copyright 2005-2008 Adobe Systems Incorporated
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://stlab.adobe.com/licenses.html)
Some files are held under additional license.
Please see "http://stlab.adobe.com/licenses.html" for more information.
-->... | brycelelbach/asl | documentation/html/number__unit_8hpp_source.html | HTML | mit | 22,203 |
<?php
/**
* This file is part of the fangface/yii2-concord package
*
* For the full copyright and license information, please view
* the file LICENSE.md that was distributed with this source code.
*
* @package fangface/yii2-concord
* @author Fangface <dev@fangface.net>
* @copyright Copyright (c) 2014 Fangface <... | fangface/yii2-concord | src/models/eav/AttributeEntities.php | PHP | mit | 865 |
int gongyueshu(int &m,int &n);
void encipher(char *p,char *c,int a,int b);
void decipher(char *p,char *c,int a, int b);
| Hao-Wu/MEDA | affine.h | C | mit | 123 |
<!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="./5535c05825dbec9fb8d1025dd7a57ff351cec790ea4ca10918b0d59ebd071308.html">Teleport</a>
<hr>
... | simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/0a40b6d8739b58a9bf6cc33f85131422d4995fc16795457e94670438339e2007.html | HTML | mit | 550 |
<?php
namespace Acme\PaymentBundle\Controller;
use Payum\Bundle\PayumBundle\Controller\PayumController;
use Payum\Core\Exception\RequestNotSupportedException;
use Payum\Core\Request\BinaryMaskStatusRequest;
use Payum\Core\Request\SyncRequest;
use Symfony\Component\HttpFoundation\Request;
class DetailsController exten... | a2xchip/SagepayBundleSandbox | src/Acme/PaymentBundle/Controller/DetailsController.php | PHP | mit | 1,005 |
import sys
script, encoding, error = sys.argv
def main(language_file, encoding, errors):
line = language_file.readline()
if line:
print_line(line, encoding, errors)
return main(language_file, encoding, errors)
def print_line(line, encoding, errors):
next_lang = line.strip()
raw_byte... | Herne/pythonplayground | lp3thw/ex23.py | Python | mit | 563 |
using System;
using Microsoft.AspNetCore.Mvc;
using Smidge.CompositeFiles;
using Smidge.Models;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
using Smidge.FilePro... | Shazwazza/Smidge | src/Smidge/Controllers/SmidgeController.cs | C# | mit | 10,731 |
'use strict';
module.exports = function(grunt) {
require('jit-grunt')(grunt, {
});
// Time how long tasks take. Can help when optimizing build times
require('time-grunt')(grunt);
grunt.initConfig({});
// Automatically inject Bower components into the app
grunt.config.set('wiredep', {
target: {
... | mcortesi/artviz | Gruntfile.js | JavaScript | mit | 408 |
const angular = require('angular');
require('angular-ui-router');
require('bootstrap');
require('bootstrap/dist/css/bootstrap.css');
require('./config');
require('./services');
require('./filters');
require('./layout');
require('./list');
require('./detail');
require('./watchlist');
window.app = angular.module('app',... | SCThijsse/angularjs-single-page | app/index.js | JavaScript | mit | 457 |
-- production_reports_npm tpickup
-- production_reports_npm tpmiss
-- production_reports_npm trmiss
-- production_reports_npm tdmiss
-- production_reports_npm tmmiss
-- production_reports_npm thmiss
select
-- prh.report_id,
prh.product_id,
prh.equipment_id,
-- prh.start_time,
-- prh.end_time,
... | ombt/analytics | sql/1508191201-pasmx-sql/prod.npm.by.machine.line.sql | SQL | mit | 1,326 |
require './spec/spec_helper'
describe Economic::CashBookEntry do
let(:session) { make_session }
subject { Economic::CashBookEntry.new(:session => session) }
it "inherits from Economic::Entity" do
Economic::CashBookEntry.ancestors.should include(Economic::Entity)
end
describe ".proxy" do
it "should ... | kongens-net/rconomic | spec/economic/cash_book_entry_spec.rb | Ruby | mit | 698 |
// <auto-generated />
using System;
using MathSite.Db;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
namespace MathSite.Migrations
{
[DbContext(typeof(MathSiteDbContext))]
internal class MathSiteDbContextModelSnapshot : ... | YarGU-Demidov/math-site | src/MathSite/Migrations/MathSiteDbContextModelSnapshot.cs | C# | mit | 29,605 |
/**
* @file KeyboardButton.cpp
* @brief Contains KeyboardButton class implementation
* @author Khalin Yevhen
* @version 0.0.2
* @date 28.09.17
*/
#include "KeyboardButton.h"
#include "..\khalin03\Button.cpp"
KeyboardButton::KeyboardButton(ButtonForm form, int code, string name) :
Button(form), code(cod... | kit25a/se-cpp | khalin-yevhen/src/khalin04/keyboardButton.cpp | C++ | mit | 992 |
---
Title: A set of coding and code review guidelines inspired by "The Zen of Python"
Lead: I recently started learning Python, and came across what the Python community calls "The Zen of Python". Somehow, I felt that it can form the basis of what could be simple to follow coding and code review guidelines. This post... | mishrsud/sudhanshutheone.com | input/posts/python-inspired-coding-review-guidelines.md | Markdown | mit | 7,524 |
#include "perspectivecamera.h"
#include <stdexcept>
#include <gtc/matrix_transform.hpp>
using namespace Camera;
PerspectiveCamera::PerspectiveCamera(float verticalFieldOfView, float aspectRatio)
: verticalFieldOfView(verticalFieldOfView), aspectRatio(aspectRatio)
{
changeZoomFactor(glm::vec2(1.0f, 1.0f));
change... | Vaub/uGL | Project/uGL/uGLCore/perspectivecamera.cpp | C++ | mit | 1,319 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Constraints;
use Symfony\Component\Validato... | curry684/symfony | src/Symfony/Component/Validator/Constraints/TimezoneValidator.php | PHP | mit | 2,714 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="UTF-8">
<title>React Redux Best Practice</title>
<link rel="shortcut icon" href="favicon.ico">
</head>
<body>
<div id="app"></div>
<script src="/bundle.js"></script>
<!-- built ... | bokzor/antd-redux-observable | src/index.html | HTML | mit | 370 |
const path = require('path');
const fs = require('fs');
const webpack = require('webpack');
const ExtraWatchWebpackPlugin = require('extra-watch-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const VERSION = require('./package.json').version;
class VersionFilePlugin {
apply() {
... | molstar/molstar | webpack.config.common.js | JavaScript | mit | 3,792 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class FigureQuintupleDot11 : Figure
{
private const int score = 5;
public FigureQuintupleDot11(int player): base(player)
{
figure[4, 4] = figure[5, 4] = figure[5, 5] = fi... | siderisltd/Telerik-Academy | All TeamProjects/TeamProject C# 1_ Blokus/Blokus/FigureQuintupleDot11.cs | C# | mit | 2,564 |
using System;
namespace C5
{
[Serializable]
internal class MultiplicityOne<K> : MappedCollectionValue<K, System.Collections.Generic.KeyValuePair<K, int>>
{
public MultiplicityOne(ICollectionValue<K> coll) : base(coll) { }
public override System.Collections.Generic.KeyValuePair<K, int> Map(K... | sestoft/C5 | C5/Enumerators/MultiplicityOne.cs | C# | mit | 401 |
<?php
// src/Blogger/BlogBundle/Controller/PageController.php
namespace Blogger\BlogBundle\Controller;
use Blogger\BlogBundle\Entity\Enquiry;
use Blogger\BlogBundle\Form\EnquiryType;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class PageController extends Controller
{
public function indexAction()... | leochaves/Blog-Symfony | src/Blogger/BlogBundle/Controller/PageController.php | PHP | mit | 1,713 |
<?php
/*
* This file is part of the Sonata package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\UserBundle\Admin\Entity;
use Sonata\AdminBundle\Admin\... | dunglas/SonataUserBundle | Admin/Entity/GroupAdmin.php | PHP | mit | 1,228 |
<?php
namespace Sustain\AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class ActivityType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $opti... | rlbaltha/sustain | src/Sustain/AppBundle/Form/ActivityType.php | PHP | mit | 1,979 |
---
layout: post
title: Menelisik Bisik Memandang Bintang
tags: [Syair]
---
Perjalanan waktu manusia seakan aliran liar ada setiap hembus nafasnya
Batu demi batu yang merintangi, aral yang melintang…
Pada setiap diri yang terkoyak-koyak pengkhianatan
Pada setiap ego yang terberangus keberadaan
Pada setiap air mata yan... | reekoheek/reekoheek.github.io | _posts/2006-01-01-Menelisik-Bisik-Memandang-Bintang.md | Markdown | mit | 791 |
/**
* @file SpriteInterface.cpp
* @author Duncan Campbell
* @version 1.0
*
* @section LICENSE
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Duncan Campbell
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... | dacampbell/PseudoEngine | lib/Luna/src/SpriteInterface.cpp | C++ | mit | 1,312 |
<!doctype html>
<html class="theme-next muse use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform... | YutHelloWorld/YutHelloWorld.github.io | archives/2016/page/2/index.html | HTML | mit | 11,616 |
module LightMobile::ApplicationHelper
include AgentHelpers::DetectorHelper
end
| kaspernj/light_mobile | app/helpers/light_mobile/application_helper.rb | Ruby | mit | 81 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.3.7; en-us; XT557 Build/V1.65K) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1</title>
<link rel="stylesheet" href="https://cdnjs.cloudfl... | ThaDafinser/UserAgentParserComparison | v5/user-agent-detail/09/58/0958f28e-9a78-4870-898c-c4d835e19677.html | HTML | mit | 56,887 |
/*!
* @alifd/next@1.23.1 (https://fusion.design)
* Copyright 2018-present Alibaba Group,
* Licensed under MIT (https://github.com/alibaba-fusion/next/blob/master/LICENSE)
*/
@charset "UTF-8";
/* stylelint-disable-next-line */
/**
* 尺寸 基础尺寸
* 命名能在语义的前提下简单就尽量简单, 这里可以是 size-2x, space-2x, size-base ...
* 不过可以在语义的前提下... | cdnjs/cdnjs | ajax/libs/alifd__next/1.23.1/next-noreset-1.css | CSS | mit | 398,505 |
# Install NGINX
include_recipe 'nginx'
# Disable default site
nginx_site 'default' do
enable false
end
# Create web directory
directory node[:site][:webserver][:root] do
recursive true
owner node[:site][:user]
group node[:site][:group]
mode 00755
action :create
end
# Create site directory
directory "#{no... | mattidupre/chef-nginx | recipes/webserver.rb | Ruby | mit | 2,049 |
package org.fluentjava.iwant.api.core;
import org.fluentjava.iwant.api.model.Path;
import org.fluentjava.iwant.api.model.Source;
import org.fluentjava.iwant.api.model.Target;
import org.fluentjava.iwant.apimocks.IwantTestCase;
public class SubPathTest extends IwantTestCase {
public void testParentAndRelativePath() ... | wipu/iwant | essential/iwant-api-core/src/test/java/org/fluentjava/iwant/api/core/SubPathTest.java | Java | mit | 2,687 |
{
("use strict");
var HTMLElement = scope.wrappers.HTMLElement;
var mixin = scope.mixin;
var registerWrapper = scope.registerWrapper;
var unsafeUnwrap = scope.unsafeUnwrap;
var unwrap = scope.unwrap;
var wrap = scope.wrap;
var contentTable = new WeakMap();
var templateContentsOwnerTable = new WeakMap... | stas-vilchik/bdd-ml | data/6744.js | JavaScript | mit | 1,705 |
// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Linq;
using Perspex.Controls;
using Perspex.Controls.Presenters;
using Perspex.Controls.Primitives;
using Perspex.Controls.Templates;
using P... | kekekeks/Perspex | tests/Perspex.Controls.UnitTests/ScrollViewerTests.cs | C# | mit | 4,573 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
<title>Imagery Search</title>
<!-- include example sources-->
<!-- Include example specific files-->
<link rel="stylesheet" href="http://10.104.6... | AFRL-RY/Girder-Data-Management-Query-Web-Client-Wright-Scholar-Summer-2017 | index.html | HTML | mit | 9,945 |
using System.Web;
using System.Web.Mvc;
namespace ForumSystem.WebApp
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| Zakkgard/ASP.NET-MVC | ForumSystem/Source/Web/ForumSystem.WebApp/App_Start/FilterConfig.cs | C# | mit | 273 |
package golog
import . "fmt"
import . "github.com/mndrix/golog/term"
import . "github.com/mndrix/golog/util"
import "bytes"
import "github.com/mndrix/ps"
// Database is an immutable Prolog database. All write operations on the
// database produce a new database without affecting the previous one.
// A database is a... | bransorem/golog | database.go | GO | mit | 3,740 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.3.5; en-in; HTC Explorer A310e Build/GRJ90) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1</title>
<link rel="stylesheet" href="https://c... | ThaDafinser/UserAgentParserComparison | v5/user-agent-detail/92/a5/92a57818-b366-42da-be35-58190ad0fd11.html | HTML | mit | 57,157 |
from cereal import car
from opendbc.can.packer import CANPacker
from selfdrive.car.mazda import mazdacan
from selfdrive.car.mazda.values import CarControllerParams, Buttons
from selfdrive.car import apply_std_steer_torque_limits
VisualAlert = car.CarControl.HUDControl.VisualAlert
class CarController():
def __init__... | commaai/openpilot | selfdrive/car/mazda/carcontroller.py | Python | mit | 3,112 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>flocq: 3 m 6 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.02.3-2.0.6/released/8.5.3/flocq/2.5.2.html | HTML | mit | 10,204 |
<div class="padcontainer">
<div class="content_container">
<div class="form_wrap">
<div class="form">
{% if request.sorta_logged_in? and request.current_signup.has_password? == true %}
<h2>Please verify your password</h2>
{% elsif request.sorta_logged_in? and request.current_signup.has_password? == fals... | chrisjensen/c4c-website | app/theme/climateforchangetrial-565d2772ebad6419ed000001/user_sessions_new_mobile.html | HTML | mit | 5,478 |
FROM centos:centos6
RUN set -x && \
yum install -y tar && \
yum clean all
RUN set -x && \
curl -sOL 'http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.rpm' \
-H 'Cookie: oraclelicense=accept-securebackup-cookie' && \
rpm -i jdk-7u51-linux-x64.rpm && \
... | guildencrantz/docker-phoenix | phoenix/Dockerfile | Dockerfile | mit | 1,141 |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { RelationComponent } from './relation/relation.component';
const routes: Routes = [{ path: 'relation', component: RelationComponent }];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterM... | cipchk/ng-alain | src/app/routes/data-v/data-v-routing.module.ts | TypeScript | mit | 365 |
---
title: axx1
type: products
image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png
heading: x1
description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj
main:
heading: Foo Bar BAz
description: |-
***This is i a thing***kjh hjk kj
# Blah Blah
## Blah
### Baah
image1:
... | pblack/kaldi-hugo-cms-template | site/content/pages2/axx1.md | Markdown | mit | 337 |
<?php namespace SleepingOwl\Html;
use Illuminate\Html\HtmlBuilder as IlluminateHtmlBuilder;
use SleepingOwl\Admin\Models\Form\FormItem;
use SleepingOwl\DateFormatter\DateFormatter;
use SleepingOwl\Admin\Admin;
use SleepingOwl\Admin\AssetManager\AssetManager;
use Session;
/**
* Class HtmlBuilder
*/
class HtmlBuilder... | procoders/admin | src/SleepingOwl/Html/HtmlBuilder.php | PHP | mit | 15,241 |
package cz.pfreiberg.knparser.exporter.oracledatabase;
import java.sql.SQLException;
import java.util.List;
import cz.pfreiberg.knparser.ConnectionParameters;
import cz.pfreiberg.knparser.domain.jednotky.TJednotek;
import cz.pfreiberg.knparser.util.VfkUtil;
public class TJednotekOracleDatabaseJdbcExporter e... | pfreiberg/knparser | src/main/java/cz/pfreiberg/knparser/exporter/oracledatabase/TJednotekOracleDatabaseJdbcExporter.java | Java | mit | 1,193 |
using System.Collections.Generic;
using System.Text;
namespace DB2DataContextDriver.CodeGen
{
public class ClassDefinition
{
public string Name { get; set; }
public string Inherits { get; set; }
public List<string> Methods { get; set; }
public List<PropertyDefinition> Properties { get; set; ... | treytomes/DB2LinqPadDriver | DB2DataContextDriver/CodeGen/ClassDefinition.cs | C# | mit | 941 |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_SwiftyAccountKitVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SwiftyAccountKitVers... | maximbilan/SwiftyAccountKit | Pods/Target Support Files/Pods-SwiftyAccountKit/Pods-SwiftyAccountKit-umbrella.h | C | mit | 334 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - SIE-3118</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Materi... | ThaDafinser/UserAgentParserComparison | v5/user-agent-detail/92/18/9218415c-f5c0-40b7-b0aa-35df75c11b5f.html | HTML | mit | 37,203 |
<!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_102) on Tue Nov 29 08:49:15 EST 2016 -->
<title>Uses of Class dml.team5.antlr.PLSQLParser.Less_than_or_equals_opContext</title>
<meta name="dat... | Dyndrilliac/cop-4710-assignments | Documentation/Javadoc API Reference/dml/team5/antlr/class-use/PLSQLParser.Less_than_or_equals_opContext.html | HTML | mit | 12,093 |
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("Di... | DJBuro/Telerik | C#1/ConditionalStatements/DigitAsWord/Properties/AssemblyInfo.cs | C# | mit | 1,398 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PholioVisualisation.PholioObjects;
namespace PholioVisualisation.ServicesTest
{
[TestClass]
public class EntitiesControllerEndPointTest
{
[TestMethod]
public void Te... | PublicHealthEngland/fingertips-open | PholioVisualisationWS/ServicesTest/EntitiesControllerEndPointTest.cs | C# | mit | 4,435 |
import pprint
from cytoolz import (
assoc,
concatv,
partial,
pipe,
)
from semantic_version import (
Spec,
)
from eth_utils import (
add_0x_prefix,
to_dict,
to_tuple,
)
from solc import (
get_solc_version,
compile_standard,
)
from solc.exceptions import (
ContractsNotFound... | pipermerriam/populus | populus/compilation/backends/solc_standard_json.py | Python | mit | 6,140 |
import React from 'react';
import moment from 'moment';
import { storiesOf } from '@storybook/react';
import { withInfo } from '@storybook/addon-info';
import isInclusivelyAfterDay from '../src/utils/isInclusivelyAfterDay';
import isSameDay from '../src/utils/isSameDay';
import SingleDatePickerWrapper from '../exampl... | airbnb/react-dates | stories/SingleDatePicker_day.js | JavaScript | mit | 1,865 |
/**
*
*/
package com.forgedui.model.titanium;
import com.forgedui.model.Element;
import com.forgedui.model.titanium.annotations.Composite;
import com.forgedui.model.titanium.annotations.EnumValues;
import com.forgedui.model.titanium.annotations.Review;
import com.forgedui.model.titanium.annotations.SupportedPlatform... | ShoukriKattan/ForgedUI-Eclipse | com.forgedui.core/src/com/forgedui/model/titanium/Window.java | Java | mit | 4,862 |
import datetime
from django.http import HttpResponse
from django.shortcuts import get_object_or_404, render
from django.views.decorators.csrf import csrf_exempt
from django.views.decorators.http import require_POST
from ..tasks import trigger_instance
from . import app_settings
from .enums import StateEnum
from .mod... | takeyourmeds/takeyourmeds-web | takeyourmeds/reminders/reminders_calls/views.py | Python | mit | 2,634 |
# SearchDemo | Tajtaj/searchTempest | readme.md | Markdown | mit | 12 |
package de.kumpelblase2.jhipsterwebsocket.domain.util;
import java.io.IOException;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson... | kumpelblase2/jhipster-websocket-example | src/main/java/de/kumpelblase2/jhipsterwebsocket/domain/util/CustomDateTimeSerializer.java | Java | mit | 944 |
require 'couchdb'
| Gimi/couchdb-client | lib/couchdb-client.rb | Ruby | mit | 18 |
namespace CodingDojo
{
public class InterlockedBoolean
{
private readonly bool _value;
private static readonly InterlockedBoolean FalseValue = new InterlockedBoolean(false);
private static readonly InterlockedBoolean TrueValue = new InterlockedBoolean(true);
private Interlocked... | JanVoracek/interlocked-boolean | InterlockedBoolean.cs | C# | mit | 3,117 |
.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }
/* app css stylesheet */
/*body {
font-size: 20px;
}
.container {
width: 100%;
}
.sql-side {
float: left;
margin-left: 5%;
width: 70%;
}
.form {
float: left;
margin-left: 5%;
width: 20%;
}
.sql-container {
... | FaKod/my-twitter-module-frontend | app/css/app.css | CSS | mit | 524 |
require 'active_record'
require "active_record/version"
class ActiveRecord::Base
class << self
################################# Generic where clause and inclusion builder ###########################
# Query specification format
#
# Hash containing association specific query specification,
# ... | kaushikd49/ar-auto-filter | lib/activerecord-auto_filter.rb | Ruby | mit | 5,309 |
window.onload = () => {
const root = new THREERoot({
fov: 60
});
root.renderer.setClearColor(0x222222);
root.camera.position.set(0, 0, 100);
let light = new THREE.DirectionalLight(0xffffff);
root.add(light);
light = new THREE.DirectionalLight(0xffffff);
light.position.z = 1;
root.add(light);
... | zadvorsky/three.bas | examples/skinning_prefabs/main.js | JavaScript | mit | 4,231 |
# dns-tracing
Trace dns lookups for node
**NOTE: Still a WIP**
## Install
```bash
$ npm install evanlucas/dns-tracing
```
## Usage with iojs v2.x
```js
var net = require('net')
var lookup = require('dns-tracing')
var client = net.connect({
host: '127.0.0.1'
, port: 8000
, lookup: lookup
})
```
Run `node-dns.... | evanlucas/dns-tracing | README.md | Markdown | mit | 412 |
import imp
import os
tools = []
for name in os.listdir(os.path.dirname(__file__)):
if not name.startswith('_'): # _ in the front indicates that this tool is disabled
directory = os.path.join(os.path.dirname(__file__), name)
if os.path.isdir(directory):
file = os.path.join(directory, na... | nullzero/wpcgi | wpcgi/tools/__init__.py | Python | mit | 424 |
#!/usr/bin/env python
# Copyright (c) 2011, 2013 SEOmoz, Inc
#
# 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, mo... | seomoz/s3po | setup.py | Python | mit | 2,278 |
module Provision
VERSION = "0.0.1"
end
| chenfisher/provision | lib/provision/version.rb | Ruby | mit | 41 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SysUt14Gr03.Classes;
using SysUt14Gr03.Models;
namespace SysUt14Gr03
{
public partial class RapportTestForm : System.Web.UI.Page
{
protected void Page_PreIni... | divarsoy/Gruppe3HIN | kode/SysUt14Gr03/SysUt14Gr03/RapportTestForm.aspx.cs | C# | mit | 1,177 |
@extends('admin')
@section('title', 'Promotions')
@section('content')
<div class="row">
<div class="col-md-5">
<h3 class="modal-title">{{ $result->total() }} {{ str_plural('Promotion', $result->count()) }}</h3>
</div>
<div class="col-md-12 page-action text-right">
... | ryanzzeng/laravelStarter | resources/views/promotion/index.blade.php | PHP | mit | 3,673 |
<?php
declare(strict_types = 1);
namespace Rx\Functional;
use Rx\Observable;
class FromArrayTest extends FunctionalTestCase
{
/**
* @test
*/
public function it_schedules_all_elements_from_the_array()
{
$xs = Observable::fromArray(['foo', 'bar', 'baz'], $this->scheduler);
$resu... | ReactiveX/RxPHP | test/Rx/Functional/Operator/FromArrayTest.php | PHP | mit | 1,767 |
---
layout: post
status: publish
published: false
title: Theatre for the Survivors
author:
display_name: Jon Clausen
login: JClausen
email: jon_clausen@silowebworks.com
url: http://jonclausen.com
author_login: JClausen
author_email: jon_clausen@silowebworks.com
author_url: http://jonclausen.com
wordpress_id: 7
... | jclausen/jclausen.github.io | _posts/2008-01-11-theatre-for-the-survivors.markdown | Markdown | mit | 2,301 |
package com.helospark.lightdi.it;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.isA;
import static org.junit.Assert.assertThat;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import com.helospark.lightdi.LightDi;
import com.helospark.ligh... | helospark/light-di | src/test/java/com/helospark/lightdi/it/ImportingClassAwareIT.java | Java | mit | 1,536 |
define(function () {
return [
{"id": 10000, "val": 50.0599, "time": 1415891398900}, {"id": 20001, "val": 50.4109, "time": 1415891398903},
{"id": 30002, "val": 50.4229, "time": 1415891398906}, {"id": 40003, "val": 50.1401, "time": 1415891398909},
{"id": 50004, "val": 50.1459, "time": 14158913... | gunins/stonewall | examples/application/src/chartData.js | JavaScript | mit | 5,943 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="GENERATOR" content="VSdocman - documentation generator; htt... | asiboro/asiboro.github.io | vsdoc/topic_00000000000001F0.html | HTML | mit | 13,045 |
package bg;
import com.renren.api.RennException;
/** 定时刷新信息.
* @author ZCH
*/
public final class Driver {
/** magic number.
* set magic number 180000
*/
private static final int MN = 180000;
/** 调用dirive()函数.
* @param args String[]
*/
public static void main(final String[] args)... | sibojia/ihomepage | infohub-yt/src/bg/Driver.java | Java | mit | 1,054 |
namespace NServiceBus.AcceptanceTests.Basic
{
using System;
using System.Threading.Tasks;
using AcceptanceTesting;
using EndpointTemplates;
using NUnit.Framework;
public class When_multiple_mappings_exists : NServiceBusAcceptanceTest
{
[Test]
public async Task Fi... | sbmako/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Basic/When_multiple_mappings_exists.cs | C# | mit | 2,894 |
# Change Log
## [0.6.3](https://github.com/royratcliffe/faraday/tree/0.6.3)
- Tell Travis CI *not* to code-sign
- Fixed tests sub-folder references
See [Full Change Log](https://github.com/royratcliffe/faraday/compare/0.6.2...0.6.3).
## [0.6.2](https://github.com/royratcliffe/faraday/tree/0.6.2)
- Response success... | royratcliffe/Faraday | CHANGELOG.md | Markdown | mit | 6,450 |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | phase/Sponge | src/main/java/org/spongepowered/mod/mixin/core/event/entity/living/MixinEventLiving.java | Java | mit | 2,143 |
// Estimote Fleet Management SDK
// Copyright © 2015 Estimote. All rights reserved.
#import <Foundation/Foundation.h>
#import "ESTRequestPostJSON.h"
#import "ESTDeviceSettingsCollection.h"
NS_ASSUME_NONNULL_BEGIN
/**
* Completion block fired when request is complete.
*
* @param error Error of request. No erro... | Estimote/iOS-SDK | EstimoteFleetManagementSDK/EstimoteFleetManagementSDK.framework/Versions/A/Headers/ESTRequestV2ConfirmDeviceDetails.h | C | mit | 1,710 |
<html>
<head>
<title>Arnold and Kayo's Wedding Ceremony</title>
<meta http-equiv="Content-Type" content="text/html;">
<meta name="GENERATOR" content="uWebAbm">
</head>
<body bgcolor="#FFFFCC" background="../../../images/background.gif">
<div align="center"><font face="Arial" size="4" color="#000000">Arnold and K... | asiboro/asiboro.github.io | sitesarchive/arnold-kayo.siboro.org/weddingphotos/church-snap-hirakawa/page/image85.html | HTML | mit | 1,267 |
import test from 'ava';
import snapshot from '../../helpers/snapshot';
import Vue from 'vue/dist/vue.common.js';
import u from '../../../src/lib/components/u/index.vue';
import commonTest from '../../common... | Morning-UI/morning-ui | test/unit/components/u.js | JavaScript | mit | 586 |
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web serve... | reginafcompton/handelatnewberry | config/environments/production.rb | Ruby | mit | 3,853 |
/*Création des cookies*/
$(document).ready(function () {
CreateCookies();
$('input:not([type="submit"])').each(function () {
$(this).val('');
});
});
/*Ajout des vols dans la recherche*/
function addResultVols(toAppend, compagnie, code, provenance, destination, imgSrc, date, heure, ArrDep, imgArrDe... | aimanwakidou/SiteAeroport | js/RechercheVol.js | JavaScript | mit | 7,968 |
// PhongVF[_
// 2017.05.12 : vOì¬
// author : SyunMizuno
#pragma once
#include "../Technique/Technique.h"
#include "../ConstantBuffer/Frame/ConstantBufferFrame.h"
#include "../ConstantBuffer/Light/ConstantBufferLight.h"
#include "../ConstantBuffer/Material/ConstantBufferMaterial.h"
#include "../Const... | MSyun/DX11Study | DirectX11Framework/DirectX11Framework/src/GameFramework/framework/Resource/Shader/Phong/Phong.h | C | mit | 1,075 |
using System;
using System.Collections.Generic;
using System.Text;
namespace CommandLineDeploymentTool
{
class Arguments
{
public string DeployType { get; private set; }
public string BackupFolder { get; private set; }
public string AppName { get; private set; }
public string A... | erdalgokten/CommandLineDeploymentTool | CommandLineDeploymentTool/Arguments.cs | C# | mit | 9,801 |
/*
*
* ProjectList constants
*
*/
// export const DEFAULT_ACTION = 'app/ProjectList/DEFAULT_ACTION';
export const GET_PROJECTS_OWNED_ACTION = 'app/ProjectList/GET_PROJECTS_OWNED';
export const GET_PROJECTS_OWNED_SUCCESS_ACTION = 'app/ProjectList/GET_PROJECTS_OWNED_SUCCESS';
export const GET_PROJECTS_OWNED_ERROR_AC... | VeloCloud/website-ui | app/containers/ProjectList/constants.js | JavaScript | mit | 642 |
/**! Qoopido.nucleus 3.1.9 | http://nucleus.qoopido.com | (c) 2020 Dirk Lueth */
!function(e){"use strict";provide(["/demand/pledge"],(function(A){var t=A.defer(),d=e.createElement("img");return d.onload=function(){1===d.width&&1===d.height?t.resolve():t.reject(),delete d.onload},d.src="data:image/gif;base64,R0lGODlhAQ... | cdnjs/cdnjs | ajax/libs/qoopido.nucleus/3.1.9/support/test/capability/datauri.js | JavaScript | mit | 432 |
from django.core.management import setup_environ
import settings
setup_environ(settings)
from apps.modules.tasks import update_data
update_data.delay()
| udbhav/eurorack-planner | scripts/update_data.py | Python | mit | 167 |
# Name: Makefile
# Author: <insert your name here>
# Copyright: <insert your copyright message here>
# License: <insert your license reference here>
# This is a prototype Makefile. Modify it according to your needs.
# You should at least check the settings for
# DEVICE ....... The AVR device you compile for
# CLOCK ..... | reinforce-lab/OTOplug | src/arduino/libraries/OTOplug1200Transmitter/Makefile | Makefile | mit | 4,492 |
//
//
// MIT License
//
// Copyright (c) 2017 Stellacore Corporation.
//
// 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 ... | transpixel/tpqz | libdat/Jump.cpp | C++ | mit | 2,242 |
---
layout: post
title: "How Docker is changing the world for development and operations"
author: Erik Veld
date: 2016-02-09 10:00
cover: /img/container.jpg
preview: /img/container.jpg
categories:
- videos
comments: true
tags:
- docker
- dutchdockerday
- event
- talk
---
In his [talk](http://www.slideshare.ne... | nautsio/nautsio.github.io | _posts/2016-02-09-how-docker-is-changing-the-world-for-devops.md | Markdown | mit | 996 |
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("sam... | dlmelendez/identitydocumentdb | sample/samplemvc/Properties/AssemblyInfo.cs | C# | mit | 1,349 |
<?php
namespace Oro\Bundle\MessageQueueBundle\Tests\Unit\DependencyInjection;
use Oro\Bundle\MessageQueueBundle\DependencyInjection\Configuration;
use Oro\Bundle\MessageQueueBundle\Tests\Unit\Mocks\FooTransportFactory;
use Oro\Component\MessageQueue\DependencyInjection\DbalTransportFactory;
use Oro\Component\MessageQu... | trustify/oroplatform | src/Oro/Bundle/MessageQueueBundle/Tests/Unit/DependencyInjection/ConfigurationTest.php | PHP | mit | 7,174 |
# Contributing to this project
Please take a moment to review this document in order to make the contribution
process easy and effective for everyone involved.
Following these guidelines helps to communicate that you respect the time of
the developers managing and developing this open source project. In return,
they ... | flightjs/generator-flight-package | CONTRIBUTING.md | Markdown | mit | 5,231 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_char_snprintf_72a.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.string.label.xml
Template File: sources-sink-72a.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: ... | maurer/tiamat | samples/Juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s08/CWE122_Heap_Based_Buffer_Overflow__c_CWE805_char_snprintf_72a.cpp | C++ | mit | 3,040 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr">
<!-- Mirrored from fossevents.in/node/881?mini=calendar%2F2015-04 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 24 May 2015 10:... | fossevents/fossevents-static-backup | node/88193f9.html | HTML | mit | 15,145 |
import core from 'core-js';
var originStorage = new Map();
function ensureType(value){
if(value instanceof Origin){
return value;
}
return new Origin(value);
}
/**
* A metadata annotation that describes the origin module of the function to which it's attached.
*
* @class Origin
* @constructor
* @param {st... | behzad88/aurelia-ts-port | aurelia-latest/metadata/origin.js | JavaScript | mit | 1,546 |
import numpy as np
import cv2
import matplotlib.image as mpimg
import pickle
from line import Line
from warp_transformer import WarpTransformer
from moviepy.editor import VideoFileClip
calibration_mtx_dist_filename = 'dist_pickle.p'
# load mtx, dist
dist_pickle = pickle.load(open(calibration_mtx_dist_filename, "rb" )... | mez/carnd | P4_advance_lane_finding/main.py | Python | mit | 9,709 |
############################################################
## joAbstractFosterLinearOperator - outer constructors
############################################################
# common exports
export joLoosen
############################################################
## joLooseMatrix - outer constructors
"""
joLo... | slimgroup/JOLI.jl | src/joAbstractFosterLinearOperator/constructors.jl | Julia | mit | 8,549 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyFramework.ServiceModel
{
/// <summary>
/// 通用的服务返回结果.
/// </summary>
public class CommonServiceResult<T>
{
public CommonServiceResult()
{
}
... | wangzhiqing999/my-csharp-project | MyFramework.Service/ServiceModel/CommonServiceResult.cs | C# | mit | 5,657 |