code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/*! Copyright 2011, Ben Lin (http://dreamerslab.com/) * Licensed under the MIT License (LICENSE.txt). * * Version: 1.0.0 * * Requires: jQuery 1.2.3+ */ $.preload = function(){ var tmp = [], i = arguments.length; // reverse loop run faster for( ; i-- ; ) tmp.push( $( '<img />' ).attr( 'src', arguments[ i ] )); };
dreamerslab/ci.view
example_site/assets/js/lib/jquery.preload.js
JavaScript
mit
320
/*jshint indent: 4, browser:true*/ /*global L*/ /* * L.TimeDimension.Player */ //'use strict'; L.TimeDimension.Player = (L.Layer || L.Class).extend({ includes: (L.Evented || L.Mixin.Events), initialize: function(options, timeDimension) { L.setOptions(this, options); this._timeDimension = ti...
geofbaum/geofbaum.github.io
src/leaflet.timedimension.player.js
JavaScript
mit
5,914
<?php namespace pagosBundle\Entity; use Doctrine\ORM\EntityRepository; use Doctrine\DBAL\DriverManager; class pagoRepository extends EntityRepository { public function facturar($lineas,$entidad,$cuenta) { $datos=array('serie'=>'', 'folio'=>'', 'empresa_id'=>'', ...
elmaspicudo/algo
src/pagosBundle/Entity/pagoRepository.php
PHP
mit
8,184
package com.bitdubai.fermat_bnk_api.layer.bnk_wallet.bank_money.exceptions; import com.bitdubai.fermat_api.FermatException; /** * Created by Yordin Alayn on 18.09.15. */ public class CantTransactionBankMoneyException extends FermatException { public static final String DEFAULT_MESSAGE = "Falled To Get Bank Tra...
fvasquezjatar/fermat-unused
fermat-bnk-api/src/main/java/com/bitdubai/fermat_bnk_api/layer/bnk_wallet/bank_money/exceptions/CantTransactionBankMoneyException.java
Java
mit
533
<?php namespace SMARTASK\HomeBundle\Entity; use Doctrine\ORM\Mapping as ORM; use SMARTASK\UserBundle\Entity\User ; use FOS\ElasticaBundle\Configuration\Search; use Symfony\Component\Validator\Constraints as Assert; /** * Task * * @ORM\Table(name="task") * @Search(repositoryClass="SMARTASK\HomeBundle\Repository\Ta...
tonymayflower/smartask
src/SMARTASK/HomeBundle/Entity/Task.php
PHP
mit
5,793
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java...
deivisvieira/PosJava
src/java/modelo/Cotacao.java
Java
mit
2,527
<?php namespace MM\Util\Dummy; trigger_error("simulating php error/warining"); class Dummy2 { }
marianmeres/mm-php
mm-util/tests/MM/Util/Dummy/Dummy2.php
PHP
mit
98
require 'test_helper' class SecurityErrorTest < Minitest::Test end
bgreg/humanist-errors
test/backlog/security_error_test.rb
Ruby
mit
69
<?php /* Safe sample input : Uses popen to read the file /tmp/tainted.txt using cat command sanitize : settype (float) construction : use of sprintf via a %d */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this sof...
stivalet/PHP-Vulnerability-test-suite
Injection/CWE_89/safe/CWE_89__popen__CAST-func_settype_float__multiple_AS-sprintf_%d.php
PHP
mit
1,780
// // EFDataSource.h // Pods // // Created by Ilya Sedov on 30/04/16. // // #import <Foundation/Foundation.h> @class EFCellModel; @protocol EFDataSource <NSObject> @required - (NSInteger)count; - (EFCellModel *)objectAtIndex:(NSInteger)index; - (void)add:(EFCellModel *)object; - (void)removeAtIndex:(NSIntege...
setoff/EasyForm
EasyForm/Core/EFDataSource.h
C
mit
478
'use strict'; angular.module('mean.settings').config(['$stateProvider', function($stateProvider) { var checkLoggedin = function($q, $timeout, $http, $location) { // Initialize a new promise var deferred = $q.defer(); // Make an AJAX call to check if the user is logged in $http.get('/logg...
indie-hackathon/dchat
packages/custom/settings/public/routes/settings.js
JavaScript
mit
787
import Express = require("express"); import Geohash = require("latlon-geohash"); import Nconf = require("nconf"); import Path = require("path"); import * as multer from "multer"; import { Picnic } from "../../models/Picnic"; import { User } from "../../models/User"; import { Module } from "../Module"; import { UserMo...
earthiverse/picknic
source/modules/data/DataModule.ts
TypeScript
mit
6,060
<!-- Modal ADD --> <div class="modal fade" id="modal-form" role="dialog"> <div class="modal-dialog modal-lg"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title"><sm...
nizamiftahul/ci_p1
application/views/rawat_jalan/_edit.php
PHP
mit
7,969
#Attribute set in both superclass and subclass class C(object): def __init__(self): self.var = 0 class D(C): def __init__(self): self.var = 1 # self.var will be overwritten C.__init__(self) #Attribute set in both superclass and subclass class E(object): def __init__(self): ...
github/codeql
python/ql/test/query-tests/Classes/overwriting-attribute/overwriting_attribute.py
Python
mit
451
#include <iostream> #include <fftw3.h> #include <omp.h> #include <cstdlib> #include <sweet/SimulationVariables.hpp> class TestFFTPlans { public: bool importWisdom(int i_reuse_spectral_transformation_plans) { static const char *wisdom_file = "sweet_fftw"; std::cout << "fftw_import_wisdom_from_filename(" << wisd...
schreiberx/sweet
src/unit_tests/test_plane_fftw_wisdom_import_export.cpp
C++
mit
3,655
<form id="formCopyMove"> <fieldset> <div class="modal-body"> <label>{{i18n.select_destination}}:</label> <div id="copyMoveTree"><div class="text-center"><span class="icon icon-spin5 animate-spin"></span></div></div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" id="copyButton"...
digitalmobil/ifm
src/templates/modal.copymove.html
HTML
mit
550
class Comment < Sequel::Model many_to_one :post include Splam splammable :body do |splam| splam.threshold = 40 splam.rules = [:bad_words, :html, :bbcode, :href, :chinese, :line_length, :russian] end def before_save return false if super == false self.published = !self.splam? true e...
whoisjake/thoughts
models/comment.rb
Ruby
mit
329
#pragma once #define FILE_NAME_MAX 512 #define FILE_PATH_MAX 512 typedef struct linked_list_s linked_list; typedef struct list_item_s list_item; typedef struct meta_info_s { char name[0x100]; char compatible[0x10]; char description[0x200]; char developer[0x100]; char devsite[0x100]; char added[0x100];...
adrifcastr/NTRDBI
source/ui/section/task/task.h
C
mit
3,028
# Be sure to restart your server when you modify this file. Rails.application.config.session_store :cookie_store, key: '_hobbit-hackconf-2015_session'
dimitardanailov/hobbit-hackconf-2015
config/initializers/session_store.rb
Ruby
mit
152
namespace EVTC_Log_Parser.Model { public class Interval { public int Start { get; set; } public int End { get; set; } } }
M4xZ3r0/GW2RaidTool
GW2RaidTool/EVTC-Log-Parser/Model/Data/Skill/Interval.cs
C#
mit
153
package br.com.dbsoft.rest.dados; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInc...
dbsoftcombr/dbssdk
src/main/java/br/com/dbsoft/rest/dados/DadosStatus.java
Java
mit
1,014
import PropTypes from 'prop-types' import React from 'react' import block from 'bem-cn-lite' import { Field, reduxForm } from 'redux-form' import { compose } from 'underscore' import { connect } from 'react-redux' import { renderTextInput } from '../text_input' import { renderCheckboxInput } from '../checkbox_input' im...
kanaabe/force
src/desktop/apps/consign/components/sign_up/index.js
JavaScript
mit
3,781
// Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System.Collections.Generic; using DotSpatial.Data; namespace DotSpatial.Symbology { /// <summary> /// Interface for LayerProvider. ...
CGX-GROUP/DotSpatial
Source/DotSpatial.Symbology/ILayerProvider.cs
C#
mit
2,747
using System.Runtime.Serialization; namespace PushbulletSharp.Models.Responses.Ephemerals { [DataContract] public class DismissalEphemeral : IEphemeral { /// <summary> /// Gets or sets the type. /// </summary> /// <value> /// The type. /// </value> [...
adamyeager/PushbulletSharp
PushbulletSharp/Models/Responses/Ephemerals/DismissalEphemeral.cs
C#
mit
1,753
<!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 (version 1.7.0_02) on Mon Apr 25 06:16:42 CEST 2016 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>org.gradle.api.plu...
HenryHarper/Acquire-Reboot
gradle/docs/javadoc/org/gradle/api/plugins/jetty/package-frame.html
HTML
mit
1,627
* { margin: 0; padding: 0; } h2 { font-family: verdana, sans-serif; font-size: 18px; margin: 10px 5px; } .box h2 { background:#ddd; color:black; padding:5px; font-size: 14px; margin: 0; } .box p { color:#333; padding:5px; font-size: 14px} .box, .box-v { border:1px solid #ddd; ...
wrecker/vmw-chargepoint
wsgi/static/cp_style.css
CSS
mit
716
package com.landenlabs.all_flipanimation; /** * Copyright (c) 2015 Dennis Lang (LanDen Labs) landenlabs@gmail.com * * 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, inc...
landenlabs2/all_FlipAnimation
app/src/main/java/com/landenlabs/all_flipanimation/ActivityRotAnimation.java
Java
mit
10,273
I am an unordered list. I am typically used for unnumbered lists
JupiterSmalltalk/Pillar
repository/Pillar-Model.package/PRUnorderedList.class/README.md
Markdown
mit
64
<?xml version="1.0" ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <!-- saved from url=(0017)http://localhost/ --> <script language="JavaScript" src="../../displayToc.js"></script> <script language="JavaScript" src="../../tocParas.js"></script> <script language="JavaScript" src="../../t...
amidoimidazol/bio_info
Beginning Perl for Bioinformatics/html/lib/Locale/Currency.html
HTML
mit
6,828
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DesktopCharacter.Model.Locator; using DesktopCharacter.ViewModel.SettingTab; namespace DesktopCharacter.ViewModel { class SettingViewModel : Livet.ViewModel { public LauncherSettin...
Babumi/DesktopCharacter
DesktopCharacter/ViewModel/SettingViewModel.cs
C#
mit
1,063
.style-target { font-family: Arial, sans-serif; }
Pilatch/AssetLoader
tst/css/sans-serif.css
CSS
mit
50
TF.listen();
rivers/tabfusion
src/listener.js
JavaScript
mit
13
<?php /** * Close.io Api Wrapper - LLS Internet GmbH - Loopline Systems. * * @see https://github.com/loopline-systems/closeio-api-wrapper for the canonical source repository * * @copyright Copyright (c) 2014 LLS Internet GmbH - Loopline Systems (http://www.loopline-systems.com) * @license https://github.c...
loopline-systems/closeio-api-wrapper
src/Model/Lead.php
PHP
mit
11,400
package com.example.apahlavan1.top10downloader; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationT...
AriaPahlavan/Android-Apps
Top10Downloader/app/src/androidTest/java/com/example/apahlavan1/top10downloader/ApplicationTest.java
Java
mit
369
#ifndef BLOWFISH_H #define BLOWFISH_H ///////////////////////////////////////////////////////////////////////// // ** NOTICE ** ///////////////////////////////////////////////////////////////////////// // The following resources are required by this module (or submodules): // #define BLOWFISHDATA ...
moodboom/Reusable
c++/Win32/MFC/Crypto/Blowfish/Blowfish.h
C
mit
2,461
# Agenda _A monthly event manager_ Check out the [DEMO](http://danielemeli.com/agenda) ## Setup The project is already compiled in the /dist folder. By the way, it you want to compile it by yourself, here is the 3 steps. - Install [Node.js](https://nodejs.org) and [npm](https://www.npmjs.com/) - In the root fol...
dnlml/agenda
README.md
Markdown
mit
923
import pymongo def connect (): ''' Create the connection to the MongoDB and create 3 collections needed ''' try: # Create the connection to the local host conn = pymongo.MongoClient() print 'MongoDB Connection Successful' except pymongo.errors.ConnectionFailure, err: ...
Macemann/Georgetown-Capstone
app/db/connect.py
Python
mit
493
/* Customized CSS for jQuery UI: simple info button and box. */ .ui-widget-content { font-family: Verdana,Arial,sans-serif; font-size:11px; } /* trim space around info button */ .ui-button-text-only .ui-button-text { padding: 0px; } .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header...
playsign/fidemo
css/info.css
CSS
mit
1,062
<div class="commune_descr limited"> <p> Bettainvillers est un village situé dans le département de Meurthe-et-Moselle en Lorraine. Elle totalisait 194 habitants en 2008.</p> <p>Si vous pensez venir habiter à Bettainvillers, vous pourrez aisément trouver une maison à acheter. </p> <p>Le nombre de logemen...
donaldinou/frontend
src/Viteloge/CoreBundle/Resources/descriptions/54066.html
HTML
mit
1,270
require 'compiler_helper' module Alf class Compiler describe Default, "join" do subject{ compiler.call(expr) } let(:right){ compact(an_operand) } let(:expr){ join(an_operand(leaf), right) } it_should_behave_like "a traceable compiled" it...
alf-tool/alf-core
spec/unit/alf-compiler/default/test_join.rb
Ruby
mit
620
@ru <p>На сервисе <a class="link" href="https://www.airbnb.ru/{{ config('cfg.airbnb_link') }}">Airbnb</a> по купону <span class="font-bold">{{ $coupon }}</span> можно получить скидку в 10 евро при бронировании жилья в {{ $city }}.</p> @en <p>You can get &euro;10 discount on <a class="link" href="https://www.airbnb....
ivacuum/hosting
resources/views/tpl/airbnb_coupon.blade.php
PHP
mit
504
<?php // This file assumes that you have included the nav walker from https://github.com/twittem/wp-bootstrap-navwalker // somewhere in your theme. ?> <?php if (!get_theme_mod('hide-header')) { ?> <header class="container-fluid"> <div class="row"> <div class="banner navbar navbar-default navbar-static-top ...
allurewebsolutions/sage-starter
templates/header.php
PHP
mit
1,868
<?php /** * This file is part of the "litgroup/enumerable" package. * * (c) Roman Shamritskiy <roman@litgroup.ru> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Test\LitGroup\Enumerable; use LitGroup\Enumerable\Test\En...
LitGroup/enumerable.php
test/EnumerableTest.php
PHP
mit
4,578
require_relative "../lib/stressfactor" require "pry" file = GPX::GPXFile.new(:gpx_file => "examples/data/sample.gpx") pc = Stressfactor::PaceCalculator.new(file) pace = pc.calculate puts pace binding.pry
andrewhao/stressfactor
scripts/analyze_sample_gpx.rb
Ruby
mit
204
--- layout: ci_navbar_sidebar title: Coding Standards permalink: /practice/ci/coding_standards/ --- <div class="jumbotron"> <h1><small>Continuous Integration</small></h1> <h1>Coding Standards Check</h1> <p>Apply code analysis and styling checks and if unsatisfactory mark the build as a failure</p> </div> <div cla...
LandRegistry/landregistry.github.io
practice/ci/coding_standards.html
HTML
mit
7,617
$(document).ready(function() { $(document).on('submit', '.status-button', function(e) { e.preventDefault(); var joinButton = e.target $.ajax(joinButton.action, { method: 'PATCH', data: $(this).serialize() }) .done(function(data) { gameDiv = $(joinButton).parent(); gameDiv....
nyc-dragonflies-2015/whos_got_next
app/assets/javascripts/players.js
JavaScript
mit
412
# consul-template-install Installs [Hashicorp's Consul Template] (https://github.com/hashicorp/consul-template) ## Role Variables ```yml --- --- consul_template_app: name: consul_template version: 0.11.0 arch: linux_amd64 file_owner: consul file_group: consul consul_template_install: ...
marcelocorreia/consul-template-install
README.md
Markdown
mit
1,369
require_relative 'spec_helper.rb' feature "can deal cards" do before do create_and_join_room("jnmandal", "bsheridan12") end scenario "allows you to choose amount of cards dealt" do in_browser(:one) do expect(page).to have_field "initial-deal-count" end end scenario "deal cards button dea...
KYoon/Stacks-on-Deck
spec/capybara/deal_cards_spec.rb
Ruby
mit
1,146
function OrganizationController() { // injetando dependência 'ngInject'; // ViewModel const vm = this; console.log('OrganizationController'); } export default { name: 'OrganizationController', fn: OrganizationController };
dnaloco/digitala
app/erp/js/controllers/human-resource/organiz.js
JavaScript
mit
242
--- layout: home5 excerpt: "A minimal Jekyll theme for your blog by designer Michael Rose." tags: [Jekyll, theme, responsive, blog, template] ---
harshnisar/insights_gamma
home3/index.md
Markdown
mit
151
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2016, Jianfeng Chen <jchen37@ncsu.edu> # vim: set ts=4 sts=4 sw=4 expandtab smartindent: # # 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 t...
Ginfung/FSSE
Metrics/gd.py
Python
mit
1,445
import React, { Component } from 'react'; import Header from './Header'; import MainSection from './MainSection'; export default class App extends Component { render() { return ( <div> <Header/> <MainSection/> </div> ); } }
loggur/react-redux-provide
examples/todomvc/components/App.js
JavaScript
mit
265
import unittest from unittest import skip from decimal import Decimal from cnab240 import errors from cnab240.bancos import itau from tests.data import get_itau_data_from_file class TestRegistro(unittest.TestCase): def setUp(self): itau_data = get_itau_data_from_file() self.header_arquivo = it...
Trust-Code/python-cnab
tests/test_registro.py
Python
mit
4,409
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: An extra interface implemented by the material system // implementation of vgui::ISurface // // $Revision: $ // $NoKeywords: $ //===========================================================================// #ifndef IMATSYSTEMS...
BerntA/tfo-code
public/VGuiMatSurface/IMatSystemSurface.h
C
mit
5,197
#!/usr/bin/env python3 # # Copyright (c) 2017 Nick Douma # # 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,...
LordGaav/notification-scripts
slack.py
Python
mit
3,578
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class MultilayerGeneratorServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { // } /** * Register the applicatio...
HOuaghad/multilayering
src/providers/MultilayerGeneratorServiceProvider.php
PHP
mit
1,662
class BlogPost < ActiveRecord::Base end
heedspin/transactional-factories
test/lib/blog_post.rb
Ruby
mit
39
#region License // The MIT License (MIT) // // Copyright (c) 2016 João Simões // // 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 ri...
EULexNET/EULex.NET
src/EULex/SimpleSOAPClient/Helpers/XmlHelpers.cs
C#
mit
4,158
perl C:\DATA\Projects\SetWindows7LockScreen\setLockScreenToBing.pl
ChrisYounger/Bing-Lockscreen-Background
run.bat
Batchfile
mit
68
#region Copyright (c) 2014 Orcomp development team. // ------------------------------------------------------------------------------------------------------------------- // <copyright file="ParseException.cs" company="Orcomp development team"> // Copyright (c) 2014 Orcomp development team. All rights reserved. // <...
Orcomp/SolutionValidator
src/SolutionValidator.Core/Validator/FolderStructure/Exceptions/ParseException.cs
C#
mit
834
package com.kkk.retrofitdemo; import com.kkk.retrofitdemo.bean.Repo; import com.kkk.retrofitdemo.bean.SearchRepoResult; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; import rx.Observable; public interface GitHubService { @GET("u...
kylm53/learn-android
RetrofitDemo/src/main/java/com/kkk/retrofitdemo/GitHubService.java
Java
mit
655
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ArticleProlongImageUrl extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('articles', f...
remp2020/remp
Beam/database/migrations/2018_12_07_145030_article_prolong_image_url.php
PHP
mit
761
version https://git-lfs.github.com/spec/v1 oid sha256:641860132ccb9772e708b19feb3d59bb6291f6c40eebbfcfa0982a4e8eeda219 size 69639
yogeshsaroya/new-cdnjs
ajax/libs/holder/2.5.0/holder.js
JavaScript
mit
130
<div class="cms-control-panel" ng-show="ctrl.isAuthenticated()"> <div class="panel-button pull-right"><i class="fa fa-2x fa-cog" ng-click="ctrl.showPanel()"></i></div> <div class="panel-widget" ng-show="ctrl.panel"> <i class="fa fa-2x fa-save" ng-click="ctrl.save()" ng-hide="saved"></i> <i cla...
brugsel/angular-cms-blox
src/cms/cms-control-panel.template.html
HTML
mit
452
(function(global) { var vwl = {}; var receivePoster; var receiveEntry; var receiveLoadedList; // vwl.init - advertise VWL info and register for VWL messages // // Parameters: // left - (optional) url of this world's initial left entry image // right - (optional) url of this world's initial right entry image // ...
BigRobCoder/VirtualWorldLink
lib/vwl.js
JavaScript
mit
3,364
# -*- coding: utf-8 -*- """The initialization file for the Pywikibot framework.""" # # (C) Pywikibot team, 2008-2015 # # Distributed under the terms of the MIT license. # from __future__ import absolute_import, unicode_literals __release__ = '2.0b3' __version__ = '$Id$' __url__ = 'https://www.mediawiki.org/wiki/Speci...
icyflame/batman
pywikibot/__init__.py
Python
mit
26,823
package gui; import java.awt.Font; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.image.BufferedImage; import java.awt.Toolkit; import javax.imageio.ImageIO; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextArea; import javax.swing.SwingConstants;...
berserkingyadis/ImageDownloader
src/main/java/gui/GUI.java
Java
mit
18,735
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Slate Sample</title> <script src="https://use.fontawesome.com/3d815f531c.js"></script> </head> <body> <div id="root"></div> <script src="bin/app.bundle.js"></script> </body> </html>
marschi/slate-sample
client/index.html
HTML
mit
270
<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>...
BuzzAcademy/idioms-moe-unformatted-data
all-data/21000-21999/21469-22.html
HTML
mit
1,520
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package curveavg; /** * Small helper class for computing the circular arc between two points. * @author Sebastian Weiss */ public c...
shamanDevel/CurveAverage
src/curveavg/CircularArc.java
Java
mit
4,540
// These two object contain information about the state of Ebl var GlobalState = Base.extend({ constructor: function() { this.isAdmin = false; this.authToken = null; this.docTitle = null; this.container = null; // default config this.config = { t...
alessandrofrancesconi/ebl
ebl/core/js_src/state/state.js
JavaScript
mit
1,178
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DiveConditions.ViewModels.Manage { public class FactorViewModel { public string Purpose { get; set; } } }
DiveConditions/DiveConditions
src/DiveConditions/ViewModels/Manage/FactorViewModel.cs
C#
mit
237
using System; using System.Net.Http; using System.Threading.Tasks; using FluentAssertions; using Xunit; namespace ApplicationInsights.OwinExtensions.Tests { public class OperationIdContextTests : IDisposable { public OperationIdContextTests() { OperationIdContext.Clear(); }...
marcinbudny/applicationinsights-owinextensions
src/ApplicationInsights.OwinExtensions.Tests/OperationIdContextTests.cs
C#
mit
1,442
sprayreadings ============= scala, spray app
rohshall/sprayreadings
README.md
Markdown
mit
46
// // CRToast // Copyright (c) 2014-2015 Collin Ruffenach. All rights reserved. // #import <Foundation/Foundation.h> #import "CRToastManager.h" @import UIKit; typedef void (^CRToastImageBlock)(UIImageView*); @interface CRToastImageBlockContainer : NSObject @property (nonatomic, copy) CRToastImageBlock block; - (...
Naithar/CRToast
CRToast/CRToast.h
C
mit
19,415
// // This file genenerated by the Buckle tool on 2/13/2015 at 8:27 AM. // // Contains strongly typed wrappers for resources in VacuumResources.resx // namespace Vacuum { using System; using System.Reflection; using System.Resources; using System.Diagnostics; using System.Globalization; /// <summary> /// Strongly t...
jlyonsmith/Vacuum
VacuumLibrary/Resources/VacuumResources.cs
C#
mit
847
# test_eng.py # Copyright (c) 2013-2016 Pablo Acosta-Serafini # See LICENSE for details # pylint: disable=C0103,C0111,C0302,E0611,R0913,R0915,W0108,W0212 # Standard library imports import functools import sys import pytest from numpy import array, ndarray # Putil imports import putil.eng from putil.test import AE, AI,...
pmacosta/putil
tests/test_eng.py
Python
mit
40,156
<div class="commune_descr limited"> <p> Le&nbsp;Caire est un village géographiquement positionné dans le département de l'Alpes-de-Haute-Provence en Provence-Alpes-Côte d'Azur. Elle comptait 70 habitants en 2008.</p> <p>Le parc de logements, à Le&nbsp;Caire, se décomposait en 2011 en sept appartements e...
donaldinou/frontend
src/Viteloge/CoreBundle/Resources/descriptions/04037.html
HTML
mit
1,259
--- layout: page title: Foster Networks Trade Fair date: 2016-05-24 author: Austin Morris tags: weekly links, java status: published summary: In vitae nisl et lectus consequat tincidunt sit amet. banner: images/banner/leisure-05.jpg booking: startDate: 11/11/2016 endDate: 11/12/2016 ctyhocn: SATSGHX groupCode: ...
KlishGroup/prose-pogs
pogs/S/SATSGHX/FNTF/index.md
Markdown
mit
1,866
<?php include "config.php"; session_start(); if(!isset($_SESSION['username'])){ //header("location:login.php"); } ?> <!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html> <head> <meta...
abdiwahab-omar/team
xray_display.php
PHP
mit
9,171
require "pact_broker/api/resources/can_i_deploy_pacticipant_version_by_tag_to_tag" require "pact_broker/matrix/service" module PactBroker module Api module Resources describe CanIDeployPacticipantVersionByBranchToEnvironment do include_context "stubbed services" before do allow(P...
pact-foundation/pact_broker
spec/lib/pact_broker/api/resources/can_i_deploy_pacticipant_version_by_branch_to_environment_spec.rb
Ruby
mit
2,071
import React from 'react' import { Container, Group, TabBar, Icon, Badge, amStyles, } from 'amazeui-touch' import {Link} from 'react-router' class App extends React.Component{ propsType ={ children:React.PropTypes.node } render(){ let { location, params, ...
yiweimatou/yiweimatou-mobile
src/components/pages/app.js
JavaScript
mit
1,961
<?php $article_excerpt_categories = get_the_category(); $article_excerpt_categories_output = ""; if ( ! empty( $article_excerpt_categories ) ) { $article_excerpt_categories_output = esc_html( $article_excerpt_categories[0]->name ); } ?> <article class="su-article su-article--divider su-article--<?php echo strtolower...
shellbryson/sheru
template-parts/excerpt.php
PHP
mit
1,104
<?php namespace jeremykenedy\laravelusers; use Illuminate\Support\ServiceProvider; class LaravelUsersServiceProvider extends ServiceProvider { private $_packageTag = 'laravelusers'; /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; ...
jeremykenedy/laravel-users
src/LaravelUsersServiceProvider.php
PHP
mit
1,963
<?php namespace framework\ext; //xml解析成数组 class Xml { public static function decode($xml) { $values = array(); $index = array(); $array = array(); $parser = xml_parser_create('utf-8'); xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1); xml_parser_set_option($parser, XML_OPTION_CASE_FO...
cyrilzhao/zqzirui
framework/ext/Xml.php
PHP
mit
1,581
import com.sendgrid.Method; import com.sendgrid.Request; import com.sendgrid.Response; import com.sendgrid.SendGrid; import com.sendgrid.helpers.mail.Mail; import com.sendgrid.helpers.mail.objects.Content; import com.sendgrid.helpers.mail.objects.Email; import com.sendgrid.helpers.mail.objects.Personalization; import ...
sendgrid/sendgrid-java
examples/helpers/mail/SingleEmailMultipleRecipients.java
Java
mit
1,666
<!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...
bmateusz-inc/bombas-jatek
doxygen/html/structuivector-members.html
HTML
mit
5,067
<?php namespace BlogBundle\Document; use Doctrine\ODM\MongoDB\DocumentRepository; class TagRepository extends DocumentRepository { public function getTagByName($name = '') { $query = $this->createQueryBuilder() ->field('name')->equals($name); return $query->getQuery()->getSingleR...
haltaction/blog
src/BlogBundle/Document/TagRepository.php
PHP
mit
505
require "faraday" require "faraday_middleware" require "sqoot/version" require "sqoot/client" directory = File.expand_path(File.dirname(__FILE__)) module Sqoot class << self attr_accessor :affiliate_token, :authentication_token, :api_url, :api_version # Configure default credentials easily # # @yi...
causemetric/sqoot
lib/sqoot.rb
Ruby
mit
525
<?php /** * Phinx * * (The MIT license) * Copyright (c) 2014 Rob Morgan * * 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 * ri...
rsdevigo/phinx
src/Phinx/Db/Table.php
PHP
mit
15,419
<?php namespace Forge\Log; /** * Log_File * File log writer. Writes out messages and stores them in a YYYY/MM directory. * * @package SuperFan * @category Log * @author Zach Jenkins <zach@superfanu.com> * @copyright (c) 2017 SuperFan, Inc. */ class File extends Writer { // Directory to place log ...
forgephp/core
classes/Log/File.php
PHP
mit
2,101
# The set of languages for which implicit dependencies are needed: set(CMAKE_DEPENDS_LANGUAGES "CXX" ) # The set of files for implicit dependencies of each language: set(CMAKE_DEPENDS_CHECK_CXX "/home/sriramana/argos3-examples/controllers/footbot_synchronization/footbot_synchronization.cpp" "/home/sriramana/argos...
ssriramana93/EnvClassify
build/controllers/footbot_synchronization/CMakeFiles/footbot_synchronization.dir/DependInfo.cmake
CMake
mit
1,476
<!DOCTYPE html> <html lang="en"> <head> <!-- Basic Page Needs –––––––––––––––––––––––––––––––––––––––––––––––––– --> <meta charset="utf-8"> <title>Kemble Song - an index</title> <meta name="description" content="Index page for Kemble Song's corner of the internet."> <meta name="author" content="Kemble Song...
kemblesong/kemblesong.github.io
index.html
HTML
mit
3,190
require_relative "helper" class HooksTest < MiniTest::Unit::TestCase def setup @hooked_class = Class.new do class << self attr_accessor :existing_method_added_called def method_added(method) @existing_method_added_called = true end end include Harbor::Hooks ...
sam/harbor
test/hooks_test.rb
Ruby
mit
7,919
/* * @file sample.c * @author Akagi201 * @date 2014/12/06 */ #include <stdio.h> #include "bytes2str.h"" int main(void) { char in[] = {0xC8, 0x32, 0x9B, 0xFD, 0x0E, 0x01}; char out[32] = {0}; int olen = sizeof(out); bytes2str(in, 6, out, &olen); printf("out: %s, olen: %d\n", out, olen); ...
Akagi201/bytes2str
sample.c
C
mit
332
/* * unstrap v1.1.3 * https://unstrap.org * 2015-2020 * MIT license */ const version = '1.1.3', collection = {}; function extendUnstrap (v) { var list; if (!collection[v].selectors) { collection[v].selectors = ['.' + collection[v].name]; } collection[v].selectors.forEach(function (sel) { ...
unstrap/unstrap
unstrap.js
JavaScript
mit
1,620
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @class NSArray; @protocol DVTLineGraphLayerDataSource <NSObject> - (NSArray *)lineDataForBounds:(struct _DVTGraphBounds)arg1; @end
wczekalski/Distraction-Free-Xcode-plugin
Archived/v1/WCDistractionFreeXcodePlugin/Headers/SharedFrameworks/DVTKit/DVTLineGraphLayerDataSource-Protocol.h
C
mit
294
<div class="modal-header"> <button type="button" class="close" ng-click="closeDialog()" aria-hidden="true">&times;</button> <h4 class="modal-title">Widget hinzufügen</h4> </div> <div class="modal-body" class="row"> <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> <div ...
Traperto/angular-dashboard-framework
src/templates/widget-add.html
HTML
mit
1,595
<?php /* PgGsbFraisBundle::accueilCompta.html.twig */ class __TwigTemplate_6194dcf338f5cd969f229bda597abec8b69c1f8371639ebcadc7c86b484b4c01 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("PgGsbFra...
FCalligaris/GSB
app/cache/dev/twig/61/94/dcf338f5cd969f229bda597abec8b69c1f8371639ebcadc7c86b484b4c01.php
PHP
mit
4,000
'use strict'; const toBytes = s => [...s].map(c => c.charCodeAt(0)); const xpiZipFilename = toBytes('META-INF/mozilla.rsa'); const oxmlContentTypes = toBytes('[Content_Types].xml'); const oxmlRels = toBytes('_rels/.rels'); const fileType = input => { const buf = input instanceof Uint8Array ? input : new Uint8Array(in...
jmhmd/dat-lambda
client/lib/file-type.js
JavaScript
mit
15,936