repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
keik/slickgrid-colfix-plugin | examples/basic-explicitinit.html | 2886 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>slickgrid-colfix-plugin example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../bower_components/slickgrid/slick.grid.css" type="text/css" />
<link rel="stylesheet" href="../b... | mit |
xamarin/monotouch-samples | UICatalog/UICatalog/Controllers/Search/SearchControllers/BaseSearchController.cs | 2884 | using Foundation;
using System;
using System.Linq;
using UIKit;
namespace UICatalog
{
public partial class BaseSearchController : UITableViewController, IUISearchResultsUpdating
{
private const string CellIdentifier = "searchResultsCell";
private readonly string[] allItems =
{
... | mit |
vitoziv/DesignPatternObjc | DecoratorPattern/DecoratorPattern/AppDelegate.h | 276 | //
// AppDelegate.h
// DecoratorPattern
//
// Created by Vito on 13-11-15.
// Copyright (c) 2013年 Vito. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| mit |
cubiche/cubiche | src/Cubiche/Core/EventDispatcher/EventInterface.php | 799 | <?php
/**
* This file is part of the Cubiche package.
*
* Copyright (c) Cubiche
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cubiche\Core\EventDispatcher;
use Cubiche\Core\Bus\MessageInterface;
/**
* Event interfa... | mit |
maxvishnja/ticketsystem | src/Controllers/InstallController.php | 8480 | <?php
namespace Kordy\Ticketit\Controllers;
use App\Http\Controllers\Controller;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\File;
use Kordy\Ticketit\Models\Agent;
use Kordy\Ticketit\Models\Setting;
use Kordy\Tick... | mit |
v8-dox/v8-dox.github.io | 03b1c31/html/classv8_1_1Maybe.html | 10130 | <!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 |
Covoex/Qarvox | src/main/java/com/covoex/qarvox/Main.java | 227 | package com.covoex.qarvox;
import com.covoex.qarvox.Application.BasicFunction;
/**
* @author Myeongjun Kim
*/
public class Main {
public static void main(String[] args) {
BasicFunction.programStart();
}
}
| mit |
monostefan/Xamarin.Plugins | DeviceInfo/README.md | 3448 | ##  Device Info Plugin for Xamarin
Simple way of getting common device information.
### Setup
* Available on NuGet: http://www.nuget.org/packages/Xam.Plugin.DeviceInfo [](ht... | mit |
stivalet/PHP-Vulnerability-test-suite | URF/CWE_601/safe/CWE_601__POST__ternary_white_list__http_redirect_file_id-concatenation_simple_quote.php | 1220 | <?php
/*
Safe sample
input : get the field UserData from the variable $_POST
sanitize : use of ternary condition
construction : concatenation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute this s... | mit |
fgprodigal/RayUI | Interface/AddOns/IntelliMount/Includes/LibAddonManager.lua | 29220 |
-----------------------------------------------------------
-- LibAddonManager.lua
-----------------------------------------------------------
-- Take the global "..." (name, addon) as parameters to
-- initialize an addon object.
--
-- Abin (2014-11-04)
-----------------------------------------------------------
-- A... | mit |
Autodrop3d/autodrop3dServer | public/webcad/app/brep/geom/impl/line.js | 1860 | import {Curve} from '../curve'
export class Line extends Curve {
constructor(p0, v) {
super();
this.p0 = p0;
this.v = v;
this._pointsCache = new Map();
}
intersectSurface(surface) {
if (surface.isPlane) {
const s0 = surface.normal.multiply(surface.w);
return surface.normal.dot(s... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_config_radius_client_root_certificate.rb | 1617 | # 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::Network::Mgmt::V2019_11_01
module Models
#
# Properties of the Radius client root certificate of
# VpnServerConfiguration.
#... | mit |
myworkstation/myworkstation.github.io | _posts/2015-05-15-Distributed compressed sensing.html | 126 | ---
layout: default
title: Distributed compressed sensing
---
<h2>{{ page.title }}</h2>
<p>To be writen<a href="">here</a></p> | mit |
yaelduckwen/libriastore | joomla/templates/horme_3/html/com_virtuemart/user/edit_address_addshipto.php | 988 | <?php
/**
*
* Enter address data for the cart, when anonymous users checkout
*
* @package VirtueMart
* @subpackage User
* @author Max Milbers
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, s... | mit |
tuos/FlowAndCorrelations | flowCorr/paperMacro/qm/GetFileAndSys.C | 1754 | #include "TString.h"
#include "TGraph.h"
#include "TGraphErrors.h"
#include "TGraphAsymmErrors.h"
#include <fstream>
#include <Riostream.h>
#include <sstream>
#include <fstream>
using namespace std;
TGraphErrors* GetGraphWithSymmYErrorsFromFile(TString txtFileName, Color_t markerColor=1, Style_t markerStyle=20, Size_t... | mit |
neilime/zf-twbs-helper-module | tests/TestSuite/Documentation/Components/Jumbotron.php | 2445 | <?php
// Documentation test config file for "Components / Jumbotron" part
return [
'title' => 'Jumbotron',
'url' => '%bootstrap-url%/components/jumbotron/',
'rendering' => function (\Laminas\View\Renderer\PhpRenderer $oView) {
echo $oView->jumbotron([
'title' => 'Hello, world!',
... | mit |
gudmundurh/CssMerger | CssMerger.Tests/Properties/AssemblyInfo.cs | 1331 | using System.Reflection;
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("CssMerger.Tests")]
[assembly: AssemblyDe... | mit |
alisaifee/limits | tests/storage/test_memcached.py | 3218 | import time
import pymemcache.client
import pytest
from limits import RateLimitItemPerMinute, RateLimitItemPerSecond
from limits.storage import MemcachedStorage, storage_from_string
from limits.strategies import (
FixedWindowElasticExpiryRateLimiter,
FixedWindowRateLimiter,
)
from tests.utils import fixed_sta... | mit |
tutahunia/LiviuShop | src/Tutorial/ToDoListBundle/DependencyInjection/TutorialToDoListExtension.php | 890 | <?php
namespace Tutorial\ToDoListBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and ... | mit |
ff0000/red-fab-deploy | fab_deploy/joyent/postgres.py | 5514 | import os
import sys
import tempfile
from fabric.api import run, sudo, env, local, hide, settings
from fabric.contrib.files import append, sed, exists, contains
from fabric.context_managers import prefix
from fabric.operations import get, put
from fabric.context_managers import cd
from fabric.tasks import Task
from ... | mit |
niklasberglund/bitwake | bridging-header.h | 183 | //
// bridging-header.h
// BitWake
//
// Created by Niklas Berglund on 2017-07-08.
// Copyright © 2017 Niklas Berglund. All rights reserved.
//
#import "NSMenu+setHasPadding.h"
| mit |
chriso/gauged | gauged/drivers/__init__.py | 1960 | """
Gauged
https://github.com/chriso/gauged (MIT Licensed)
Copyright 2014 (c) Chris O'Hara <cohara87@gmail.com>
"""
from urlparse import urlparse, parse_qsl
from urllib import unquote
from .mysql import MySQLDriver
from .sqlite import SQLiteDriver
from .postgresql import PostgreSQLDriver
def parse_dsn(dsn_string):
... | mit |
Cyberwatch/cbw-security-fixes | Debian_8_(Jessie)/x86_64/2015/DSA-3345-1.sh | 652 | #!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3345-1
#
# Security announcement date: 2015-08-29 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:32 UTC
#
# Operating System: Debian 8 (Jessie)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - iceweasel:38.2.1esr-1~deb8u1
#
# La... | mit |
borisbrodski/jmockit | main/src/mockit/external/asm4/Type.java | 25672 | /***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribution... | mit |
ibtokin/ibtokin | manage.py | 805 | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ibtokin.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that the
... | mit |
Jheysoon/lcis | application/views/registrar/ajax/tbl_studlist.php | 1567 | <table class="table table-striped table-bordered table-hover">
<tr>
<th>Student Id</th>
<th>Student Name</th>
<th>Course</th>
<!--<th>
<select class="form-control" name='Year Level' required>
<option> THIRD YEAR</option>
<option> ALL</option>
<option> FIRST YEAR</option>
<option> ... | mit |
chorsystem/middleware | chorDataModel/src/main/java/org/eclipse/bpel4chor/model/pbd/Query.java | 3371 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.bpel4chor.model.pbd;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Query</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.bpel4chor.model.pbd... | mit |
sessionm/ios-smp-example | Pods/SessionMSDK/SessionM_iOS_v3.0.0/SessionMEventsKit.framework/Headers/SMActivityEventBuilder.h | 819 | //
// SMActivityEventBuilder.h
// SessionMEventsKit
//
// Copyright © 2018 SessionM. All rights reserved.
//
#ifndef __SM_ACTIVITY_EVENT_BUILDER__
#define __SM_ACTIVITY_EVENT_BUILDER__
#import "SMEventBuilder.h"
#import "SMActivityEvent.h"
NS_ASSUME_NONNULL_BEGIN
/*!
@class SMActivityEventBuilder
@abstract Cla... | mit |
jkjoschua/poe-ladder-tracker-java | LadderTracker/src/GUIError.java | 2387 | import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JTextPane;
import java.awt.SystemColor;
/**
* The GUIError object is used to show an erro... | mit |
graphql/graphql-js | src/validation/rules/UniqueOperationTypesRule.ts | 1903 | import { GraphQLError } from '../../error/GraphQLError';
import type {
SchemaDefinitionNode,
SchemaExtensionNode,
} from '../../language/ast';
import type { ASTVisitor } from '../../language/visitor';
import type { SDLValidationContext } from '../ValidationContext';
/**
* Unique operation types
*
* A GraphQL ... | mit |
xylsxyls/xueyelingshuang | src/CDump/version_release.sh | 42 | "$CLOUD_REBUILD" CDump 32 dll release same | mit |
xylsxyls/xueyelingshuang | src/DirectShow/DirectShow/src/DirectShow.cpp | 23 | #include "DirectShow.h" | mit |
AndrewGaspar/Podcasts | Podcasts.Shared/Converters/PodcastDurationConverter.cs | 904 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace Podcasts.Converters
{
public class PodcastDurationConverter : TypedConverter<TimeSpan?, string>
{
public override string Conv... | mit |
MadManRises/Madgine | cmake/platform/android.cmake | 2666 | include(Util)
once()
include (Plugins)
if (ANDROID)
set (Android_List_dir ${CMAKE_CURRENT_LIST_DIR})
if (NOT ANDROID_SDK)
MESSAGE(SEND_ERROR "No ANDROID_SDK location provided!")
endif()
MESSAGE(STATUS "Targeting Android-SDK version: ${ANDROID_PLATFORM_LEVEL}")
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/grad... | mit |
yangshengchaoios/FootPrints | Footprints/O2O/O2O/Controller/Store/JJProductCell.h | 771 | //
// JJProductCell.h
// Footprints
//
// Created by Jinjin on 14/12/3.
// Copyright (c) 2014年 JiaJun. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void(^ExchangeBlock)(GiftProductModel *model);
@interface JJProductCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIView *realCotent;
@prope... | mit |
cliffano/swaggy-jenkins | clients/javascript/generated/src/model/PipelineRunNode.js | 3684 | /**
* Swaggy Jenkins
* Jenkins API clients generated from Swagger / Open API specification
*
* The version of the OpenAPI document: 1.1.2-pre.0
* Contact: blah@cliffano.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not ed... | mit |
SummerBlack/MasterServer | app/src/main/java/com/lamost/update/UpdateWebService.java | 2678 | package com.lamost.update;
import java.io.IOException;
import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.transport.HttpTransportSE;
import org.xmlpull.v1.XmlPullParserException;
import android.util.Log;
/**
* Cre... | mit |
gries/pokemath | src/Numbers/Mienshao.php | 198 | <?php
namespace gries\Pokemath\Numbers;
use gries\Pokemath\PokeNumber;
class Mienshao extends PokeNumber
{
public function __construct()
{
parent::__construct('mienshao');
}
} | mit |
kehr/kehr.github.io | README.md | 36 | Blog
Powered by Jekyll | Theme H2O
| mit |
sgratzl/MinimalCaleydoIntegration | README.md | 131 | MinimalCaleydoIntegration
=========================
a minimal eclipse rcp example for integrating caleydo gl elements into a view
| mit |
recurly/recurly-client-php | lib/recurly/resources/shipping_method_mini.php | 2229 | <?php
/**
* This file is automatically created by Recurly's OpenAPI generation process
* and thus any edits you make by hand will be lost. If you wish to make a
* change to this file, please create a Github issue explaining the changes you
* need and we will usher them to the appropriate places.
*/
namespace Recur... | mit |
binshen/oa | application/views/finance/list_brokerage.html | 3204 | <!-- content start -->
<div class="admin-content" style="min-height:450px">
<div class="am-cf am-padding">
<div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">成交明细表</strong></div>
</div>
<div class="am-g">
<div class="am-u-sm-12 am-u-md-6"> </div>
<form... | mit |
balous/nodejs-kerio-api | lib/kerio-api.js | 409 | class Client {
constructor(http_client){
this.http_client = http_client
this.method_list = []
}
xyz() {
return this.http_client
}
}
function chainable_client () {
HttpClient = require('./http_client.js')
http_client = new HttpClient(arguments[0])
chainable_method = require('./chainable_method.js')
ret... | mit |
manly-man/moodle-destroyer-tools | docs/moodle_api_3.1/functions/core_competency_template_has_related_data.html | 2343 | <div class="collapsibleregioninner" id="aera_core_competency_template_has_related_data_inner"><br/><div style="border:solid 1px #DEDEDE;background:#E2E0E0;
color:#222222;padding:4px;">Check if a template has related data</div><br/><br/><span style="color:#EA33A6">Arguments</span><br/><span style... | mit |
BuzzAcademy/idioms-moe-unformatted-data | all-data/10000-10999/10691-22.html | 1330 | <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 |
laterpay/rubberjack-cli | tests/test_cli.py | 6380 | import boto
import mock
import moto
import tempfile
import unittest
from click.testing import CliRunner
from rubberjackcli.click import rubberjack
class CLITests(unittest.TestCase):
@moto.mock_s3_deprecated
@mock.patch('boto.beanstalk.layer1.Layer1.create_application_version')
@mock.patch('boto.beansta... | mit |
DeepLearningProjects/poem-bot | README.md | 351 | # Flask based simple API
char-rnn from https://github.com/sherjilozair/char-rnn-tensorflow.
## Launch Server in Heroku
* Run heroku create and push to heroku:
```bash
cd poem-bot
heroku create
git push heroku master
```
* Alternatively, click the button below:
[
expect(extractor).to be_valid
end
end
describe Blockhead::Extractors::Value, '#extract_value' do
it 'returns @value unmolested' do
extractor =... | mit |
bakercp/ofxIpVideoServer | example/bin/data/jQuery-File-Upload-master/server/php/UploadHandler.php | 30399 | <?php
/*
* jQuery File Upload Plugin PHP Class 6.1.1
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
class UploadHandler
{
protected $options;
// PHP File Upload e... | mit |
weshatheleopard/rubyXL | rdoc/RubyXL/VectorValue.html | 2534 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>class RubyXL::VectorValue - rubyXL 3.4.21</title>
<script type="text/javascript">
var rdoc_rel_prefix = "../";
var index_rel_prefix = "../";
</script>
<script src="../js/navigation.js" defer></script>
<script src="../js/search.js" defer></script>
<scri... | mit |
AkshayRaul/MEAN_ToDo | public/app/services/register/register.service.js | 1804 | "use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... | mit |
CocoaPods/cocoapods-search | spec/command/search_spec.rb | 6098 | require File.expand_path('../../spec_helper', __FILE__)
module Pod
describe Command::Search do
extend SpecHelper::TemporaryRepos
describe 'Search' do
it 'registers it self' do
Command.parse(%w{ search }).should.be.instance_of Command::Search
end
it 'runs with correct parameters' d... | mit |
tareqalayan/pytest | testing/test_capture.py | 40501 | from __future__ import absolute_import, division, print_function
# note: py.io capture tests where copied from
# pylib 1.4.20.dev2 (rev 13d9af95547e)
from __future__ import with_statement
import pickle
import os
import sys
from io import UnsupportedOperation
import _pytest._code
import py
import pytest
import contextl... | mit |
yunxu-it/GMeizi | app/src/main/java/cn/winxo/gank/module/view/DetailActivity.java | 3411 | package cn.winxo.gank.module.view;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import... | mit |
AmazinGears/CoinC | models/funcs.php | 18102 | <?php
/*
UserFrosting Version: 0.2.2
By Alex Weissman
Copyright (c) 2014
Based on the UserCake user management system, v2.0.2.
Copyright (c) 2009-2012
UserFrosting, like UserCake, is 100% free and open-source.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associat... | mit |
Samuel-Oliveira/Java_NFe | src/main/java/br/com/swconsultoria/nfe/schema/retEnvEpec/TEvento.java | 40213 |
package br.com.swconsultoria.nfe.schema.retEnvEpec;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Tipo Evento
*
* <p>Classe Java de TEvento complex type.
*
* <p>O seguinte fragmento do es... | mit |
ProfilerTeam/Profiler | protected/vendors/Zend/Form/Element/Multiselect.php | 1461 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | mit |
Pokerpoke/LaTeX-Template-For-NPU-Thesis | example/example.tex | 1088 | \documentclass[12pt,a4paper,openany,oneside]{book}
\input{thesis-setting}
% 仅用于测试
\usepackage{blindtext}
\title{\textsf{比如我举个例子}}
\author{{\kai 谁知道呢}}
\date{May 20, 20xx}
\begin{document}
\sloppy
\pagenumbering{Roman}
% 封皮
\frontmatter
\input{cover.tex}
\setcounter{page}{1}
\renewcommand{\baselinestretch}{1.25}... | mit |
EcutDavid/EcutDavid.github.io | src/styles/Work.css | 74 | .work {
min-height: 520px;
}
.work > div > p {
margin-bottom: 5px;
}
| mit |
Azure/azure-sdk-for-java | sdk/formrecognizer/azure-ai-formrecognizer/src/samples/java/com/azure/ai/formrecognizer/administration/DocumentModelAdminAsyncClientJavaDocCodeSnippets.java | 24260 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.ai.formrecognizer.administration;
import com.azure.ai.formrecognizer.administration.models.AccountProperties;
import com.azure.ai.formrecognizer.administration.models.BuildModelOptions;
import com.azure.a... | mit |
Karasiq/scalajs-highcharts | src/main/scala/com/highmaps/config/SeriesVariwideStatesNormal.scala | 1668 | /**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highmaps]]
*/
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript n... | mit |
zacarius89/NetsuiteEnvironmentViewer | NetsuiteEnvironmentViewer/windowsFormClients/treeViewClient.cs | 3736 | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace NetsuiteEnvironmentViewer
{
//http://stackoverflow.com/questions/6442911/how-do-i-sync-scrolling-in-2-treeviews-using-the-slider
public partial class MyTreeView : TreeView
{
publi... | mit |
karim/adila | database/src/main/java/adila/db/asus5fz00m_asus5fz00md.java | 259 | // This file is automatically generated.
package adila.db;
/*
* Asus ZenFone 2 Laser (ZE600KL)
*
* DEVICE: ASUS_Z00M
* MODEL: ASUS_Z00MD
*/
final class asus5fz00m_asus5fz00md {
public static final String DATA = "Asus|ZenFone 2 Laser (ZE600KL)|";
}
| mit |
rehmsen/clutz | src/test/java/com/google/javascript/gents/singleTests/classes.ts | 766 | /**
* Anonymous class
*/
class A {
a: any;
constructor(a: number) {
this.a = a;
}
}
/**
* Named class
*/
class B {
a: any;
b: any;
constructor(a, b) {
this.a = a;
this.b = b;
}
}
/**
* Named class extension
*/
class C extends A {
b: any;
constructor(a, b) {
super(a);
this.b... | mit |
mantoni/measured-elasticsearch.js | test/fixture/defaults.js | 510 | /*
* measured-elasticsearch
*
* Copyright (c) 2015 Maximilian Antoni <mail@maxantoni.de>
*
* @license MIT
*/
'use strict';
exports.index = 'metrics-1970.01';
exports.timestamp = '1970-01-01T00:00:00.000Z';
function header(type) {
return {
index : { _type : type}
};
}
exports.headerCounter = heade... | mit |
korsul/mandeljs | stylesheets/fullscreen.css | 470 | @import url("screen.css");
@import url("non-screen.css") handheld;
@import url("non-screen.css") only screen and (max-device-width:640px);
#canvas-outer {
border: 0px;
position: relative;
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
}
#main_canvas {
width: 100%;
height: 100%;
... | mit |
spcsser/meteor-grdn-gnome | client/templates/plants.js | 999 | PLANT_CONFIG = [
{key: 'name', label: 'Name'},
{key: 'scienceName', label: 'Scientific name'}
];
Template.plants.helpers({
plantListConfig: function() {
return PLANT_CONFIG;
}
});
Template.newPlant.helpers({
plantListConfig: function() {
return PLANT_CONFIG;
}
});
Template.new... | mit |
leotizzei/MobileMedia-Cosmos-VP-v6 | src/br/unicamp/ic/sed/mobilemedia/copyphoto/impl/PhotoViewController.java | 3765 | /**
* University of Campinas - Brazil
* Institute of Computing
* SED group
*
* date: February 2009
*
*/
package br.unicamp.ic.sed.mobilemedia.copyphoto.impl;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.... | mit |
willf/realquickcpp | body.css | 649 | body {font-family: verdana, arial, sans serif; font-size:11px; line-height:16px }
body,div,navigation {font-family: verdana, arial, sans serif; font-size:11px; line-height:16px }
td {font-family: verdana, arial, sans serif; font-size:11px; line-height:16px }
code, pre { font-family: "courier new", "courier";font-size:... | mit |
favclip/jwg | misc/fixture/j/model_json.go | 18918 | // generated by jwg -output misc/fixture/j/model_json.go misc/fixture/j; DO NOT EDIT
package j
import (
"encoding/json"
)
// FooJSON is jsonized struct for Foo.
type FooJSON struct {
Tmp *Temp `json:"tmp,omitempty"`
Bar `json:",omitempty"`
*Buzz `json:",omitempty"`
HogeJSON `json:",omitempty"`
... | mit |
nagadomi/animeface-2009 | nvxs/nv_face/nv_face_mlp_static.h | 379 | #ifndef __NV_FACE_MLP_STATIC_H
#define __NV_FACE_MLP_STATIC_H
#include "nv_core.h"
#include "nv_ml.h"
#ifdef __cplusplus
extern "C" {
#endif
extern nv_mlp_t nv_face_mlp_dir;
extern nv_mlp_t nv_face_mlp_parts;
extern nv_mlp_t nv_face_mlp_face_00;
extern nv_mlp_t nv_face_mlp_face_01;
extern nv_mlp_t nv_fac... | mit |
joshuanijman/portfolio | js/main.js | 241 | $(document).ready(function(){$window=$(window);$('header[data-type="background"]').each(function(){var e=$(this);$(window).scroll(function(){var t=-($window.scrollTop()/e.data("speed"));var n="50% "+t+"px";e.css({backgroundPosition:n})})})}) | mit |
Ulbora/ulboracms | static/admin/header.html | 2022 | {{define "header"}}
<head>
<title>Ulbora CMS V3 Admin</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script type='text/javascript' src="/admin/js/popper.js"></script>
<script type='text/javascript' src="/admin/js/jquery-3.2.1.... | mit |
alesbolka/eve_analyst | apiqueue/requests/station/execution.go | 540 | package station
import (
"github.com/moryg/eve_analyst/apiqueue/ratelimit"
"github.com/moryg/eve_analyst/database/station"
"log"
"net/http"
)
func (r *request) execute() {
ratelimit.Add()
res, err := http.Get(r.url)
ratelimit.Sub()
if err != nil {
log.Println("station.execute: " + err.Error())
return
}
... | mit |
PiotrDabkowski/pyjsparser | tests/pass/4263e76758123044.js | 7 | a === b | mit |
alfonsomartinde/FB-code-challenge-01 | grunt/copy.js | 2082 | module.exports = {
devTemplates: {
files: [{
expand: true,
cwd: '<%= appConfig.rutatemplates %>',
dest:'<%= appConfig.rutadev %>/html',
src: ['**/*']
}]
},
devImages: {
files: [{
expand: true,
cwd: '<%= appConfig... | mit |
epintos/wogger | src/app/timer/timer.tpl.html | 1567 | <div lass="trials-container center-container" ng-controller="TimerCtrl">
<div class="row">
<div class="col-md-8">
<form name="logEntryForm" class="form-inline" ng-submit="createLog()">
<div class="form-group">
<input type="text" ng-model="newLog.description" class="form-control" placeholder="Descr... | mit |
500friends/db-query-matchers | spec/support/models/cat.rb | 49 | # Test model
class Cat < ActiveRecord::Base
end
| mit |
Aratramba/jade-doc | lib/parser.js | 8383 | const pug = require("pug");
const pugRuntimeWrap = require("pug-runtime/wrap");
const path = require("path");
const YAML = require("js-yaml");
const getCodeBlock = require("pug-code-block");
const detectIndent = require("detect-indent");
const rebaseIndent = require("rebase-indent");
const pugdocArguments = require(".... | mit |
chandresh/simple_form | lib/simple_form/form_builder.rb | 16464 | module SimpleForm
class FormBuilder < ActionView::Helpers::FormBuilder
attr_reader :template, :object_name, :object, :wrapper
# When action is create or update, we still should use new and edit
ACTIONS = {
:create => :new,
:update => :edit
}
extend MapType
include SimpleForm::Inp... | mit |
greencoder/hopefullysunny-django | registrations/management/commands/registration_worker.py | 1481 | import zmq
import datetime
import pytz
from django.core.management.base import BaseCommand, CommandError
from django.conf import settings
from registrations.models import Registration
from registrations import handlers
from registrations import tasks
class Command(BaseCommand):
def log(self, message):
f... | mit |
stelee/barobotic | js/migration/db5.js | 331574 | module.exports.up=function(onSuccess,onFailed){
var dbo=new entity.Base();
dbo.saveToDB("recipe_drink",["recipe_code","drink_code","quantity","description"],
[
["3622","342",9.83,"1/3 shot Southern Comfort "],
["3622","315",9.83,"1/3 shot Grand Marnier "],
["3622","375",9.83,"1/3 shot Amaretto "],
["362... | mit |
wolfganglederer/Volleyball | docs/athletik.html | 16203 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Athletik | Volleyball</title>
<meta name="description" content="Athletik | Volleyballübungen" />
<meta name="generator" content="bookd... | mit |
adamsrog/ember-cli-placeholdit | app/components/placehold-it.js | 791 | import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'img',
attributeBindings: ['src'],
height: 100,
width: 100,
backgroundColor: 'aaa',
textColor: '555',
format: undefined, // gif, jpg, jpeg, png
text: undefined,
src: Ember.computed('height', 'width', 'backgroundColor', 'textColor'... | mit |
ievgenen/workingstats | admin/app/assets/javascripts/actions/index.js | 382 | import database from "../api/database";
import * as types from "../actions/ActionTypes"
const receiveAspects = aspects => ({
type: types.GET_COMMON_ASPECTS,
aspects
});
export const getCommonAspects = () => dispatch => {
database.getCommonAspects(aspects => {
dispatch(receiveAspects(aspects))
})
};
expo... | mit |
triforkse/trifork.se | lib/meetup.js | 834 | var https = require('https'),
q = require('q'),
cache = require('./cache').cache;
var API_KEY = process.env.TF_MEETUP_API_KEY;
var fetch_events = function () {
var deferred = q.defer();
var options = {
host: 'api.meetup.com',
path: '/2/events?&sign=true&photo-host=public&group_urlname=GOTO-Night-Sto... | mit |
darkoverlordofdata/monomart | monomart/Models/Domain/MM_GetBrand.cs | 179 | using System;
namespace monomart.Models.Domain
{
public class MM_GetBrand
{
public virtual int id { get; set; }
public virtual string name { get; set; }
}
}
| mit |
nucle0tides/nucle0tides.github.io | _logs/2019-09-15.md | 993 | ---
layout: log
title: 15 SEPT 2019
date: 2019-09-15
---
# stream of conscious
i really ought to make a habit of keeping up with these logs from friday-sunday. i very rarely pick up a laptop over the weekend, though. despite only being sick tuesday, i didn't feel fully cognizant until friday. saturday was full of cle... | mit |
aarym/uJet | src/Logikfabrik.Umbraco.Jet/Mappings/DataTypeDefinitionMappingRegistrar.cs | 1637 | // <copyright file="DataTypeDefinitionMappingRegistrar.cs" company="Logikfabrik">
// Copyright (c) 2016 anton(at)logikfabrik.se. Licensed under the MIT license.
// </copyright>
namespace Logikfabrik.Umbraco.Jet.Mappings
{
using System;
/// <summary>
/// The <see cref="DataTypeDefinitionMappingRegistrar... | mit |
CodersForLife/Data-Structures-Algorithms | Searching/BinarySearch.java | 932 |
import java.util.Scanner;
public class BinarySearch {
public static int binarySearch(int arr[], int num, int startIndex,
int endIndex) {
if (startIndex > endIndex) {
return -1;
}
int mid = startIndex + (endIndex - startIndex) / 2;
if (num == arr[mid]) {
return mid;
} else if (num > arr[mid]) {
... | mit |
dgautier/PlatformJavaClient | src/main/java/com/docuware/dev/schema/_public/services/platform/SortDirection.java | 808 |
package com.docuware.dev.schema._public.services.platform;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
@XmlType(name = "SortDirection")
@XmlEnum
public enum SortDirection {
@XmlEnumValue("Default")
DEFAULT("Default"),
... | mit |
thoov/ember-weakmap | vendor/ember-weakmap-polyfill.js | 2616 | /* globals Ember, require */
(function() {
var _Ember;
var id = 0;
var dateKey = new Date().getTime();
if (typeof Ember !== 'undefined') {
_Ember = Ember;
} else {
_Ember = require('ember').default;
}
function symbol() {
return '__ember' + dateKey + id++;
}
function UNDEFINED() {}
f... | mit |
emersonthis/fae | docs/helpers/view_helpers.md | 4573 | # View Helpers
Fae provides a number of built in view helpers.
* [Fae Date Format](#fae-date-format)
* [Fae Datetime Format](#fae-datetime-format)
* [Fae Toggle](#fae-toggle)
* [Fae Clone Button](#fae-clone-button)
* [Fae Delete Button](#fae-delete-button)
* [Form Header](#form-header)
* [Require Locals](#require-loc... | mit |
KeldOelykke/FailFast | Java/Web/war/releases/1.3/unit/starkcoder/failfast/unit/objects/doubles/69_DoubleInsideTest-out.html | 821 | <html xmlns:string="xalan://java.lang.String" xmlns:lxslt="http://xml.apache.org/xslt">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Standard Output from DoubleInsideTest</title>
</head>
<body>
<pre>DoubleInsideTest.testComparableInsideFailNoMessage: Double 'valueA'(0.123) is inside... | mit |
Keats/tera | src/renderer/processor.rs | 43679 | use std::borrow::Cow;
use std::collections::HashMap;
use std::io::Write;
use serde_json::{to_string_pretty, to_value, Number, Value};
use crate::context::{ValueRender, ValueTruthy};
use crate::errors::{Error, Result};
use crate::parser::ast::*;
use crate::renderer::call_stack::CallStack;
use crate::renderer::for_loop... | mit |
jescocard/VaiFundosUCL | VaiFundos/VaiFundos/Program.cs | 15664 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VaiFundos
{
class Program
{
static void Main(string[] args)
{
GerenciadorCliente gerenciador = new GerenciadorCliente();
FundosEmDolar fundo_dol... | mit |
ARCANESOFT/Auth | resources/views/admin/users/index.blade.php | 18908 | <?php /** @var Illuminate\Pagination\LengthAwarePaginator $users */ ?>
@section('header')
<h1><i class="fa fa-fw fa-users"></i> {{ trans('auth::users.titles.users') }} <small>{{ trans('auth::users.titles.users-list') }}</small></h1>
@endsection
@section('content')
<div class="box box-primary">
<div ... | mit |
beached/nodepp_rfb | src/nodepp_rfb.cpp | 18856 | // The MIT License (MIT)
//
// Copyright (c) 2014-2017 Darrell Wright
//
// 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... | mit |
zhoulijoe/js_todo_app | tests/helpers/resolver.js | 154 | import Resolver from 'ember/resolver';
var resolver = Resolver.create();
resolver.namespace = {
modulePrefix: 'todo-app'
};
export default resolver;
| mit |
hy-kuo/hy-kuo.github.io | README.md | 53 | # hy-kuo.github.io
My personal site :earth_americas:
| mit |