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.Text; using System.Web; using System.Web.Http.Description; namespace ProCultura.Web.Api.Areas.HelpPage { public static class ApiDescriptionExtensions { /// <summary> /// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name" inste...
jcespinoza/ProCulturaBackend
ProCultura.Web.Api/Areas/HelpPage/ApiDescriptionExtensions.cs
C#
mit
1,490
<!-- Begin .header --> <header role="banner" class="site-header--light"> <div class="container"> <div class="site-logo"> <a class="logo" href="/"><img src="../../images/ncc-logo.png" class="no-scale" alt="Northamptonshire County Council"></a> </div> </div> </header> <!-- End .header -->
richardwiggins/ncc-test
www/components/render/light-header.html
HTML
mit
294
import os import re import subprocess from six.moves.urllib.parse import urlparse, quote_plus from subprocess import CalledProcessError, PIPE, STDOUT from conans.client.tools.env import no_op, environment_append from conans.client.tools.files import chdir from conans.errors import ConanException from conans.util.file...
luckielordie/conan
conans/client/tools/scm.py
Python
mit
5,881
--[[ ####################################### ####################################### ###########Erstellt von Dawi########### ##########github.com/yourdawi########## ##############yourdawi.de############## ####################################### ####################################### ]] addEventHandler("onPlayerChangeN...
yourdawi/accountsystem
server/register_login.lua
Lua
mit
6,004
/** * DeepDetect * Copyright (c) 2014-2016 Emmanuel Benazera * Author: Emmanuel Benazera <beniz@droidnik.fr> * * This file is part of deepdetect. * * deepdetect 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 Softw...
roscopecoltran/scraper
shared/docker/templates/deepdetect/src/generators/net_caffe.h
C
mit
5,518
/** * 指示按钮 */ Banner.prototype.btn = function() { var s = this, o = this.option, $banner = this.$banner, $btn; for (var i = 0, item = ''; i < s.len; i++) { item += '<a></a>'; } $banner.append($('<div class="tb-btn"/>').append(item)); s.$btn = $btn = $('.tb-btn a', $banner); $btn.first(...
happyfreelife/easyBanner
src/btn.js
JavaScript
mit
682
# ded Simple text editor that works with 9P server. # Why? * Curiosity and pratice!. * Scratching my own itches. * Using Go to create graphical user interfaces with [gxui](https://github.com/google/gxui) Sometimes it's rellay hard for programs interact with your text editor. Ded solves that problem by exposing all e...
andrebq/ded
README.md
Markdown
mit
1,399
THE TOMOGRAPHER PROJECT ======================= [![DOI](https://zenodo.org/badge/24211/Tomographer/tomographer.svg)](https://zenodo.org/badge/latestdoi/24211/Tomographer/tomographer) A toolbox for error analysis in quantum tomography. Overview -------- This project comprises three parts: * The `tomorun` program...
Tomographer/tomographer
README.md
Markdown
mit
17,070
# -*- coding: utf-8 -*- require 'helper' class TestRegressionExcel2003Style04 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_excel2003_style04 @xlsx = 'excel2003_style04.xlsx' workbook = WriteXLSX.new(@io, :excel2003_style => true) worksh...
cxn03651/write_xlsx
test/regression/test_excel2003_style04.rb
Ruby
mit
471
RawScript 0.0 (Development Version) =================================== This little language and its interpreter (named RawScript since it's so basic) is basically a test of what I learned about language parsing and compilation. It's far from done, and certainly has a lot more flaws than any other finished product. Bu...
danzhu/RawScript
README.md
Markdown
mit
837
'use strict'; var msb = require('msb'); var app = exports; app.config = require('./lib/config'); app.start = function(cb) { if (app.config.channelMonitorEnabled) msb.channelMonitorAgent.start(); var RouterWrapper = require('./lib/routerWrapper').RouterWrapper; app.router = new RouterWrapper(); app.router.lo...
tcdl/msb-http2bus
app.js
JavaScript
mit
848
{{<layouts/account-home}} {{$account-nav}} {{>account/user/commercial/nav}} {{/account-nav}} {{$h1}}Account home{{/h1}} {{$column-1}} <ul> <li><a href="/account/user/commercial">Account overview</a></li> <li><a href="/account/user/commercial/crossing-history...
edaza/SANEF-ITS-Dart-Charge
app/views/account/user/commercial/crossing-history.html
HTML
mit
2,552
<html> <head> <title>User agent detail - SAMSUNG-SGH-U800</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> </head> <body> <div cla...
ThaDafinser/UserAgentParserComparison
v4/user-agent-detail/0f/ff/0fff9b43-3cb9-42b3-a772-72ae40584e27.html
HTML
mit
37,444
$(document).ready(function () { console.log("ready!"); $("#subs").click(function () { var name = $('#name').val(); var email = $('#email').val(); if (name != '' && email != '') { $('#subs_err').html(''); var subs = {name: name, email: email}; var url...
sirromas/george
assets/js/custom.js
JavaScript
mit
2,063
module Zuora module RESTOperations module All def all(params={}) Zuora.request(:get, base_resource_url, params) end end end end
tradegecko/zuora-rest-ruby
lib/zuora/rest_operations/all.rb
Ruby
mit
160
### import #################################################################### import pycmds.project.classes as pc import pycmds.hardware.hardware as hw import pathlib import appdirs import toml import yaqc ### driver #################################################################### class Driver(hw.Driver): ...
wright-group/PyCMDS
pycmds/hardware/spectrometers.py
Python
mit
2,840
/* global createNS */ /* exported filtersFactory */ var filtersFactory = (function () { var ob = {}; ob.createFilter = createFilter; ob.createAlphaToLuminanceFilter = createAlphaToLuminanceFilter; function createFilter(filId, skipCoordinates) { var fil = createNS('filter'); fil.setAttribute('id', filI...
bodymovin/bodymovin
player/js/utils/filters.js
JavaScript
mit
954
u""" Fixer for Python 3 function parameter syntax This fixer is rather sensitive to incorrect py3k syntax. """ # Note: "relevant" parameters are parameters following the first STAR in the list. from lib2to3 import fixer_base from lib2to3.fixer_util import token, String, Newline, Comma, Name from libfuturize.fixer_uti...
thonkify/thonkify
src/lib/libpasteurize/fixes/fix_kwargs.py
Python
mit
6,066
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int_rand_square_09.c Label Definition File: CWE190_Integer_Overflow__int.label.xml Template File: sources-sinks-09.tmpl.c */ /* * @description * CWE: 190 Integer Overflow * BadSource: rand Set data to result of rand(), which may be zero ...
maurer/tiamat
samples/Juliet/testcases/CWE190_Integer_Overflow/s04/CWE190_Integer_Overflow__int_rand_square_09.c
C
mit
4,957
'use strict'; angular.module('myApp.post', ['ngRoute']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/new-post', { templateUrl: 'posts/new-post.html', controller: 'PostCtrl' }); }]) .controller('PostCtrl', ['$scope', '$firebaseArray', 'CommonProp', '$location', function($scope, $f...
hnquang112/angular-seeder
app/posts/posts.js
JavaScript
mit
977
/* * This file is part of Jiffy, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * 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 wi...
OreCruncher/Jiffy
src/main/java/org/blockartistry/world/ChunkCache.java
Java
mit
8,333
// console_log.cpp // #include "monik/log/console_log.h" #include "monik/log/log_thread.h" namespace monik { namespace log { class console_log::data_type : public log_thread { public: explicit data_type(buf_size_t); private: static void write(const message_with_severity & s) { std::cout << s.m_message...
Totopolis/monik.cpp
monik/log/console_log.cpp
C++
mit
1,861
<?php /** * Mirasvit * * This source file is subject to the Mirasvit Software License, which is available at http://mirasvit.com/license/. * Do not edit or add to this file if you wish to upgrade the to newer versions in the future. * If you wish to customize this module for your needs * Please refer to http://ww...
mikrotikAhmet/mbe-cpdev
app/code/local/Mirasvit/SearchIndex/Model/Index/External/Joomla/Zoo/Item.php
PHP
mit
1,474
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebApp.Controllers { public class DevelopersController : Controller { // // GET: /Developer/ public ActionResult Index() { return View(); } ...
jdnichollsc/Javascript-Games
WebApp/Controllers/DevelopersController.cs
C#
mit
325
package org.sdmlib.openbank.util; import org.sdmlib.models.pattern.PatternObject; import org.sdmlib.openbank.FeeValue; import org.sdmlib.openbank.TransactionTypeEnum; import org.sdmlib.models.pattern.AttributeConstraint; import org.sdmlib.models.pattern.Pattern; import java.math.BigInteger; import org.sdmlib.openbank....
SWE443-TeamRed/open-bank
open-bank/src/main/java/org/sdmlib/openbank/util/FeeValuePO.java
Java
mit
4,269
var WALKING_SPEED_RATIO = 30; // how many times faster than walking speed are you? var FIRST_PERSON = false; var RESET_CAMERA_POSITION = function() {camera.position.set(-168, 25, -17);} var PATH_ANIMATION_RUNNING = false; function endPathAnimation() { PATH_ANIMATION_RUNNING = false; } function nextCameraTween(pat...
oliverodaa/cs184-final-proj
dwinelle/web/js/camera_helpers.js
JavaScript
mit
1,100
package coreunix import ( "bytes" "context" "io" "io/ioutil" "math/rand" "os" "testing" "time" "github.com/ipfs/go-ipfs/blocks/blockstore" "github.com/ipfs/go-ipfs/blockservice" "github.com/ipfs/go-ipfs/commands/files" "github.com/ipfs/go-ipfs/core" dag "github.com/ipfs/go-ipfs/merkledag" "github.com/ip...
Quantomicus/go-ipfs
core/coreunix/add_test.go
GO
mit
6,684
using Auth0.AuthenticationApi.Models; using Auth0.ManagementApi; using Auth0.ManagementApi.Models; using Auth0.Tests.Shared; using FluentAssertions; using System; using System.Threading.Tasks; using Auth0.AuthenticationApi.IntegrationTests.Testing; using Auth0.IntegrationTests.Shared.CleanUp; using Xunit; namespace A...
auth0/auth0.net
tests/Auth0.AuthenticationApi.IntegrationTests/AccessTokenTests.cs
C#
mit
4,961
<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/29000-29999/29140-22.html
HTML
mit
926
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GeneralLevel : Level { public float completeLevelWaitTimeInSecs = 2; private bool completeLevelTriggered; private IEnumerator CompleteLevel() { yield return new WaitF...
p4dd9/ngj17_spirit
Assets/Scripts/GeneralLevel.cs
C#
mit
1,012
<?php /* AcmeDemoBundle:Secured:helloadmin.html.twig */ class __TwigTemplate_3423e47098ba90b7664f14d13a3832e1 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->blocks = array( 'title' => array($this, 'block_title'), ...
pepesan/Ejemplo-Symfony2
app/cache/dev/twig/34/23/e47098ba90b7664f14d13a3832e1.php
PHP
mit
1,472
//! moment.js locale configuration //! locale : Galician [gl] //! author : Juan G. Hurtado : https://github.com/juanghurtado ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define =...
OdimTech/Sisacon
Sisacon/Sisacon.UI/node_modules/fullcalendar/node_modules/moment/locale/gl.js
JavaScript
mit
2,901
package tw.showang.apiabstractionframework.example.api; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import tw.showang.apiabstractionframework.example.api.base.ApiTestBase; import tw.showang.apiabstractionframework.example.api.base.ExampleApiBase.ApiErrorListen...
showang/ApiAbstractionFramework
example/src/test/java/tw/showang/apiabstractionframework/example/api/GitHubUserApiTest.java
Java
mit
915
<?php /* SensioDistributionBundle::Configurator/final.html.twig */ class __TwigTemplate_1d6d06e92ecd114d845ffc58222524b8 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("SensioDistributionBundle::C...
evgeny-s/symfony
app/cache/dev/twig/1d/6d/06e92ecd114d845ffc58222524b8.php
PHP
mit
3,462
/*========================================================================================= File Name: symbols.js Description: Flot symbols chart ---------------------------------------------------------------------------------------- Item Name: Stack - Responsive Admin Theme Version: 1.1 Author...
areleogitdev/areleofinish
areleo/app-assets/js/scripts/charts/flot/line/symbols.js
JavaScript
mit
1,770
#include <mimosa/options/options.hh> #include "options.hh" namespace hefur { const uint32_t & MAX_PEERS = *mo::addOption<uint32_t>( "", "max-peers", "the maximum number of peers per torrent", 30000); const uint32_t & MAX_TORRENT_SIZE = *mo::addOption<uint32_t>( "", "max-torrent-size", "the maximum to...
UIKit0/hefur
hefur/options.cc
C++
mit
3,505
<!DOCTYPE html> <html> <head> <title>Image gallery</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="resources/style.css" type="text/css" /> <script type="text/javascript" src="resources/prefixfree.js"></script> <script type="text/javascript" src="resour...
neojski/image-gallery
index.html
HTML
mit
7,472
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.OpenIdConnect; using Microsoft.Owin.Security; namespace SQLDashboard.Controllers { public class AccountController : Controller { ...
MindFlavor/SQLDashboard
SQLDashboard/Controllers/AccountController.cs
C#
mit
1,430
<!doctype html> <html> <head> <title>Blogram</title> <link rel="icon" href="ui/Beta-24.png" type="image/x-icon"> <link href="/ui/style.css" rel="stylesheet" /> </head> <body> <header class="intro-header" style="background-image: url('http://www.w3schools.com/w3images/...
kritigem16/imad-2016-app
ui/index.html
HTML
mit
2,361
// T4 code generation is enabled for model 'C:\Users\maor gigi\documents\visual studio 2013\Projects\MVc_Assignment2\MVc_Assignment2\dataStore.edmx'. // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer // property to 'Legacy ObjectContext'. This property is available in th...
gigimaor/shoping-cart.net
dataStore.Designer.cs
C#
mit
810
MIME-Version: 1.0 Server: CERN/3.0 Date: Sunday, 01-Dec-96 20:33:22 GMT Content-Type: text/html Content-Length: 531 Last-Modified: Thursday, 07-Dec-95 20:14:41 GMT <html> <head> <title> My Publications </title> </head> <body> <H1> Asif Ghias </H1> <H4>Publications</H4> <ul> <li> Asif Ghias, Jonathan Logan, D...
ML-SWAT/Web2KnowledgeBase
webkb/other/cornell/http:^^www.cs.cornell.edu^Info^People^ghias^publications^publications.html
HTML
mit
703
// // EnemiesTableViewController.h // UIRPGController // // Created by Sean on 10/11/14. // Copyright (c) 2014 Sean Herman. All rights reserved. // #import <UIKit/UIKit.h> @interface EnemiesTableViewController : UITableViewController @end
seanjh/UIRPGController
UIRPGController/EnemiesTableViewController.h
C
mit
246
class User < ActiveRecord::Base tango_user simple_roles devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :token_authenticatable, :confirmable, :lockable, :timeoutable # Setup accessible (or protected) attributes for your model ...
Portalcake/gaming-base-core
app/models/user.rb
Ruby
mit
1,076
# http://www.codewars.com/kata/54ff3102c1bad923760001f3 # --- iteration 1 --- def getCount(str) str.tr("^aeiou", "").size end
etdev/algorithms
0_code_wars/vowel_count.rb
Ruby
mit
129
using System; using System.IO; using System.Collections.Generic; using UnityEngine; namespace KspCraftOrganizer { public class SettingsService { private static readonly float PLUGIN_READ_TIME_THRESHOLD = 30; private float lastPluginSettingsReadingTime; private IKspAl ksp = IKspAlProvider.instance; private F...
grzegrzk/ksp-craft-organizer
KspCraftOrganizerPlugin/services/SettingsService.cs
C#
mit
2,374
/** * Heldesks' code (Zendesk, etc..) */ App.helpdesk = { init: function () { // fetch template content from the extension if (window.location.hostname.indexOf('zendesk.com') !== -1) { App.helpdesk.zendesk.init(); } }, zendesk: { init: function () { ...
haveal/gorgias-chrome
src/content/js/helpdesk.js
JavaScript
mit
6,435
/** * @file tiledb_list.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2016 MIT and Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software...
Intel-HLS/TileDB
examples/src/tiledb_ls.cc
C++
mit
2,958
/** * Author: thegoldenmule * Date: 3/17/13 */ (function (global) { "use strict"; var colorShaderVS = { name: "color-shader-vs", type: "x-shader/x-vertex", body: "precision highp float;" + "uniform mat4 uProjectionMatrix;" + "uniform mat4 uModelV...
thegoldenmule/boX
js/boX/DefaultShaders.js
JavaScript
mit
6,653
/** * Global config setters/getters. Chainable ;) * * @usage * config.duration(500) // * config.duration() // => 500 * config.duration(600).duration() // 600 */ // Number of millseconds for each message to last var _duration = 10000; /** * (s|g)etter for the duration * * @parmam {int} ms * @return {this|in...
sourcescript/alt-notify
src/config.js
JavaScript
mit
588
// https://discuss.leetcode.com/topic/71438/c-dp-solution-with-comments // https://discuss.leetcode.com/topic/76103/0-1-knapsack-detailed-explanation class Solution { public int findMaxForm(String[] strs, int m, int n) { int[][] dp = new int[m+1][n+1]; for(String s : strs) { int zeros =...
l33tnobody/l33t_sol
src/474OnesAndZeros.java
Java
mit
867
{% extends "base.html" %} {% block body %} <div class="row"> <div class="large-12 columns"> {% if search %} <h1>Words that get the Tweets: {{search}}</h1> {% else %} <h1>Words that get the Tweets</h1> {% endif %} </div> <form method="POST" action = "" class="form" > <div class="row collaps...
sampathweb/cs109_twitterapp
app/templates/main/words.html
HTML
mit
815
Registration agent for Difio, preconfigured for dotCloud / Ruby applications. It compiles a list of installed packages and sends it to http://www.dif.io. Installing on your dotCloud Ruby application ----------------------------------------------------- - Create an account at http://www.dif.io - Create your Ruby app...
difio/difio-dotcloud-ruby
README.md
Markdown
mit
1,857
module VirtualBox module COM module Interface module Version_4_1_X class ExecuteProcessStatus < AbstractEnum map :undefined => 0, :started => 1, :terminated_normally => 2, :terminated_signal => 3, :terminated_abnormally => 4, ...
mitchellh/virtualbox
lib/virtualbox/com/interface/4.1.x/ExecuteProcessStatus.rb
Ruby
mit
486
namespace StackFaceSystem.Data.Common.Models { using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; public abstract class BaseModel<TKey> : IAuditInfo, IDeletableEntity { [Key] public TKey Id { get; set; } public Da...
EmilMitev/ASP.NET-MVC-Course-Project
Source/StackFaceSystem/Data/StackFaceSystem.Data.Common/Models/BaseModel{TKey}.cs
C#
mit
522
package main import ( "log" "net/http" "github.com/sirupsen/logrus" "github.com/stripe/smokescreen/cmd" "github.com/stripe/smokescreen/pkg/smokescreen" ) // This default implementation of RoleFromRequest uses the CommonName of the // client's certificate. If no certificate is provided, the AllowMissingRole // ...
stripe/smokescreen
main.go
GO
mit
1,378
/** * This method start authentication workflow. * It should be called by application which require authentication. * * Author: Yuriy Movchan Date: 11/06/2013 */ var uuid = require('uuid'); var async = require('async'); var oxutil = require('../util/util.js'); var state = require('../shared/state.js'); var push =...
GluuFederation/oxPush
server/lib/authenticate/authenticate.js
JavaScript
mit
2,809
--- layout: leetcode title: "170. Two Sum III - Data structure design" categories: [leetcode] --- [Leetcode Link]https://leetcode.com/problems/two-sum-iii-data-structure-design/) Design a data structure that accepts a stream of integers and checks if it has a pair of integers that sum up to a particular value. Imple...
teckoo/teckoo.github.io
_posts/coding/leetcode/2021-01-01-170-two-sum-iii-data-structure-design.md
Markdown
mit
2,209
const { yellow, cyan, gray } = require('chalk'); const EslintCLI = require('eslint').CLIEngine; const eslintConfig = require('../config/eslint/eslintConfig'); const runESLint = ({ fix = false, paths }) => new Promise((resolve, reject) => { console.log(cyan(`${fix ? 'Fixing' : 'Checking'} code with ESLint`)); ...
seek-oss/sku
lib/runESLint.js
JavaScript
mit
1,886
/** * Copyright MaDgIK Group 2010 - 2015. */ package madgik.exareme.master.queryProcessor.decomposer.query.visitors; import com.foundationdb.sql.StandardException; import com.foundationdb.sql.parser.FromSubquery; import com.foundationdb.sql.parser.SelectNode; import com.foundationdb.sql.parser.Visitable; import madg...
madgik/exareme
Exareme-Docker/src/exareme/exareme-master/src/main/java/madgik/exareme/master/queryProcessor/decomposer/query/visitors/SelectVisitor.java
Java
mit
1,601
<article class="c-page-section c-page-section--principles"> <div class="c-page-section__body"> <div class="c-page-section__intro"> <perch:content id="principles_intro" type="textarea" label="Introduction" markdown="true" editor="simplemde" required="true" imagewidth="800" height="300" /> </div> <div...
oneteamgov/website
sys/templates/content/principles.html
HTML
mit
1,032
\section{Notification Struct Reference} \label{struct__Notification}\index{Notification@{Notification}} Notification 모듈에 대한 구조체이다. Notification 모듈은 다양한 방식으로 알림을 설정 할 수 있다. {\ttfamily \#include $<$Notification.\-h$>$} Collaboration diagram for Notification\-:\nopagebreak \begin{figure}[H] \begin{center} \leav...
Dee-J/dee-j.github.io
latex/struct__Notification.tex
TeX
mit
2,539
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Class: AudioSprite · Phaser CE</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/default.css"> <link type="text/css" rel="styles...
Acaki/WWW_project
docs/Phaser.AudioSprite.html
HTML
mit
45,361
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { glo...
mhevery/angular
packages/common/locales/global/nl-SR.js
JavaScript
mit
2,475
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_wchar_t_malloc_22a.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml Template File: sources-sinks-22a.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management ...
maurer/tiamat
samples/Juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_wchar_t_malloc_22a.cpp
C++
mit
3,767
<!DOCTYPE html> <html> <head> <title>Recent Changes</title> <meta charset="UTF-8" /> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0" /> <link rel="stylesheet" type="text/css" href="/css/ios7.css" /> <script type="text/javascript" src="/js/jquery-2.1.0.min.js"></script> </he...
hizinfiz/repo
changes/cZuiver.html
HTML
mit
570
using System; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Security.Cryptography; using System.Text; using System.IO; using System.Xml.Serialization; namespace SVX { public static class Utils { public static string ToUrlSafeBase64String(byte[] data) { ...
cs0317/SVAuth
SVX/Utils.cs
C#
mit
3,415
package com.knr.recyclr; import org.json.*; public class UpcItem { public String number; public String itemName; public String description; public UpcItem(String json) { try { JSONObject jsonObj = new JSONObject(json); this.number = jsonObj.getString("number"); this.itemName = jsonObj.getString("item...
kj2wong/Recyclr
Recyclr/src/com/knr/recyclr/UpcItem.java
Java
mit
521
package com.real.estate.parser; import org.jsoup.nodes.Element; import java.util.List; /** * Created by Snayki on 22.03.2016. */ public interface Parser<T> { List<Element> parse(); T createFromElement(Element element); }
Snayki/real-estate
src/main/java/com/real/estate/parser/Parser.java
Java
mit
236
/***************************************************************************** The following code is derived, directly or indirectly, from the SystemC source code Copyright (c) 1996-2010 by all Contributors. All Rights reserved. The contents of this file are subject to the restrictions and limitations ...
pombredanne/metamorphosys-desktop
metamorphosys/tonka/models/SystemC/systemc-2.3.0/examples/sysc/2.3/sc_rvd/main.cpp
C++
mit
4,256
#include "sphia-test.h" // See #51 static void test_clear_similar_keys() { sphia_set(sphia, "key-1", "hello world"); sphia_set(sphia, "key-10", "hello world"); sphia_set(sphia, "00000000", "hello world"); sphia_set(sphia, "000000000", "hello world"); assert(4 == sphia_count(sphia)); assert(0 == sphia_clea...
sphia/sphia
test/clear-similar-keys.c
C
mit
400
\hypertarget{classtesting_1_1internal_1_1_return_null_action}{}\section{testing\+:\+:internal\+:\+:Return\+Null\+Action Class Reference} \label{classtesting_1_1internal_1_1_return_null_action}\index{testing\+::internal\+::\+Return\+Null\+Action@{testing\+::internal\+::\+Return\+Null\+Action}} {\ttfamily \#include $<$...
bhargavipatel/808X_VO
docs/latex/classtesting_1_1internal_1_1_return_null_action.tex
TeX
mit
2,131
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Windows.Media.Imaging; using GitHub.Extensions; using GitHub.Helpers; using ReactiveUI; namespace GitHub.Models { public class AutoCompleteSuggestion { readonly string prefix; readonly s...
github/VisualStudio
src/GitHub.Exports.Reactive/Models/AutoCompleteSuggestion.cs
C#
mit
3,667
import NumeralFieldComponent from './Numeral' const numeral = global.numeral if (!numeral) { throw new Error('Numeral is required in global variable') } export default class MoneyComponent extends NumeralFieldComponent { unformatValue(label) { return label === '' ? undefined : numeral._.stringToNumber(label) ...
orionsoft/parts
src/components/fields/numeral/Money.js
JavaScript
mit
437
var gulp = require("gulp"); var util = require("gulp-util"); var config = require("../config") gulp.task("watch", () => { gulp.watch(`${config.src.ts}`, ["compile:ts"]).on("change", reportChange).on("error", swallowError); gulp.watch(`${config.test.files}`, ["compile:test"]).on("change", reportChange).on("error"...
stephenlautier/ssv-angular-core
tools/build/tasks/dev.js
JavaScript
mit
560
using System; using System.Diagnostics; #pragma warning disable 1591 // ReSharper disable UnusedMember.Global // ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable IntroduceOptionalParameters.Global // ReSharper disable MemberCanBeProtected.Global /...
ekblom/noterium
src/Noterium.Core/Properties/Annotations.cs
C#
mit
38,618
--- layout: page title: Wood Software Party date: 2016-05-24 author: Nicole Bowman tags: weekly links, java status: published summary: Morbi viverra vel ipsum condimentum dapibus. Sed sit amet. banner: images/banner/office-01.jpg booking: startDate: 08/08/2019 endDate: 08/10/2019 ctyhocn: ELPHSHX groupCode: WSP...
KlishGroup/prose-pogs
pogs/E/ELPHSHX/WSP/index.md
Markdown
mit
2,008
package com.microsoft.bingads.v12.customermanagement; 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 ano...
bing-ads-sdk/BingAds-Java-SDK
proxies/com/microsoft/bingads/v12/customermanagement/SearchClientLinksRequest.java
Java
mit
3,065
# We borrow heavily from the kernel build setup, though we are simpler since # we don't have Kconfig tweaking settings on us. # The implicit make rules have it looking for RCS files, among other things. # We instead explicitly write all the rules we care about. # It's even quicker (saves ~200ms) to pass -r on the comm...
galenscook/gtools
node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build/Makefile
Makefile
mit
13,750
import { formatDistance, formatToLocaleString, defaultEnvironment, Environment } from './formatDate' import { subDays } from 'date-fns' import { ja, enUS } from 'date-fns/locale' // memo(otofune): This requires that process.env.TZ equals to 'UTC'. (;;) const jaEnvironment: Environment = { getLocale: () => ja } const ...
crowi/crowi
client/util/formatDate.test.ts
TypeScript
mit
2,827
use Win32::OLE::Const; my $excelAppl = Win32::OLE->GetActiveObject('Excel.Application') || Win32::OLE->new('Excel.Application', 'Quit'); my $fso = Win32::OLE->new("Scripting.FileSystemObject"); my $naam = "testbook.xlsx"; my $book; if ($fso->FileExists($naam)) { my $padnaam = $fso->GetAbsolutePathName($naam); $...
VDBBjorn/Besturingssystemen-III
Labo/reeks2/Reeks2_06.pl
Perl
mit
1,025
#pragma once #include <vector> #include <algorithm> using namespace std; class Solution { public: int maxProfit(vector<int>& prices) { int states[2][4] = { INT_MIN, 0, INT_MIN, 0 }; // 0: 1 buy, 1: one buy/sell, 2: 2 buys/1 sell, 3, 2 buys/sells int cur = 0, next = 1; for (int i = 0; i < prices.size(); i++) ...
xiasun/coding
leetcode/123.h
C
mit
791
var gulp = require('gulp'), plumber = require('gulp-plumber'), browserify = require('gulp-browserify'), concat = require('gulp-concat'), gulpif = require('gulp-if'), uglify = require('gulp-uglify'), jshint = require('gulp-jshint'), stylish = require('jshint-stylish'), sequence = require(...
Daniel1984/60fps
gulpfile.js
JavaScript
mit
2,819
<div class="directive-container" id="module:directives.directive:ons-bottom-toolbar"> <div> <section class="description"> <p>Toolbar component that is positioned at the bottom of the page. Has same functionality as the ons-toolbar component.</p> </section> <span class="anchor" id="ons-bottom-toolba...
markau/TimesTablesTest
lib/onsenui-1.2.0/docs/en/api/directives/directive/ons-bottom-toolbar.html
HTML
mit
1,470
<?php namespace Chronos\ChronoAdminBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilder; class RoadStateType extends AbstractType { public function buildForm(FormBuilder $builder, array $options) { $builder ->add('name') ; } public ...
Guimove/Chronos
src/Chronos/ChronoAdminBundle/Form/RoadStateType.php
PHP
mit
411
var gulp = require('gulp'); var sass = require('gulp-sass'); var browserSync = require('browser-sync'); var useref = require('gulp-useref'); var uglify = require('gulp-uglify'); var gulpIf = require('gulp-if'); var cssnano = require('gulp-cssnano'); var imagemin = require('gulp-imagemin'); var cache = require('gulp-cac...
martinrajdl/faunafilm
gulpfile.js
JavaScript
mit
2,512
(function () { var Demo = { init: function () { this.syntaxHighlight(); this.sticky(); }, syntaxHighlight: function () { hljs.initHighlighting(); }, sticky: function () { var $sticky = $('[data-sticky]'); $sticky....
SwiftCMS/Pluit
documentation/doc.js
JavaScript
mit
417
if defined?(::Rails::Railtie) class EnumColumnRailtie < Rails::Railtie # initializer 'enum_column.initialize', :after => 'active_record.initialize_database' do |app| ActiveSupport.on_load :active_record do require 'enum/mysql_adapter' require 'enum/enum_adapter' require 'enum/schema_...
quarkstudio/enum_column
lib/enum_column.rb
Ruby
mit
568
body { color: #333; } input[type=search]::search-cancel-button, input[type=search]::search-decoration { appearance: none; } .global-header { background: #003760; } .main { background: #fff; } .global-footer { background: #003760; }
kubosho/kotori
test/cases/main.css
CSS
mit
256
import 'reflect-metadata'; import { SchemaObject, XParameterObject } from '@ts-stack/openapi-spec'; import { Parameters } from './parameters'; import { Column } from '../decorators/column'; describe('Parameters', () => { describe('without data model', () => { it('required path with someName', () => { cons...
restify-ts/core
packages/openapi/src/utils/parameters.spec.ts
TypeScript
mit
4,225
var Tile = function (type, x, y) { this.type = type; this.tint = 0; this.hover = false; this.isAllowed = undefined; this.isAllowedForBeat = undefined; this.x = x; this.y = y; this.graphic = new fabric.Rect({ left: Tile.size * x, top: Tile.size * y, fill: type === Tile.TileType.NONPLAYABLE ?...
misko321/draughts
public/js/tile.js
JavaScript
mit
3,185
pre { position: relative; } .redmine-pluin-tools { position: fixed; bottom: 10px; right: 10px; font-size: 16px; border: 1px solid #90AECB; border-radius: 5px; padding: 5px; text-align: center; z-index: 10000; } .plugin-zclip { position: absolute; top: 0; right: 0; ...
wenzhixin/redmine-chrome
css/redmine.css
CSS
mit
740
//******************************************************************************* // COPYRIGHT NOTES // --------------- // This is a part of the BCGControlBar Library // Copyright (C) 1998-2000 BCGSoft Ltd. // All rights reserved. // // This source code can be used, distributed or modified // only under terms a...
segafan/wme1_jankavan_tlc_edition-repo
src/external_lib/BCG/BCGControlBar/BCGMDIChildWnd.h
C
mit
2,385
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tait: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.14.1/tait/8.7.0.html
HTML
mit
7,595
/* * Books.cpp * Author: suyashd95 */ #include "Books.h" #include <iostream> #include <cstring> using namespace std; Books::Books() { stock = new int[size]; price = new float[size]; author = new const char*[size]; publisher = new const char*[size]; title = new const char*[size]; populateData(); } void B...
SuyashD95/cplusplus-prog-exercises
Programming Exercises/Chapter 6 - Constructors and Destructors/Question 3/src/Books.cpp
C++
mit
2,512
using Castle.Core.Logging; using Bivi.Infrastructure.Constant; using Bivi.Infrastructure.Services.Depots; using Bivi.Infrastructure.Services.Encryption; using Bivi.BackOffice.Web.Controllers.ActionResults; using Bivi.BackOffice.Web.Controllers.Filters; using Bivi.BackOffice.Web.Controllers.Helpers; using Bivi.B...
apo-j/Projects_Working
Bivi/src/Bivi.BackOffice/Bivi.BackOffice.Web.Controllers/Controllers/Administration/LienExterneController.cs
C#
mit
4,921
/* * 2007-2016 [PagSeguro Internet Ltda.] * * NOTICE OF LICENSE * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
girinoboy/lojacasamento
pagseguro-api/src/main/java/br/com/uol/pagseguro/api/preapproval/search/PreApprovalSummaryXML.java
Java
mit
3,550
#!/bin/sh if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then bundle exec fastlane test exit $? fi
raumfeld/RFFeatureToggle
fastlane/travis.sh
Shell
mit
101
/** * Michael' (The non-Asian one's) librarys.<br> * Thank you for the help! * @author Michael [???] * */ package com.shadow53.libs;
Vectis99/sshs-2016-willamette
src/com/shadow53/libs/package-info.java
Java
mit
137
using System; using Amazon.DynamoDBv2.DataModel; using AspNetCore.Identity.DynamoDB.Converters; namespace AspNetCore.Identity.DynamoDB.Models { public abstract class DynamoUserContactRecord : IEquatable<DynamoUserEmail> { protected DynamoUserContactRecord() {} protected DynamoUserContactRecord(string value) : ...
miltador/AspNetCore.Identity.DynamoDB
src/AspNetCore.Identity.DynamoDB/Models/DynamoUserContactRecord.cs
C#
mit
1,099
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_execlp_82_bad.cpp Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-82_bad.tmpl.cpp */ /* * @description * CWE: 78 OS Command Injection * BadSource: connect_socket Re...
maurer/tiamat
samples/Juliet/testcases/CWE78_OS_Command_Injection/s05/CWE78_OS_Command_Injection__wchar_t_connect_socket_execlp_82_bad.cpp
C++
mit
1,346