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
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using Syst...
Hunv/beRemote
GUI/v2/beRemote.GUI/Tabs/ManageCredential/TabManageCredential.xaml.cs
C#
mit
9,045
function animate() { tail = tabCube.pop(); tail.position.x = tabCube[0].position.x; tail.position.y = tabCube[0].position.y; tail.position.z = tabCube[0].position.z; if(direction[0] == 1) { if(tabCube[0].position.x == (largeur*9)) { tail.position.x = -(largeur*10); } else { tail.position.x += lar...
MajdiH/Academic
Projects/3DSnakeGame/public_html/assets/scripts/snake.js
JavaScript
mit
3,683
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("CompleteSample.ConsoleHost")] [assembly: ...
fvilers/OWIN-Katana
CompleteSample/CompleteSample.ConsoleHost/Properties/AssemblyInfo.cs
C#
mit
1,403
:- module(util, [ new_database/0, set_default_username/1, % +Username set_no_auth/0, default_user_id/1, % -Id request_get/2, % +Path, -Dict request_put/3, % +Path, +DictIn, -DictOut request_del/2, % +Path, -Dict request_post/3, % +Path, +DictIn, -D...
kalatestimine/blog-core
tests/util/util.pl
Perl
mit
3,341
<?php namespace OG\Account\Test\Domain\Identity\Model; use OG\Account\Domain\Identity\Model\ReminderCode; class ReminderCodeTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function it_should_generate_new_codes() { $code = ReminderCode::generate(); $this->assert...
olsthoorn-group/account-domain
tests/Identity/Model/ReminderCodeTest.php
PHP
mit
3,160
#include <iostream> #include <unordered_map> using namespace std; class Solution { public: int countPrimes(int n) { int *m = new int[n]; for(int i = 0; i < n; i++) m[i] = 0; int res = 0; int i = 2; while(1) { for(; m[i] == 1 && i < n; i++); cout<<i<<...
Crayzero/LeetCodeProgramming
Solutions/Count Primes/main.cpp
C++
mit
602
package simulation.eventing; import java.util.Observable; import java.util.Observer; import javax.swing.JFrame; import javax.swing.JTextArea; import controlLayer.eventing.AsynchronousEventReceiver; import controlLayer.eventing.Event; /** * a very simple GUI to receive events. you can specify two arguments on the ...
andreaskami/homeweb
framework_code/src/simulation/eventing/ListenForEvents.java
Java
mit
2,524
// -------------------- // toposort extended // Tests // -------------------- // modules var chai = require('chai'), expect = chai.expect, toposort = require('../lib/'); // init chai.config.includeStack = true; // tests /* jshint expr: true */ /* global describe, it */ describe('toposort', function() { it('sort...
overlookmotel/toposort-extended
test/all.test.js
JavaScript
mit
1,939
<ul class="breadcrumb"> <li><a href="#">Front End Template</a></li> <li class="active">Home</li> </ul>
Ali-Baba-Tajine/Ali-Baba-Tajine-Jekyll01
_includes/abtbreadcrumb.html
HTML
mit
105
namespace UCloudSDK.Models { /// <summary> /// 获取防火墙组所绑定资源的外网IP /// <para> /// http://docs.ucloud.cn/api/unet/describe_security_group_resource.html /// </para> /// </summary> public partial class DescribeSecurityGroupResourceRequest { /// <summary> /// 默认Actio...
icyflash/ucloud-csharp-sdk
UCloudSDK/Models/UNet/DescribeSecurityGroupResourceRequest.cs
C#
mit
1,503
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Glimpse.Unity.Sample.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult Abo...
dchaib/Glimpse.Unity
sample/Glimpse.Unity.Sample/Controllers/HomeController.cs
C#
mit
589
<?php namespace Worldopole; class QueryManagerMysqlMonocleAlternate extends QueryManagerMysql { public function __construct() { parent::__construct(); } public function __destruct() { parent::__destruct(); } /////////// // Tester /////////// public function t...
brusselopole/Worldopole
core/process/queries/QueryManagerMysqlMonocleAlternate.php
PHP
mit
28,852
import Device from '@/interfaces/Device'; import mongoose from 'mongoose'; const device: Device = { platform: 'testplatform', userId: mongoose.Types.ObjectId('4ede40c86362e0fb12000003'), tokens: ['nyht4ca81bGam26a'], service: 'firebase', }; export default device;
schulcloud/node-notification-service
test/data/device.ts
TypeScript
mit
270
/* * Open Surge Engine * loop.h - loop system * Copyright (C) 2011 Alexandre Martins <alemartf(at)gmail(dot)com> * http://opensnc.sourceforge.net * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
asirnayeef23/opensurge
src/entities/items/loop.h
C
mit
1,017
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DaownaMp3Library { //for managing selections and shared playlists/tracks public class Jukebox { private int _userId; private List<int> _publicPlaylistIds; p...
LimeyJohnson/DaownaMusic
DaownaMp3/DaownaMp3Library/Jukebox.cs
C#
mit
2,845
require 'rails_helper' RSpec.describe Order::Written::EventsService do # shared_examples 'receive email' do # it 'email should be sent' do # subject # expect(ActionMailer::Base.deliveries.count).to eq(2) # end # end let(:event_service) {Order::Written::EventsService.new order} # let(:ch_...
max-konin/yufu_core
spec/services/order/written/events_service_spec.rb
Ruby
mit
5,463
<!DOCTYPE html> <html> <head> <title>Doge Social Network</title> </head> <body style="background-color: skyblue"> <p style="font-size:30px; font-weight:bold">Doge Social Network</p> <ul type="disc"> <li><a href="home.html"> Home</a></li> <li><a href="profile.html">Profile</a></li> <li><a href="friends.html">Frie...
fr0wsTyl/TelerikAcademy-2015
Telerik - HTML/Homework evaluation/01. 1/Problem 3/friends.html
HTML
mit
596
/* * SonarScanner for .NET * Copyright (C) 2016-2022 SonarSource SA * mailto: info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of ...
SonarSource-DotNet/sonar-msbuild-runner
Tests/SonarScanner.MSBuild.Tasks.IntegrationTest/TargetsTests/ImportBeforeTargetsTests.cs
C#
mit
8,911
require 'spec_helper' describe 'The version constants' do describe 'VERSION_MAJOR' do let(:version_major) { GMT::VERSION_MAJOR } it 'is an integer' do expect(version_major).to be_an Integer end it 'is non-negative' do expect(version_major).to be >= 0 end end describe 'VERSION_...
jjgreen/ruby-gmt
spec/version_spec.rb
Ruby
mit
2,698
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; public class GroupCreationTest extends TestBase { @Test public void testGroupCreation() { app.gotoGroupPage(); app.initGroupCreation(); app.fillGroupForm(new G...
vakulayo/java_pft
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupCreationTest.java
Java
mit
435
<section data-ng-controller="CategoriesController"> <div class="container"> <div class="row"> <div class="col-md-4"></div> <div class="col-md-4"> <div class="form-group"> <div class="input-group"> <span class="input-group-addon" id="basic-addon1"> <span class="glyphicon glyphicon-search"...
Highgalaxy3r1/metroApp
public/modules/categories/views/categories.client.view.html
HTML
mit
2,771
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Text.RegularExpressions; using System.Web.Http; namespace Cleangorod.Web { public class Fil...
rgripper/cg-routes
Cleangorod/Cleangorod.Web/FileActionResult.cs
C#
mit
1,573
import { CSSProperties } from "react" export let ulStyles: CSSProperties = { display: "flex", listStyle: "none" } export let liStyles: CSSProperties = { padding: "0 10px" } export let activeLinkStyle: CSSProperties = { fontWeight: "bold", textDecoration: "none" }
aalpgiray/react-hot-boilerplate-ts
src/components/navigator/style.tsx
TypeScript
mit
290
using System; using System.Collections.Generic; using System.ComponentModel; using System.Net.Http.Headers; namespace AzureLens.Areas.HelpPage { /// <summary> /// This is used to identify the place where the sample should be applied. /// </summary> public class HelpPageSampleKey { ...
MicrosoftDX/AzureLens
AzureLens/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
C#
mit
6,645
--- layout: attachment title: Is Everything Black and White? categories: [] tags: [] status: inherit type: attachment published: false meta: _wp_attached_file: 2009/11/Goldberg_Invitation05.pdf _wp_attachment_metadata: a:0:{} ---
nu-lts/jekyll-snippets
_attachments/2009-11-10-goldberg_invitation05.html
HTML
mit
235
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>callbacks.empty() | jQuery API 中文手册</title> <meta name="author" content="jQuery 中文手册 - hemin.cn/jq/"> <meta name="description" content="jQuery中文手册(在线版),作者:hemin,在线手册:hemin.cn/jq/,下载:hemin.cn/jq/downloads/"> <link type="text/css" rel="stylesheet" href="style/...
pandoraui/jquery-chm
callbacks.empty.html
HTML
mit
2,237
package hipchat import ( "bytes" "encoding/json" "errors" "fmt" "io" "io/ioutil" "log" "net/http" "net/url" "path" "sync/atomic" "github.com/influxdata/kapacitor" ) type Service struct { configValue atomic.Value logger *log.Logger } func NewService(c Config, l *log.Logger) *Service { s := &Servi...
titilambert/kapacitor
services/hipchat/service.go
GO
mit
3,425
HTPC Manager [![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=info@styxit.com&lc=US&item_name=HTPC-Manager&item_number=htpc-manager-donation&no_note=0&currency_code=USD&bn=PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest) ===== A pyth...
styxit/HTPC-Manager
README.md
Markdown
mit
713
require 'active_support/core_ext/string/filters' class CodeTerminator::Html def initialize(args = {}) @code = args[:code] @source = args[:source] @tags = Array.new @elements = Array.new args[:source_type] ||= "file" @source_type = args[:source_type] end # Get html elements of a htm...
eponce19/CodeTerminator
lib/code_terminator/html.rb
Ruby
mit
13,022
// +build functional package cri_containerd import ( "context" "fmt" "io/ioutil" "os" "path/filepath" "strings" "testing" "time" runtime "k8s.io/cri-api/pkg/apis/runtime/v1alpha2" ) // This test requires compiling a helper logging binary which can be found // at test/cri-containerd/helpers/log.go. Copy log...
Microsoft/hcsshim
test/cri-containerd/logging_binary_test.go
GO
mit
5,493
import 'bootstrap'; import '../../src/scss/index.scss'; import profile from '../../src/img/portrait-medium.jpg'; const img = document.getElementById('profile'); if (img) { img.src = profile; }
quantumtom/marcflennert
src/js/index.js
JavaScript
mit
199
--- title: Deer is_name: false --- Deer Park Mine
stokeclimsland/stokeclimsland
_cards/DEER.md
Markdown
mit
55
FROM laincloud/centos-lain RUN mkdir -p $GOPATH/src/github.com/laincloud ADD . $GOPATH/src/github.com/laincloud/deployd RUN cd $GOPATH/src/github.com/laincloud/deployd && go build -v -a -tags netgo -installsuffix netgo -o deployd RUN mv $GOPATH/src/github.com/laincloud/deployd/deployd /usr/bin/
laincloud/deployd
Dockerfile
Dockerfile
mit
320
<div> <h3>{{$ctrl.firstname}} {{$ctrl.lastname}}</h3> <p>Position: {{$ctrl.jobtitle}}</p> <p>Email: {{$ctrl.email}}</p> </div>
michaeldperez/teambuilder
client/components/member/member.html
HTML
mit
132
require 'rack-rescue' require 'wrapt' Pancake.before_build do unless Pancake::StackMiddleware[:rescue] || Pancake::StackMiddleware[Rack::Rescue] Pancake.stack(:rescue).use(Rack::Rescue) end unless Pancake::StackMiddleware[:layout] || Pancake::StackMiddleware[Wrapt] Pancake.stack(:layout).use(Wrapt) do |...
hassox/short_stack
lib/short_stack/middleware.rb
Ruby
mit
364
<?php /** * ServieContainer.php * restfully * Date: 17.09.17 */ namespace AppBundle\Infrastructure; use Components\Infrastructure\IContainer; use Symfony\Component\DependencyInjection\ContainerInterface; class ServiceContainer implements IContainer { /** * @var ContainerInterface */ protected...
avanzu/audiorama
src/AppBundle/Infrastructure/ServiceContainer.php
PHP
mit
851
namespace Contacts.WebUi.Models { public class Settings : ISettings { public string ApiRootUri { get; set; } public string ApiScopeUri { get; set; } public string AppInsightsKey { get; set; } public string ContactBlobStorageAccount { get; set; } public string ContactBlobS...
jguadagno/Contacts
src/Contacts.WebUi/Models/Settings.cs
C#
mit
809
import React, { Component, View, StyleSheet, Text, TouchableHighlight, PropTypes, NativeModules, DeviceEventEmitter } from 'react-native'; import { login, logout, getCredentials, liEvents} from './util'; import styles from './theme/style'; const Icon = require('react-native-vector-icons/FontAwesome'); ...
yanivkalfa/react-native-linkedin-login-mock
src/index.ios.js
JavaScript
mit
4,162
title: 分类 date: 2016-04-25 23:42:51 type: "categories" comments: false ---
zhaochunqi/zhaochunqi.github.io
source/categories/index.md
Markdown
mit
79
package uk.co.terminological.parser; import static org.junit.Assert.*; import java.util.Date; import org.junit.After; import org.junit.Before; import org.junit.Test; import uk.co.terminological.mappers.StringCaster; public class StringCasterTest { @Before public void setUp() throws Exception { } @After publ...
terminological/exotic-datatypes
src/test/java/uk/co/terminological/parser/StringCasterTest.java
Java
mit
804
<!doctype html> <html class="theme-next pisces use-motion"> <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <meta http-equiv="Cache-Control" content="no-transform" /> <meta...
wudaown/wudaown.github.io
categories/服务器/page/2/index.html
HTML
mit
10,893
<?php /** * template for sidebar * @link https://codex.wordpress.org/Template_Hierarchy */ ?>
tajidyakub/wpthemes-skeleton
src/sidebar.php
PHP
mit
96
# Uses git's autocompletion for inner commands. Assumes an install of git's # bash `git-completion` script at $completion below completion='$(brew --prefix)/share/zsh/site-functions/_git' if test -f $completion then source $completion fi
kfaustino/dotfiles
git/completion.zsh
Shell
mit
241
using System; using System.Security; using Engine.Model.Client; using Engine.Model.Common.Entities; using ThirtyNineEighty.BinarySerializer; namespace Engine.Api.Client.Voice { [SecurityCritical] class ClientPlayVoiceCommand : ClientCommand<ClientPlayVoiceCommand.MessageContent> { public static long Com...
Nirklav/TCPChat
Engine/Api/Client/Voice/ClientPlayVoiceCommand.cs
C#
mit
1,137
# dps-oauth-login Javascript library for logging into DPS apps using OAuth authentication with 6D's Entitlement Server. After setting up a 3rd party authentication method for your app at http://entitlement-server.6dglobalcloud.com, use this javascript class with a custom DPS library to enable seamless OAuth logins in ...
SixDimensions/dps-oauth-login
README.md
Markdown
mit
1,801
<div class="page-header"> <h1>Apply to be a listed Consultant</h1> </div> <p>The ownCloud community <a href="/consulting">offers a list of parties providing services to ownCoud users</a>. No endorsement is implied by these listings. If you would like to have your organization added to this page, please follow these...
lefherz/owncloud.org
page-apply2.php
PHP
mit
3,075
require_relative '../../../../spec_helper' describe 'statsd', :type => :class do context "graphite_hostname => graphite.example.com" do let(:params) {{ :graphite_hostname => 'graphite.example.com', }} it { is_expected.to contain_package('statsd') } it { is_expected.to contain_service('statsd')...
alphagov/govuk-puppet
modules/statsd/spec/classes/statsd_spec.rb
Ruby
mit
453
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fcsl-pcm: 2 m 22 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.12.0/fcsl-pcm/1.3.0.html
HTML
mit
12,835
<?php namespace ZfrMail\Exception; /** * @author Michaël Gallego */ interface ExceptionInterface { }
zf-fr/zfr-mail
src/Exception/ExceptionInterface.php
PHP
mit
106
#![feature(core_intrinsics)] #![feature(generators, generator_trait)] pub mod structs; pub mod traits; pub mod operators; pub mod closures; pub mod iterators; pub mod algorithms; pub mod utils; pub mod strings; pub mod IO; pub mod concurrency; pub mod low_level; pub mod macros; pub mod unsafes; pub mod ffi;
rockdragon/julia-programming
code/rust/data-struct/src/lib.rs
Rust
mit
309
# poo-java projetos em java
lucassbarcelos/poo-java
README.md
Markdown
mit
28
# input lib from pygame.locals import * import pygame, string class ConfigError(KeyError): pass class Config: """ A utility for configuration """ def __init__(self, options, *look_for): assertions = [] for key in look_for: if key[0] in options.keys(): exec('self.'+key[0]...
antismap/MICshooter
sources/lib/eztext.py
Python
mit
11,212
(function(){ 'use strict'; angular .module('chat', []) .controller('ChatCtrl', ['$rootScope', '$scope', 'restFulService', 'restFulSocketService', '$sailsSocket', function($rootScope, $scope, restFulService, restFulSocketService, $sailsSocket){ $scope.chats = []; $scope.contacts = []; $scope.chat ...
modulr/modulr
app/app/modules/chat/chat.controller.js
JavaScript
mit
7,637
(function(){ 'use strict'; angular .module('users') .controller('EmailChangeCtrl', ['$rootScope', '$scope', '$state', '$location', '$translate', 'restFulService', 'config', 'errorService', function($rootScope, $scope, $state, $location, $translate, restFulService, config, errorService){ $scope.show = { ...
modulr/modulr
app/app/modules/profile/emailChange.controller.js
JavaScript
mit
940
// // TNTHttpConnection+SyntaticSugar.h // NitroConnection // // Created by Daniel L. Alves on 05/08/14. // Copyright (c) 2014 Daniel L. Alves. All rights reserved. // #import "TNTHttpConnection.h" // NitroConnection #import "TNTHttpMethods.h" @interface TNTHttpConnection( SyntaticSugar ) /** * @name HTTP G...
danielalves/NitroConnection
NitroConnection/NitroConnection/TNTHttpConnection+SyntaticSugar.h
C
mit
122,437
# pivotal_lab pivotal lab from the company.
chrisfauerbach/pivotal_lab
README.md
Markdown
mit
45
--- # DO NOT EDIT! # This file is automatically generated by get-members. If you change it, bad # things will happen. layout: default title: "Lord Teverson" house: lords --- <div class="row"> <div class="col-md-8"> {% include members/lord-teverson.html %} <h3>What is Lord Teverson interested i...
JeniT/childs-guide-to-parliament
members/lord-teverson.html
HTML
mit
944
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "UIView.h" #import "MPVolumeControllerDelegate-Protocol.h" @class MPVolumeController, NSTimer, UISlider; @interface MPUMediaControlsVolumeView : UIView <MPVolumeContro...
matthewsot/CocoaSharp
Headers/PrivateFrameworks/MediaPlayerUI/MPUMediaControlsVolumeView.h
C
mit
1,837
export interface Gist { url: string; forks_url: string; commits_url: string; id: string; node_id: string; git_pull_url: string; git_push_url: string; html_url: string; files: any; public: boolean; created_at: Date; updated_at: Date; description: string; comments: ...
atangeman/portfolio-angular
src/app/gists/gist.model.ts
TypeScript
mit
875
<div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES * * */ var disqus_shortname = 'gjdanis'; /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; d...
gjdanis/gjdanis.github.io
_includes/comments.html
HTML
mit
659
<?php $title = get_sub_field('title'); global $b; $id = $b - 1; $image = get_sub_field('image'); $size = 'large'; $image_url = $image['sizes'][ $size ]; $type = get_sub_field('type'); $conditions = get_sub_field('conditions'); $crowd = get_sub_field('crowd'); $info = get_sub_field('info'); $post_object = get_sub_fie...
broezer/olaonda
templates/parts/spot.php
PHP
mit
1,374
// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/v8.h" #include "src/accessors.h" #include "src/api.h" #include "src/base/platform/platform.h" #include "src/bootstrapper.h" #include "src...
aspectron/jsx
extern/v8/src/serialize.cc
C++
mit
77,251
<?php namespace SturentsLib\Api\Requests; use SturentsLib\Api\Models\SwaggerModel; /** * Update a contract on a property */ class PatchContract extends SwaggerRequest { const URI = '/api/contract'; const METHOD = 'PATCH'; /** * The property ID provided by the initial creation * or a GET /properties request ...
sturents/api-php
src/Requests/PatchContract.php
PHP
mit
1,366
package geoip_test import ( "net" "testing" "github.com/sevein/nfdmp2rds/geoip" ) func TestLookup(t *testing.T) { var tests = []struct { input string expec string }{ {"142.58.103.21", "CA"}, {"217.12.24.33", "ES"}, } for _, tt := range tests { ip := net.ParseIP(tt.input) r, err := geoip.Geo(ip) ...
sevein/nfdmp2rds
geoip/geoip_test.go
GO
mit
485
<?php /** * SocialPlus - A light and agile social network * * @author Paras Dahal <shree5paras@gmail.com> * @copyright 2015 Paras Dahal * @link http://www.github.com/parasdahal/socialplus * @license MIT licence * @version 1.0 * @package socialplus * * MIT LICENSE * * Permission is ...
parasdahal/reactive
core/Posts.php
PHP
mit
5,196
using System; using System.Collections.Generic; using System.Net.Sockets; using System.Text; namespace PointAndControl.Devices { /// <summary> /// This class specializes the device class to the class LCDTV /// It contains all information as well as functions available for a LCDTV. //...
teco-kit/PointAndControl
IGS/Devices/NECLCDmonitorMultiSyncV421.cs
C#
mit
6,942
package org.scalajs.openui5.sap.m import scala.scalajs.js import scala.scalajs.js.annotation.JSName /** The [[ActionListItem]] can be used like a button to fire actions when * pressed. * * @note The inherited selected property of the [[ListItemBase]] is not * supported. */ @JSName("sap.m.ActionListIte...
lastsys/scalajs-openui5
src/main/scala/org/scalajs/openui5/sap/m/ActionListItem.scala
Scala
mit
463
package API.amazon.mws.feeds.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex typ...
VDuda/SyncRunner-Pub
src/API/amazon/mws/feeds/model/RequestReportResponse.java
Java
mit
8,423
<?php $user = $_POST['b']; if(!empty($user)) { comprobar($user); } function comprobar($b) { $con = new mysqli("localhost", "comercl4_admin", "constantinopla2301", "comercl4_helpdesk"); $sql = mysqli_query($con, "SELECT * FRO...
elafrikano/HelpDesk
scripts/scriptAutoRefresh.php
PHP
mit
643
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
Tanjoodo/autoproxy
AutoProxy/Properties/Settings.Designer.cs
C#
mit
1,683
package hk.ust.gmission; import android.accounts.AccountsException; import android.app.Activity; import java.io.IOException; import hk.ust.gmission.services.BootstrapService; import retrofit.RestAdapter; /** * Provider for a {@link BootstrapService} instance */ public class BootstrapServiceProvider { privat...
gmission/gmission_reborn_android
gmission/src/main/java/hk/ust/gmission/BootstrapServiceProvider.java
Java
mit
915
<?php /* Safe sample input : get the field UserData from the variable $_POST sanitize : use of the function addslashes construction : interpretation with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute...
stivalet/PHP-Vulnerability-test-suite
Injection/CWE_89/safe/CWE_89__POST__func_addslashes__join-interpretation_simple_quote.php
PHP
mit
1,611
Grapnel ========== #### The first (started in 2010!) Client/Server-Side JavaScript Router with Named Parameters, HTML5 pushState, and Middleware support. ## Download/Installation **Download Source:** - [Production](https://raw.githubusercontent.com/baseprime/grapnel/master/dist/grapnel.min.js) - [Development](https...
bytecipher/grapnel
README.md
Markdown
mit
10,042
import Vue from 'vue' import * as types from './mutation-types' export default { [types.PUT] (state, { key, value }) { Vue.set(state, key, value) }, [types.REMOVE] (state, { key }) { Vue.delete(state, key) }, [types.SYNC] (state, { records }) { // Delete existing keys - Cognito datastore is the...
LightmakerCanada/vuex-cognito-sync
src/mutations.js
JavaScript
mit
574
/* * Generated by class-dump 3.3.3 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard. */ #import "Assistant.h" @class ActivityMonitor, NSButton, NSProgressIndicator, NSTextField, NSTimer, NSView; @interface LibraryImportAssistant : Assistant { NSView *_introVie...
w-i-n-s/SimplePlugin
MailHeaders/Lion/Mail/LibraryImportAssistant.h
C
mit
1,331
<?php /* Unsafe sample input : get the field userData from the variable $_GET via an object, which store it in a array Uses a full_special_chars_filter via filter_var function construction : use of sprintf via a %s with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without writt...
stivalet/PHP-Vulnerability-test-suite
Injection/CWE_78/unsafe/CWE_78__object-indexArray__func_FILTER-CLEANING-full_special_chars_filter__ls-sprintf_%s_simple_quote.php
PHP
mit
1,669
 using Xamarin.Forms; namespace AppShell.Mobile.Views { [ContentProperty("ShellContent")] public partial class ShellView : ContentView { public static readonly BindableProperty ShellContentProperty = BindableProperty.Create("ShellContent", typeof(View), typeof(ShellView), null, propertyChanged: Sh...
cschwarz/AppShell
src/AppShell.Mobile/Views/ShellView.xaml.cs
C#
mit
1,784
# -*- coding:utf-8 -*- from setuptools import setup setup( name = "mobileclick", description = "mobileclick provides baseline methods and utility scripts for the NTCIR-12 MobileClick-2 task", author = "Makoto P. Kato", author_email = "kato@dl.kuis.kyoto-u.ac.jp", license = "MIT Lice...
mpkato/mobileclick
setup.py
Python
mit
1,565
'use strict'; describe('Service: scenarioFactory', function () { // load the service's module beforeEach(module('testerApp')); // instantiate service var scenarioFactory; beforeEach(inject(function (_scenarioFactory_) { scenarioFactory = _scenarioFactory_; })); it('should do something', function (...
dmzubr/testing-store
test/spec/services/scenariofactory.js
JavaScript
mit
377
<?php namespace ORMiny; use DBTiny\Driver\Statement; use Traversable; /** * Class StatementIterator * * @package ORMiny */ class StatementIterator implements \IteratorAggregate { private $statement; private $pkField; private $offset = 0; private $limit = PHP_INT_MAX; public function __cons...
bugadani/ORMiny
src/StatementIterator.php
PHP
mit
1,997
<!doctype html> <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html...
FleetDemo/demo
patient-search.html
HTML
mit
7,874
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("Cer...
kylebjones/CertiPay.Services.PDF
CertiPay.Services.PDF/Properties/AssemblyInfo.cs
C#
mit
1,410
const _ = require('lodash'); module.exports = () => (hook) => { const sequelize = hook.app.get('sequelize'); const eventId = hook.result.id; const quotasToAdd = hook.data.quota.map(quota => _.merge(quota, { eventId })); const quotaModel = hook.app.get('models').quota; return sequelize.transaction(t => { ...
athenekilta/ilmomasiina
server/services/admin/events/hooks/updateQuotas.js
JavaScript
mit
1,143
<head> %include templates/parts/head.html <script type="text/x-mathjax-config"> MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); </script> <script src="http://cdnjs.cloudflare.com/ajax/libs/mathjs/3.1.0/math.min.js"></script> <script src='https://cdn.mathjax.org/mathjax/latest/MathJax.j...
chrispiech/cs109-2017-spr
templates/titanic.html
HTML
mit
5,079
''' charlie.py ---class for controlling charlieplexed SparkFun 8x7 LED Array with the Raspberry Pi Relies upon RPi.GPIO written by Ben Croston The MIT License (MIT) Copyright (c) 2016 Amanda Cole Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
mandyRae/pythonic-charlieplex
charlie.py
Python
mit
5,714
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3082 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
graphnode/imgtagger
AutoUpdater/Example/Properties/Resources.Designer.cs
C#
mit
2,772
package com.github.lg198.codefray.util; public class TimeFormatter { public static String format(long seconds) { if (seconds < 60) { return pluralSeconds(seconds); } int minutes = (int) (seconds / 60.0); return pluralMinutes(minutes) + " and " + pluralSeconds(seconds % ...
lg198/CodeFray
src/com/github/lg198/codefray/util/TimeFormatter.java
Java
mit
639
package org.webjars.urlprotocols; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.URI; import java.net.URL; import java.util.HashSet; import java.util.Set; import java.util.jar.JarEntry; import java.util.jar.JarFile; import java.util.jar.JarInputStream; import java.util...
mwanji/webjars-locator-core
src/main/java/org/webjars/urlprotocols/JarUrlProtocolHandler.java
Java
mit
2,152
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => env('DB_DSN', 'mysql:host=localhost;dbname=dbmain'), 'username' => env('DB_USERNAME', 'root'), 'password' => env('DB_PASSWORD', ''), 'charset' => 'utf8', ];
ertrade/yii2-app-basic
app/config/db.php
PHP
mit
234
@section('main') @include('hack::input.edit.'.$type['type']) @parent @stop
Thorazine/hack
src/resources/views/cms/positions/edit/main.blade.php
PHP
mit
76
module Perican module Resource class Document < Base def initialize(document) @document = document end def uid @document[:inode] end def date @document[:atime] end def summary @document[:path] end def description nil...
nomlab/perican
lib/perican/resource/document.rb
Ruby
mit
534
<?php namespace App\ContactBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Contact * * @ORM\Table() * @ORM\Entity(repositoryClass="App\ContactBundle\Entity\ContactRepository") */ class Contact { public function __construct(){ $this->created_at = new \Datetime(); } /** * @var inte...
KhalidSookia/kns
src/App/ContactBundle/Entity/Contact.php
PHP
mit
3,327
'use strict'; /** * @ngdoc function * @name teamDjApp.controller:AboutCtrl * @description * # AboutCtrl * Controller of the teamDjApp */ angular.module('teamDjApp') .controller('AboutCtrl', function ($rootScope) { $rootScope.activetab = 'about'; });
thenarruc/team-dj
app/scripts/controllers/about.js
JavaScript
mit
264
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInitb7d78871a17da8cabc66e42282b3b1ac::getLoader();
ArcherSys/ArcherSys
webmail/vendor/autoload.php
PHP
mit
178
namespace _07.Equality_Logic.Interfaces { public interface IPerson { string Name { get; } int Age { get; } } }
HristoSpasov/C-Sharp-Advanced
06. Exercise Iterators and Comparators/07. Equality Logic/Interfaces/IPerson.cs
C#
mit
142
module("Unit - Party",{ setup: function(){ var mod = this; Ember.run(this,function(){ var appController = App.__container__.lookup("controller:application") ; mod.appC = appController ; mod.store = appController.store ; resetTests(mod.store).then(function(){ mod.baseParty = mod...
benwilhelm/tbt-client
app/tests/unit/party.js
JavaScript
mit
5,035
#include <boost/test/unit_test.hpp> #include "types/ds/hash_functions.hpp" #include <limits> #include <iostream> BOOST_AUTO_TEST_SUITE(TestHashFunctions) BOOST_AUTO_TEST_CASE(hash_division_method_m_is_power_of_2) { const size_t num_of_buckets = 16; Types::DS::HashModulo hash_func(num_of_bucket...
iamantony/CppNotes
test/types/ds/test_hash_functions.cpp
C++
mit
5,680
using System; namespace _02CirclePerimeter { class Program { static void Main() { double radius = double.Parse(Console.ReadLine()); Console.WriteLine("{0:f12}", 2 * Math.PI * radius); } } }
Avarea/Programming-Fundamentals
IntegerAndRealNumbers/02CirclePerimeter/Program.cs
C#
mit
255
--- layout: post title: "Wagrant という Web 系の勉強会用の Vagrant 環境を作りました。" date: 2016-12-19 author: "Takayuki Miyauchi" header-img: "img/2016-12-19-wagrant.png" --- Wacker では言語や技術を問わず、毎回いろいろなジャンルの勉強会を行っていますが、開発環境の構築に費やす時間がどうしてもそれなりに発生してしまうので、WEB 系の勉強会を想定した汎用的な Vagrant 環境をつくりました。 [https://github.com/wakaya...
wakayama-hacker/wacker.io
_posts/2016-12-19-we-released-wagrant.md
Markdown
mit
2,187
// <copyright file="SingleObservableIntegration.cs" company="Kyubisation"> // Copyright (c) Kyubisation. All rights reserved. // </copyright> // ReSharper disable once CheckNamespace namespace FluentRestBuilder { using Microsoft.AspNetCore.Mvc; public static class SingleObservableIntegration { //...
kyubisation/FluentRestBuilder
src/FluentRestBuilder/Observables/SingleObservableIntegration.cs
C#
mit
1,002