repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
seanmcelroy/Mystiko | Mystiko.Library.Core/Net/Messages/NodeDecline.cs | 7915 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="NodeDecline.cs" company="Sean McElroy">
// Copyright Sean McElroy; released as open-source software under the licensing terms of the MIT License.
// </copyright>
// <summary>
//... | mit |
largelymfs/MTMSWord2Vec | ExpTable.cpp | 1044 | /*
* @Author: largelyfs
* @Date: 2015-02-22 15:35:19
* @Last Modified by: largelyfs
* @Last Modified time: 2015-02-26 01:33:37
*/
#include <iostream>
#include "ExpTable.h"
using namespace std;
#include "stdio.h"
ExpTable::ExpTable(int MAX_TABLE_SIZE, int MAX_EXP) : elem(NULL), max_table_size(MAX_TABLE_SIZE), max... | mit |
leonanluppi/ANP-Crawler | web/src/app/configs/app-translation-en-US.js | 822 | (function(angular) {
'use strict';
angular
.module('softruck.translation')
.constant('LANG_EN', {
'LABEL_SELECT_STATE': 'Select a state',
'LABEL_SEARCH': 'Search',
'LABEL_COUNTY': 'County',
'LABEL_AVERAGE_MARGIN': 'Average Margin',
'LABEL_MAX_PRICE': 'Max Price',
'LABEL_... | mit |
ArnaudBuchholz/gpf-js | test/compatibility/array.js | 65 | "use strict";
describe("compatibility/array", function () {
});
| mit |
rliu42/conductor-hero | client/js/main.js | 281 | var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 );
var renderer = new THREE.WebGLRenderer();
renderer.setSize( window.innerWidth, window.innerHeight );
document.body.appendChild( renderer.domElement ); | mit |
bertnotbob/django-property | homes/forms.py | 2148 | from django import forms
from registration.forms import RegistrationForm
from .models import PropertyType, SearchPrice
class SearchForm(forms.Form):
def __init__(self, *args, **kwargs):
super(SearchForm, self).__init__(*args, **kwargs)
self.fields['min_price'] = forms.ChoiceField(
choi... | mit |
RollMan/Hydra | hydra.py | 1927 | # -*- coding: utf-8 -*-
import util
import sys, decode, datetime, os
apikey = '*****'
apisec = '*****'
def date2int(datestr):
date = datetime.datetime.strptime(datestr, "%a %b %d %H:%M:%S %z %Y")
return date
class timeline:
time_begin = 0
time_end = 0
hashtag = ''
tweetlist = []
... | mit |
rocketgithub/l10n_gt_extra | __openerp__.py | 1692 | # -*- encoding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2009-2012 Soluciones Tecnologócias Prisma S.A. All Rights Reserved.
# José Rodrigo Fernández Menegazzo, Soluciones Tecnologócias Prisma S.A.
# (http://www.solucionesprisma.com)
#
# This program is ... | mit |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/models/key_properties.rb | 2206 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V2016_10_01
module Models
#
# Properties of the key pair backing a certificate.
#
class KeyProperties
inclu... | mit |
ryanheathers/seattle-composting | public/js/lib/fetch_search.js | 293 | function fetchSearch(query) {
$.getJSON('/products/search/' + query, function(results) {
if (results.length > 0) {
writeSearchResults(results);
}
else {
$("#handling").html("<h2>Hold the biscuits, no products were found. Try a different search.</h2>");
}
});
}
| mit |
getto-systems/getto-css | lib/z_vendor/getto-css/preact/design/box.ts | 3408 | import { VNode } from "preact"
import { html } from "htm/preact"
import { VNodeContent } from "../common"
export function container(content: VNodeContent): VNode {
return html`<section class="container">${content}</section>`
}
export function container_top(content: VNodeContent): VNode {
return html`<section ... | mit |
nomoreserious/FlowSimulation | FlowSimulation.Core/AgentsVisual3D/AgentVisual3DBase.cs | 2981 | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Media.Media3D;
namespace FlowSimulation.AgentsVisual3D
{
abstract class AgentVisual3DBase
{
//public abstract MeshGeometry3D CreateAgentGeometry(Point3D position, Size3D size);
//public abstract MeshGeomet... | mit |
robertz/node-billz | controllers/api.js | 1167 | /* global require exports next */
/* eslint no-unused-vars: off */
const Payee = require("../models/Payee");
const Payments = require("../models/Payment");
const Moment = require("moment-timezone");
const formatCurrency = require("format-currency");
exports.getPayees = async (req, res) => {
return Payee.find({ ow... | mit |
rexxars/supermark-blog | src/components/inline-list.js | 521 | 'use strict';
var React = require('react');
function InlineList(props) {
return (
<span className="inline-list">
{props.items.map(function(item) {
var link = props.link + '/' + encodeURIComponent(item);
return <a key={item} className="post-category" href={link}>... | mit |
andrew-li/javascript-koans | koans/AboutApplyingWhatWeHaveLearnt.js | 12867 | var _; //globals
describe("About Applying What We Have Learnt", function() {
var products;
beforeEach(function () {
products = [
{ name: "Sonoma", ingredients: ["artichoke", "sundried tomatoes", "mushrooms"], containsNuts: false },
{ name: "Pizza Primavera", ingredients: ["roma", "sundried tom... | mit |
kenny-nelson/GomiBako | Libraries/Dodai.AvalonDock/Layout/LayoutUpdater.cs | 6515 | //-----------------------------------------------------------------------
// <copyright file="LayoutUpdater.cs" company="none">
// Copyright (c) kenny-nelson All Rights Reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Dodai.Layout
{
using System;
... | mit |
mugizico/brackets | test/spec/CodeHint-test.js | 13764 | /*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* 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... | mit |
visGeek/JavaVisGeekCollections | src/src/test/java/com/github/visgeek/utils/collections/test/testcase/ienumerable/ienumerable/Empty.java | 340 | package com.github.visgeek.utils.collections.test.testcase.ienumerable.ienumerable;
import org.junit.Assert;
import org.junit.Test;
import com.github.visgeek.utils.collections.Enumerable;
public class Empty {
@Test
public void test_empty01() {
Assert.assertTrue(Enumerable.empty(Integer.class).toList().... | mit |
moip/moip-sdk-ruby | spec/moip2/client_spec.rb | 1781 | describe Moip2::Client do
let(:auth) do
Moip2::Auth::Basic.new("TOKEN", "SECRET")
end
let(:oauth) do
Moip2::Auth::OAuth.new "9fdc242631454d4c95d82e27b4127394_v2"
end
describe "initialize env with string" do
let(:client) do
described_class.new "sandbox", auth
end
it { expect(client... | mit |
cirruscluster/cirruscluster | cirruscluster/ext/ansible/module_common.py | 26125 | # (c) 2012, Michael DeHaan <michael.dehaan@gmail.com>
#
# This file is part of Ansible
#
# Ansible 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 Foundation, either version 3 of the License, or
# (at your option) any lat... | mit |
stickermule/rump | pkg/config/config_test.go | 1706 | package config
import (
"testing"
)
func TestNoRedis(t *testing.T) {
_, err := validate("/s.rump", "/t.rump", false, false)
if err == nil {
t.Error("file-only operations should not be supported")
}
}
func TestNoFrom(t *testing.T) {
_, err := validate("", "redis://t", false, false)
if err == nil {
t.Error("... | mit |
angelrove/membrillo2 | src/WPage/Frame.php | 1434 | <?php
/**
* @author José A. Romero Vegas <jangel.romero@gmail.com>
*
*/
namespace angelrove\membrillo\WPage;
use angelrove\utils\CssJsLoad;
use angelrove\utils\FileContent;
class Frame
{
//------------------------------------------------------------------
public static function get(string $title = '', boo... | mit |
kaosborn/KaosCombinatorics | Examples/Permutation/PnExample02/PnExample02.cs | 1370 | using System;
using System.Linq;
using Kaos.Combinatorics;
namespace ExampleApp
{
// Subclassing is one way to get user-friendly output:
public class NumberText : Permutation
{
static string[] text = { "one", "two", "three" };
public NumberText() : base (text.Length)
{ }
... | mit |
novandypurnadrd/GradeControl | application/views/Profile.php | 6817 | <!DOCTYPE html>
<html lang="en">
<head>
<!-- HEADLIB -->
<?php $this->load->view('lib/Headlib'); ?>
<!-- END HEADLIB -->
</head>
<body class="menubar-hoverable header-fixed ">
<!-- BEGIN HEADER-->
<?php $this->load->view('lib/Header'); ?>
<!-- END HEADER-->
<!-- BEGIN BASE-->
<div id="base">
<!-- ... | mit |
MayGo/grails-scaffold-demo | scafmo/angular/client/app/testString/testString.list.controller.js | 2551 | 'use strict';
angular.module('angularDemoApp')
.controller('TestStringListController', function ($scope, $rootScope,
$state, $q, TestStringService, $stateParams, $timeout, logger, ngTableParams, appConfig, $location, $mdDialog) {
if($state.current.data){
$scope.isTab = $state.current.data.isTab;
}
$scope... | mit |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/models/name_and_user_data_contract.rb | 1782 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::CognitiveServices::Face::V1_0
module Models
#
# A combination of user defined name and user specified data for the
# person, lar... | mit |
spudmind/undertheinfluence | parsers/lords_interests/__init__.py | 39 | from parse_lords_interests import parse | mit |
PavelPolyakov/laravel-demo | vendor/mrjuliuss/syntara/src/models/Permissions/PermissionProvider.php | 1911 | <?php namespace MrJuliuss\Syntara\Models\Permissions;
use Illuminate\Support\Facades\Facade;
use MrJuliuss\Syntara\Models\Permissions\PermissionNotFoundException;
use MrJuliuss\Syntara\Models\Permissions\PermissionExistsException;
class PermissionProvider
{
protected $_model = 'MrJuliuss\Syntara\Models\Permission... | mit |
dvla/os-address-lookup | src/test/scala/dvla/domain/ordnance_survey_preproduction/ResponseSpec.scala | 3333 | package dvla.domain.ordnance_survey_preproduction
import dvla.helpers.UnitSpec
import java.net.URI
import play.api.libs.json.Json
import scala.io.Source
class ResponseSpec extends UnitSpec {
"Response Parser loading json for ec1a 4jq" should {
"populate the header given json with header but 0 results" in {
... | mit |
hahwul/mad-metasploit | archive/exploits/hardware/remote/17635.rb | 7846 | # Exploit Title: HP JetDirect PJL Interface Universal Path Traversal
# Date: Aug 7, 2011
# Author: Myo Soe <YGN Ethical Hacker Group - http://yehg.net/>
# Software Link: http://www.hp.com
# Version: All
# Tested on: HP LaserJet Pxxxx Series
##
# $Id: $
##
##
# This file is part of the Metasploit Framework... | mit |
djnawara/natto | spec/views/users/_user_bar.html.erb_spec.rb | 745 | require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
describe "partial 'user_bar'" do
fixtures :users, :roles
describe "when logged in" do
it "should provide profile and logout links" do
login_as :admin
render "/users/_user_bar.html.erb"
response.should have_tag("di... | mit |
enispirli/PalandokenCam | application/views/admin/sertifika_ekle.php | 3092 | <!DOCTYPE html>
<!--
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.
-->
<div id="content" class>
<div class="container-fluid outer">
<div class="row-fluid">
<div class="span-... | mit |
no-lab/sf2demo | src/BackOfficeBundle/Entity/User.php | 2937 | <?php
namespace BackOfficeBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Security\Core\User\UserInterface;
/**
* @ORM\Table(name="users")
* @ORM\Entity(repositoryClass="BackOfficeBundle\Entity\UserRepository")
*/
class User implements UserInterface, \Serializable
{
/**
* @ORM\Column(ty... | mit |
Pankiev/MMORPG_Prototype | ClientServerCommon/src/main/java/pl/mmorpg/prototype/clientservercommon/packets/levelup/LevelUpPacket.java | 261 | package pl.mmorpg.prototype.clientservercommon.packets.levelup;
import lombok.Data;
import pl.mmorpg.prototype.clientservercommon.registering.Registerable;
@Registerable
@Data
public class LevelUpPacket
{
private long targetId;
private int levelUpPoints;
}
| mit |
cubemoon/GolfCLUB | controllers/game/array3.js | 2207 | /*
#!/usr/local/bin/node
-*- coding:utf-8 -*-
Copyright 2013 freedom Inc. All Rights Reserved.
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/LI... | mit |
kyleconroy/webtest | docs/index_fixt.py | 187 | # -*- coding: utf-8 -*-
from doctest import ELLIPSIS
def setup_test(test):
for example in test.examples:
example.options.setdefault(ELLIPSIS, 1)
setup_test.__test__ = False
| mit |
MovieCast/api | packages/server/src/services/user.service.js | 1466 | import { User } from '@moviecast/api-models';
import jwt from 'jsonwebtoken';
import bcrypt from 'bcrypt';
import Boom from 'boom';
class UserService {
async getUser(id) {
return await User.findById(id);
}
/**
* Creates a jwt token for given user
* @param {User} user User to get token for.
*/
cre... | mit |
nerdsrescueme/Core | Nerd/Url/Driver/Current.php | 909 | <?php
/**
* URL namespace. This namespace is reserved for classes relavent
* to dealing with (U)niform (R)esource (L)ocaters within Nerd.
*
* @package Nerd
* @subpackage URL
*/
namespace Nerd\Url\Driver;
// Aliasing rules
use \Nerd\Config;
/**
* Current URL Driver
*
* @package Nerd
* @subpackage URL
*/
class Current... | mit |
nidev/rbitter | lib/rbitter/xmlrpcd/base.rb | 569 | # encoding: utf-8
module RPCHandles
RH_INFO = Struct.new("RPCHANDLE_INFO", :name, :version, :author, :description) {
def digest
"<rpchandle: #{name}-#{version} (written by #{author}, #{description})>"
end
}
module BaseHandle
# If a handler doesn't require an authorization, please inherit below... | mit |
amnn/lingua | app/controllers/registrations_controller.rb | 237 | class RegistrationsController < Devise::RegistrationsController
protected
def after_sign_up_path_for( resource )
new_user_session_path
end
def after_inactive_sign_up_path_for( resource )
new_user_session_path
end
end | mit |
dgfitch/piggybank | lib/piggybank/version.rb | 218 | # Part of the Piggybank library for interacting with COINS
# Copyright 2014 Board of Regents of the University of Wisconsin System
# Released under the MIT license; see LICENSE
class Piggybank
VERSION = "0.0.2"
end
| mit |
mzrimsek/resume-site-api | Core/Models/JobDomainModel.cs | 380 | using System;
namespace Core.Models
{
public class JobDomainModel
{
public int Id { get; set; }
public string Name { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Title { get; set; }
public DateTime StartDate { get; ... | mit |
visGeek/JavaVisGeekCollections | src/src/main/java/com/github/visgeek/utils/collections/LinqTakeWhileIterator.java | 1406 | package com.github.visgeek.utils.collections;
import java.util.Iterator;
import com.github.visgeek.utils.functions.IndexedPredicate;
import com.github.visgeek.utils.functions.Predicate;
class LinqTakeWhileIterator<T> extends AbstractConvertedEnumerator<T, T> {
LinqTakeWhileIterator(Iterable<T> source, Predi... | mit |
lucasmichot/Carbon | tests/Localization/HiInTest.php | 13520 | <?php
declare(strict_types=1);
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tests\Localization;
/**
* @group localization
*/
c... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-10-01/generated/azure_mgmt_network/models/p2svpn_server_config_vpn_client_revoked_certificate.rb | 2844 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2018_10_01
module Models
#
# VPN client revoked certificate of P2SVpnServerConfiguration.
#
class P2SVpnServ... | mit |
dohzoh/lession | ChakraSolution01/Hello World/C#/HelloWorld/Hosting/JavaScriptValueType.cs | 1832 | namespace ChakraHost.Hosting
{
/// <summary>
/// The JavaScript type of a JavaScriptValue.
/// </summary>
public enum JavaScriptValueType
{
/// <summary>
/// The value is the <c>undefined</c> value.
/// </summary>
Undefined = 0,
/// <summary>
... | mit |
OSU-USLI-18/OSU-USLI-18.github.io | js/index.js | 1208 |
let imageList = [
'https://instagram.com/p/BeUIP5YnEDH/media/?size=l',
'https://instagram.com/p/BeUIG7jn2kj/media/?size=l',
'https://instagram.com/p/BeUHCdbnb7f/media/?size=l',
'https://instagram.com/p/BeUHaURHc9G/media/?size=l',
'img/header-bg-1.jpg',
'img/header-bg-2.jpg'
];
var transitionSta... | mit |
sashavolv2/blocklang | embed/numbers.cpp | 2968 | #include "numbers.h"
#include "string.h"
#include "../core/blocks.h"
#include <functional>
#include <cmath>
//TODO if context is null, assume the current block
NumberImmediate::~NumberImmediate() {}
void NumberImmediate::create_attributes() {
typedef CppEmbedInstance<number_type> number_type_instance;
... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2020-07-01/generated/azure_mgmt_network/models/public_ipprefix_sku_tier.rb | 383 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2020_07_01
module Models
#
# Defines values for PublicIPPrefixSkuTier
#
module PublicIPPrefixSkuTier
R... | mit |
jazzbom/JBSC | src/main/java/com/jbsc/JbscCrmApplication.java | 870 | package com.jbsc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Pro... | mit |
devos1/PProgDist_EAPWeb | src/mobiOsLo/actions/SaveCatVehiculeAction.java | 1718 | package mobiOsLo.actions;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;
import com.opensymphony.xwork2.ActionSupport;
import entities.CategorieVehicul... | mit |
morsaken/webim | Webim/Database/Driver/Factory.php | 5381 | <?php
/**
* @author Orhan POLAT
*/
namespace Webim\Database\Driver;
use PDO;
use Webim\Database\Driver\Mysql\Connection as MysqlConnection;
use Webim\Database\Driver\Mysql\Connector as MysqlConnector;
use Webim\Database\Driver\Postgres\Connection as PostgresConnection;
use Webim\Database\Driver\Postgres\Connector a... | mit |
cdnjs/cdnjs | ajax/libs/highcharts/9.1.0/indicators/chaikin.js | 4119 | /*
Highstock JS v9.1.0 (2021-05-03)
Indicator series type for Highcharts Stock
(c) 2010-2021 Wojciech Chmiel
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/chaikin"... | mit |
Klakier/shuffle-table | src/Utils/array-helpers.js | 193 | export function removeItem(array, predicate) {
let index = array.findIndex(predicate);
if(index === -1) {
return false;
}
array.splice(index, 1);
return true;
} | mit |
sowcow/dialog_tui | test/minitest_helper.rb | 108 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'dialog_tui'
require 'minitest/autorun'
| mit |
johnnygreco/hugs | slurm/slurm-run-hugs.py | 2022 | ##############################################
# Submit slurm jobs for running hugs
##############################################
import os
import subprocess
from argparse import ArgumentParser
from hugs.utils import project_dir, mkdir_if_needed
from hugs import slurm
from hugs.log import logger
script_dir = '/tigress... | mit |
wyrover/SharpDX | Source/SharpDX.RawInput/RegisterDeviceOptions.cs | 1893 | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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, modi... | mit |
hstarorg/LoveStory | 03_笨笨助手/ClumsyAssistant/Models/MaterialEntity.cs | 695 | namespace ClumsyAssistant.Models
{
public class MaterialEntity
{
/// <summary>
/// 物料代码
/// </summary>
public string MaterialCode { get; set; }
/// <summary>
/// 物料批次
/// </summary>
public string MaterialBatch { get; set; }
/// <summary... | mit |
yangdw/repo.java | src/main/java/com/annotations/openface/sdk/net/util/IConnector.java | 189 | package com.annotations.openface.sdk.net.util;
public interface IConnector {
/**
* 连接断开,由IoReader发出调用
* @param linkId
*/
void closeLink(int linkId);
}
| mit |
ronekko/chainer | chainer/training/trainer.py | 14336 | import collections
import os
import sys
import time
import traceback
import six
from chainer import reporter as reporter_module
from chainer import serializer as serializer_module
from chainer.training import extension as extension_module
from chainer.training import trigger as trigger_module
from chainer.utils impor... | mit |
mathemage/CompetitiveProgramming | fbhackcup/2020/round2/A/A.cpp | 6835 |
/* ========================================
ID: mathema6
TASK: A
LANG: C++14
* File Name : A.cpp
* Creation Date : 20-09-2021
* Last Modified : Po 20. září 2021, 21:30:58
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://www.facebook.com/codingcompetitions/hacker-cup/2020/round-2... | mit |
PeterSR/DM554 | LP/simplex.py | 4773 | from Util.latex import *
import numpy as np
# Simplex method
#
# Input: Tableau (class created by performing slice() on matrix)
# Output: List of variables in basis (0-indexed, so [1,0,4,5] means that x2, x1, x5 and x6 are in the basis).
#
# The implementation assumes a maximization problem and less-than-or-equa... | mit |
OpenKastle/textgo | TextGo/Arguments.cpp | 3716 | #include "Arguments.h"
#include <iostream>
#include <algorithm>
Arguments::Arguments(int argc, char* argv[])
{
Parse(argc, argv);
}
void Arguments::Parse(int argc, char* argv[])
{
if (argc < 2)
{
m_valid = false;
return;
}
int currentArg = 1;
while (currentArg < argc)
{
... | mit |
cdnjs/cdnjs | ajax/libs/tom-select/1.1.0/js/plugins/no_backspace_delete.js | 1568 | /**
* Tom Select v1.1.0
* Licensed under the Apache License, Version 2.0 (the "License");
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../../tom-select.ts')) :
typeof define === 'function' && define.amd ? define(['../../tom-select.ts'], factory) :
... | mit |
cdnjs/cdnjs | ajax/libs/react/18.0.0-alpha-05726d72c-20210927/umd/react.development.js | 107984 | /** @license React vundefined
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !... | mit |
cdnjs/cdnjs | ajax/libs/jqwidgets/13.1.0/jqwidgets-ts/angular_jqxdockinglayout.ts | 8521 | /*
jQWidgets v13.1.0 (2021-Nov)
Copyright (c) 2011-2021 jQWidgets.
License: https://jqwidgets.com/license/
*/
/* eslint-disable */
/// <reference path="jqwidgets.d.ts" />
import '../jqwidgets/jqxcore.js';
import '../jqwidgets/jqxbuttons.js';
import '../jqwidgets/jqxwindow.js';
import '../jqwidgets/jqxribbon.js'... | mit |
cdnjs/cdnjs | ajax/libs/react/18.0.0-alpha-79b8fc667-20210920/cjs/react.development.js | 83544 | /** @license React vundefined
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
if (process.env.NODE_ENV !== "production") {
(function() {
'... | mit |
cdnjs/cdnjs | ajax/libs/highcharts/9.2.1/es-modules/masters/modules/debugger.src.js | 440 | /**
* @license Highcharts JS v9.2.1 (2021-08-19)
* @module highcharts/modules/debugger
* @requires highcharts
*
* Debugger module
*
* (c) 2012-2021 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import Highcharts from '../../Core/Globals.js';
import ErrorMessages from '../../Extension... | mit |
cdnjs/cdnjs | ajax/libs/boardgame-io/0.47.10/esm/reducer-ac0d57b2.js | 44813 | import { e as error, G as GameMethod, E as EnhanceCtx, T as TurnOrder, S as Stage, a as SetActivePlayers, i as info, F as FnWrap, I as InitTurnOrderState, U as UpdateTurnOrderState, b as UpdateActivePlayersOnceEmpty, g as gameEvent, P as PATCH, c as PLUGIN, d as ProcessAction, R as REDO, f as UNDO, h as SYNC, j as UPDA... | mit |
cdnjs/cdnjs | ajax/libs/highcharts/9.0.0/modules/draggable-points.js | 16615 | /*
Highcharts JS v9.0.0 (2021-02-02)
(c) 2009-2019 Torstein Honsi
License: www.highcharts.com/license
*/
(function(e){"object"===typeof module&&module.exports?(e["default"]=e,module.exports=e):"function"===typeof define&&define.amd?define("highcharts/modules/draggable-points",["highcharts"],function(l){e(l);e.High... | mit |
cdnjs/cdnjs | ajax/libs/embla-carousel/2.8.0/components/scrollSnap.d.ts | 309 | import { Alignment } from './alignment';
declare type Params = {
snapSizes: number[];
alignment: Alignment;
loop: boolean;
};
export declare type ScrollSnap = {
measure: (snapSize: number, index: number) => number;
};
export declare function ScrollSnap(params: Params): ScrollSnap;
export {};
| mit |
cdnjs/cdnjs | ajax/libs/ember.js/3.28.8/ember-testing.js | 80544 | (function() {
/*!
* @overview Ember - JavaScript Application Framework
* @copyright Copyright 2011-2021 Tilde Inc. and contributors
* Portions Copyright 2006-2011 Strobe Inc.
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* ... | mit |
cdnjs/cdnjs | ajax/libs/tabulator/4.5.1/js/modules/resize_table.min.js | 797 | /* Tabulator v4.5.1 (c) Oliver Folkerd */
var ResizeTable=function(e){this.table=e,this.binding=!1,this.observer=!1};ResizeTable.prototype.initialize=function(e){var i=this.table;"undefined"!=typeof ResizeObserver&&"virtual"===i.rowManager.getRenderMode()?(this.observer=new ResizeObserver(function(e){(!i.browserMobile|... | mit |
lfreneda/cepdb | api/v1/68508435.jsonp.js | 142 | jsonp({"cep":"68508435","logradouro":"Quadra Vinte e Um","bairro":"Nova Marab\u00e1","cidade":"Marab\u00e1","uf":"PA","estado":"Par\u00e1"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/13105036.jsonp.js | 166 | jsonp({"cep":"13105036","logradouro":"Rua Rei Salom\u00e3o","bairro":"Jardim Concei\u00e7\u00e3o (Sousas)","cidade":"Campinas","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/77020114.jsonp.js | 146 | jsonp({"cep":"77020114","logradouro":"Quadra 108 Sul Alameda 12","bairro":"Plano Diretor Sul","cidade":"Palmas","uf":"TO","estado":"Tocantins"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/68513677.jsonp.js | 152 | jsonp({"cep":"68513677","logradouro":"Rua S\u00e3o Francisco","bairro":"S\u00e3o F\u00e9lix I","cidade":"Marab\u00e1","uf":"PA","estado":"Par\u00e1"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/41306005.jsonp.js | 159 | jsonp({"cep":"41306005","logradouro":"Travessa Jerusal\u00e9m","bairro":"Nova Bras\u00edlia de Val\u00e9ria","cidade":"Salvador","uf":"BA","estado":"Bahia"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/24358410.jsonp.js | 141 | jsonp({"cep":"24358410","logradouro":"Rua das Tainhas","bairro":"Piratininga","cidade":"Niter\u00f3i","uf":"RJ","estado":"Rio de Janeiro"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/86812700.jsonp.js | 150 | jsonp({"cep":"86812700","logradouro":"Rua Afonso Jos\u00e9 Costa","bairro":"Jardim Santiago","cidade":"Apucarana","uf":"PR","estado":"Paran\u00e1"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/23850180.jsonp.js | 140 | jsonp({"cep":"23850180","logradouro":"Rua P\u00e1tria","bairro":"Seropedica","cidade":"Itagua\u00ed","uf":"RJ","estado":"Rio de Janeiro"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/96083110.jsonp.js | 150 | jsonp({"cep":"96083110","logradouro":"Rua Cidade de Faro","bairro":"Recanto de Portugal","cidade":"Pelotas","uf":"RS","estado":"Rio Grande do Sul"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/78115320.jsonp.js | 154 | jsonp({"cep":"78115320","logradouro":"Rua Major Jo\u00e3o Vieira","bairro":"Construmat","cidade":"V\u00e1rzea Grande","uf":"MT","estado":"Mato Grosso"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/72420260.jsonp.js | 152 | jsonp({"cep":"72420260","logradouro":"Quadra Quadra 26","bairro":"Setor Oeste (Gama)","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/30575340.jsonp.js | 159 | jsonp({"cep":"30575340","logradouro":"Rua David Maur\u00edlio Mour\u00e3o","bairro":"Palmeiras","cidade":"Belo Horizonte","uf":"MG","estado":"Minas Gerais"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/04142020.jsonp.js | 142 | jsonp({"cep":"04142020","logradouro":"Rua Guair\u00e1","bairro":"Sa\u00fade","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
ZagasTales/HistoriasdeZagas | src Graf/es/thesinsprods/zagastales/juegozagas/jugar/master/npc6/NPC6.java | 20564 | package es.thesinsprods.zagastales.juegozagas.jugar.master.npc6;
import java.awt.EventQueue;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.sql.Connection;
import java.sql.Result... | cc0-1.0 |
lfreneda/cepdb | api/v1/67146091.jsonp.js | 146 | jsonp({"cep":"67146091","logradouro":"Rua Rodrigues Alves","bairro":"Curu\u00e7amb\u00e1","cidade":"Ananindeua","uf":"PA","estado":"Par\u00e1"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/04011010.jsonp.js | 157 | jsonp({"cep":"04011010","logradouro":"Rua Professor Carlos Cattony","bairro":"Vila Mariana","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/59124400.jsonp.js | 138 | jsonp({"cep":"59124400","logradouro":"Avenida Itapetinga","bairro":"Potengi","cidade":"Natal","uf":"RN","estado":"Rio Grande do Norte"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/71727502.jsonp.js | 160 | jsonp({"cep":"71727502","logradouro":"Conjunto QOF Conjunto B","bairro":"Candangol\u00e2ndia","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/65058232.jsonp.js | 146 | jsonp({"cep":"65058232","logradouro":"Rua 07","bairro":"Cidade Oper\u00e1ria","cidade":"S\u00e3o Lu\u00eds","uf":"MA","estado":"Maranh\u00e3o"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/28083400.jsonp.js | 172 | jsonp({"cep":"28083400","logradouro":"Rua Luiz Paulo de Campos","bairro":"Parque Presidente Vargas","cidade":"Campos dos Goytacazes","uf":"RJ","estado":"Rio de Janeiro"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/54705113.jsonp.js | 171 | jsonp({"cep":"54705113","logradouro":"3\u00aa Travessa Santa In\u00eas","bairro":"Capibaribe","cidade":"S\u00e3o Louren\u00e7o da Mata","uf":"PE","estado":"Pernambuco"});
| cc0-1.0 |
Darkin47/SagaRevised | Saga.Scripting/Spells/Spells Enchanter/Heal.cs | 824 | using Saga.Map;
using Saga.PrimaryTypes;
namespace Saga.Skills
{
static partial class Spelltable
{
public static void ENCHANTER_HEAL(SkillBaseEventArgs bargument)
{
Actor asource = bargument.Sender as Actor;
Actor atarget = bargument.Target as Actor;
if (bar... | cc0-1.0 |
lfreneda/cepdb | api/v1/12940214.jsonp.js | 157 | jsonp({"cep":"12940214","logradouro":"Rua Ant\u00f4nio Gabriel do Amaral","bairro":"Jardim Brasil","cidade":"Atibaia","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/35300215.jsonp.js | 146 | jsonp({"cep":"35300215","logradouro":"Rua Jaguanharo da Silveira","bairro":"Santa Cruz","cidade":"Caratinga","uf":"MG","estado":"Minas Gerais"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/68500160.jsonp.js | 153 | jsonp({"cep":"68500160","logradouro":"Travessa Mestre Ol\u00edvio","bairro":"Velha Marab\u00e1","cidade":"Marab\u00e1","uf":"PA","estado":"Par\u00e1"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/59022380.jsonp.js | 144 | jsonp({"cep":"59022380","logradouro":"Rua Jos\u00e9 Farache","bairro":"Lagoa Seca","cidade":"Natal","uf":"RN","estado":"Rio Grande do Norte"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/02911100.jsonp.js | 157 | jsonp({"cep":"02911100","logradouro":"Rua Pedro de Melo Sousa","bairro":"Vila Arc\u00e1dia","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |