repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
SonarSource/sonar-javascript
javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionSecureModeCheck.java
1307
/* * SonarQube JavaScript Plugin * Copyright (C) 2011-2021 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...
lgpl-3.0
ari-zah/gaiasandbox
core/src/gaiasky/desktop/util/SysUtils.java
9893
/* * This file is part of Gaia Sky, which is released under the Mozilla Public License 2.0. * See the file LICENSE.md in the project root for full license details. */ package gaiasky.desktop.util; import gaiasky.util.Logger; import gaiasky.util.Logger.Log; import java.io.IOException; import java.nio.file.Files; i...
lgpl-3.0
Taiterio/ce
src/com/taiter/ce/Enchantments/Global/Headless.java
2233
package com.taiter.ce.Enchantments.Global; import org.bukkit.Material; import org.bukkit.entity.Creeper; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.entity.Skeleton; import org.bukkit.entity.Skeleton.SkeletonType; import org.bukkit.entity.Zombie; import org.bukkit.event.Ev...
lgpl-3.0
Spoutcraft/Spoutcraft
src/main/java/net/minecraft/src/ItemArmor.java
6355
package net.minecraft.src; // MCPatcher Start import com.prupe.mcpatcher.cc.ColorizeEntity; // MCPatcher End public class ItemArmor extends Item { /** Holds the 'base' maxDamage that each armorType have. */ private static final int[] maxDamageArray = new int[] {11, 16, 15, 13}; private static final String[] field...
lgpl-3.0
ideals/Ideal-CMS
Library/Cron/CronClass.php
14959
<?php namespace Cron; class CronClass { /** @var array Обработанный список задач крона */ protected $cron = array(); /** @var string Путь к файлу с задачами крона */ protected $cronFile; /** @var string Адрес, на который будут высылаться уведомления с крона */ protected $cronEmail; /** @...
lgpl-3.0
Frankie-PellesC/fSDK
Lib/src/strmiids/X64/strmiids0000008F.c
466
// Created file "Lib\src\strmiids\X64\strmiids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, ...
lgpl-3.0
drzhonghao/grapa
jung-algorithms/src/main/java/edu/uci/ics/jung/algorithms/filters/VertexPredicateFilter.java
2185
/* * Created on May 19, 2008 * * Copyright (c) 2008, The JUNG Authors * * All rights reserved. * * This software is open-source under the BSD license; see either * "license.txt" or * https://github.com/jrtom/jung/blob/master/LICENSE for a description. */ package edu.uci.ics.jung.algorithms.filters; import j...
lgpl-3.0
SonarSource/sonarqube
server/sonar-webserver-core/src/main/java/org/sonar/server/ce/CeModule.java
1241
/* * SonarQube * Copyright (C) 2009-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 the License, o...
lgpl-3.0
Godin/sonar
server/sonar-web/src/main/js/apps/projects/filters/__tests__/SearchFilterContainer-test.tsx
1288
/* * SonarQube * Copyright (C) 2009-2019 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 the License, o...
lgpl-3.0
MetaModels/core
src/Helper/ContaoController.php
2956
<?php /** * This file is part of MetaModels/core. * * (c) 2012-2019 The MetaModels team. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * This project is provided in good faith and hope to be usable by anyone. * * @package M...
lgpl-3.0
rmeekers/Google-Analytics-Manager
src/index.html
9420
<!-- /** Google Analytics Manager * Manage your Google Analytics account in batch via a Google Sheet * * @license GNU LESSER GENERAL PUBLIC LICENSE Version 3 * @author Rutger Meekers [rutger@meekers.eu] * @version 1.5 * @see {@link http://rutger.meekers.eu/Google-Analytics-Manager/ Project Page} * */ --> <!DOCT...
lgpl-3.0
ampayne2/AlmightyNotch
src/main/java/ninja/amp/almightynotch/event/player/QuicksandEvent.java
931
/* * This file is part of AlmightyNotch. * * Copyright (c) 2014 <http://dev.bukkit.org/server-mods/almightynotch//> * * AlmightyNotch 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 versio...
lgpl-3.0
TheE/Intake
intake-example/src/main/java/com/sk89q/intake/example/i18n/ExampleResourceProvider.java
1183
/* * Intake, a command processing library * Copyright (C) sk89q <http://www.sk89q.com> * Copyright (C) Intake team and contributors * * 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...
lgpl-3.0
Frankie-PellesC/fSDK
Lib/src/Uuid/X64/guids00000465.c
456
// Created file "Lib\src\Uuid\X64\guids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b...
lgpl-3.0
Frankie-PellesC/fSDK
Lib/src/PortableDeviceGuids/X64/guids000000E3.c
470
// Created file "Lib\src\PortableDeviceGuids\X64\guids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b...
lgpl-3.0
fhermeni/btrplace-btrpsl
src/test/java/btrplace/btrpsl/constraint/DefaultConstraintsCatalogTest.java
1816
/* * Copyright (c) 2013 University of Nice Sophia-Antipolis * * This file is part of btrplace. * 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 Foundation, either version 3 of the License, or * (at yo...
lgpl-3.0
infinitycoding/huge
src/sdl/sdl.cpp
2586
/* Copyright 2012-2014 Infinitycoding all rights reserved This file is part of the HugeUniversalGameEngine. HUGE 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 vers...
lgpl-3.0
xrlopez/ABP
controller/JuradoProfesionalController.php
6331
<?php require_once(__DIR__."/../model/JuradoProfesional.php"); require_once(__DIR__."/../model/JuradoProfesionalMapper.php"); require_once(__DIR__."/../model/User.php"); require_once(__DIR__."/../model/UserMapper.php"); require_once(__DIR__."/../model/Concurso.php"); require_once(__DIR__."/../model/ConcursoMapper.php...
lgpl-3.0
sockethub/sockethub-platform-xmpp
lib/incoming-handlers.js
7988
let idCounter = 0; function nextId() { return ++idCounter; } // if the platform throws an exception, the worker will kill & restart it, however if a callback comes in there could // be a race condition which tries to still access session functions which have already been terminated by the worker. // this function ...
lgpl-3.0
RoanKanninga/NGS_DNA
protocols/SnpEff.sh
1339
#Parameter mapping #string tmpName #string tempDir #string intermediateDir #string projectVariantCallsSnpEff_Annotated #string projectVariantCallsSnpEff_SummaryHtml #string projectBatchGenotypedAnnotatedVariantCalls #string project #string logsDir #string groupname #string tmpDataDir #string snpEffVersion #string jav...
lgpl-3.0
axsh/openvnet
vnet/lib/vnet/event.rb
13317
# -*- coding: utf-8 -*- module Vnet module Event # # Shared events: # ACTIVATE_INTERFACE = "activate_interface" DEACTIVATE_INTERFACE = "deactivate_interface" # *_INITIALIZED # # First event queued after the non-yielding and non-blocking # initialization of an item query from th...
lgpl-3.0
qian256/HoloLensARToolKit
ARToolKitUWP/ARToolKitUWP/src/ARMarkerSquare.cpp
8515
/* * ARMarkerSquare.cpp * ARToolKitUWP * * This work is a modified version of the original "ARMarkerSquare.cpp" of * ARToolKit. The copyright and license information of ARToolKit is included * in this document as required by its GNU Lesser General Public License * version 3. * * This file is a part of ARToolKitU...
lgpl-3.0
cnsoft/kbengine-cocos2dx
kbe/src/server/cellappmgr/cellappmgr_interface.hpp
3080
/* This source file is part of KBEngine For the latest info, see http://www.kbengine.org/ Copyright (c) 2008-2012 KBEngine. KBEngine 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 ...
lgpl-3.0
nightscape/JMathLib
src/jmathlibtests/toolbox/string/testStrncmp.java
1263
package jmathlibtests.toolbox.string; import jmathlib.tools.junit.framework.JMathLibTestCase; import junit.framework.Test; import junit.framework.TestSuite; public class testStrncmp extends JMathLibTestCase { public testStrncmp(String name) { super(name); } public static void main (String[] args)...
lgpl-3.0
skuater/radare2
libr/cons/output.c
9697
/* radare - LGPL - Copyright 2009-2019 - pancake */ #include <r_cons.h> #include <r_util/r_assert.h> #define I r_cons_singleton () #if __WINDOWS__ static void __fill_tail(int cols, int lines) { lines++; if (lines > 0) { char white[1024]; cols = R_MIN (cols, sizeof (white)); memset (white, ' ', cols - 1); li...
lgpl-3.0
lunarray-org/model-descriptor
src/test/java/org/lunarray/model/descriptor/test/domain/SampleEntity18.java
2482
/* * Model Tools. * Copyright (C) 2013 Pal Hargitai (pal@lunarray.org) * * 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 the * License, or (at your option) an...
lgpl-3.0
passcod/My-Manga
res/chapter.css
271
section { text-align: center; border-bottom: 1em solid black; margin-bottom: 3em; padding-bottom: 1em; } section img { margin: 1em auto; border: 1em solid white; } section h1 { font-size: 3em; margin-bottom: 0.5em; } section h2 { font-size: 2em; }
unlicense
jezzsantos/ssauthz
src/Services.Interfaces/DataContracts/IUserAccount.gen.cs
1722
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------------------...
unlicense
givanse/broccoli-babel-examples
es6-website/src/index.html
767
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>ES6 Today</title> <meta name="description" content="Using ES6 today with Broccoli and Babel"> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <style> ...
unlicense
samuelskanberg/riksdagen-crawler
scraper.py
4168
#!/usr/bin/env python # -*- coding: utf-8 -*- from lxml import html import requests import csv, codecs, cStringIO import sys class Person: def __init__(self, party, name, email): self.party = party self.name = name self.email = email class UnicodeWriter: """ A CSV writer which wi...
unlicense
NizarHafizulllah/pertanahan
application/modules/regis_kec/controllers/regis_kec.php
8314
<?php class regis_kec extends kecamatan_controller{ var $controller; function regis_kec(){ parent::__construct(); $this->controller = get_class($this); $this->load->model('regis_kec_model','dm'); $this->load->model("coremodel","cm"); //$this->load->helper("serviceurl"); } function ind...
unlicense
Edisonangela/manager
app/models/concerns/collectable.rb
379
module Collectable extend ActiveSupport::Concern included do attr_readonly :collectors_count has_many :collections, as: :target has_many :collectors, through: :collections, class_name: 'User', source: :user end def collected_by?(current_user) return false if current_user.nil? !!...
unlicense
cc14514/hq6
hq-api/src/main/java/org/hyperic/hq/api/model/ResourceConfig.java
3524
package org.hyperic.hq.api.model; import java.io.Serializable; import java.util.Collection; import java.util.HashMap; import java.util.Map; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import org.hyperic.hq...
unlicense
pythonpatterns/patterns
p0171.py
323
import matplotlib.pyplot as plt import numpy as np n = 50 x = np.random.randn(n) y = x * np.random.randn(n) fig, ax = plt.subplots(2, figsize=(6, 6)) ax[0].scatter(x, y, s=50) sizes = (np.random.randn(n) * 8) ** 2 ax[1].scatter(x, y, s=sizes) fig.show() """( ![Plot](/assets/img/pp/patterns/p0171_1.png "output") )"...
unlicense
Yury191/brownstonetutors
GroupInvitations/apps.py
144
from django.apps import AppConfig class GroupInvitationsConfig(AppConfig): name = 'GroupInvitations' verbose_name = 'Group Invitations'
unlicense
AdrianPT/Eureka-PLC
src/PLCv4/Models/ApplicationRoleListViewModel.cs
369
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PLCv4.Models { public class ApplicationRoleListViewModel { public string Id { get; set; } public string RoleName { get; set; } public string Description { get; set; } pu...
unlicense
XihuLai/Points
README.md
210
# Points record some common usage of c/c++/lua/java tech in code directory record usefull link or content in doc directory libcurl.zip, package with scripts to build curl with c-ares and ssl used on android
unlicense
rick-li/quiz
src/main/webapp/admin/app/templates/login.html
838
<div class="login-popout"> <div class="container"> <div class="row"> <div class=""> <!-- <h1 class="text-center login-title">Must Login</h1> --> <div class="account-wall"> <img class="profile-img" src="./img/user.png" alt=""> <form ...
unlicense
kuakman/app-start-pipeline
scripts/html.js
526
/** * Gulp Task HTML * @author kuakman <3dimentionar@gmail.com> **/ let fs = require('fs-extra'); let _ = require('underscore'); let spawnSync = require('child_process').spawnSync; module.exports = function(package, args) { return () => { return spawnSync('./node_modules/.bin/pug', [ '--path', './src/html', '...
unlicense
picodotdev/blog-ejemplos
EntitiesId/src/test/java/io/github/picodotdev/blogbitix/entitiesid/domain/product/ProductRepositoryTest.java
1085
package io.github.picodotdev.blogbitix.entitiesid.domain.product; import io.github.picodotdev.blogbitix.entitiesid.DefaultPostgresContainer; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springfr...
unlicense
ConflictingTheories/scripts
javascript/lib/nSplit.js
2366
function nSplit(msg, n) { let expr = new RegExp(".{1," + n + "}", "g"); let presplit = msg.match(expr); let twoSplit = presplit.map((x) => { if (x.length != n) { let i = 0; let ret = ""; while (i < n - x.length) { ret += " "; i++ ...
unlicense
WolfGaming/NutraloafProject
README.md
293
# NutraloafProject ## Description A project for a class involving deciding on food to provide for customers each day. ## How to Run Install NodeJS and the NPM package manager on your system Run npm install Run the start.sh script (windows might have to copy the line inside the script file).
unlicense
ALanHua/Object-C
day17/代理设计模式练习及规范/LinkHome.h
194
// // LinkHome.h // day17 // // Created by yhp on 16/2/2. // Copyright © 2016年 YouHuaPei. All rights reserved. // #import <Foundation/Foundation.h> @interface LinkHome : NSObject @end
unlicense
bitmovin/bitmovin-python
bitmovin/resources/enums/h264_trellis.py
144
import enum class H264Trellis(enum.Enum): DISABLED = 'DISABLED' ENABLED_FINAL_MB = 'ENABLED_FINAL_MB' ENABLED_ALL = 'ENABLED_ALL'
unlicense
sandycho/spring-security-module
spring_security_module/src/main/webapp/WEB-INF/views/html/hello.html
403
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <title>Insert title here</title> </head> <body> <h1>Title : ${title}</h1> <h1>Message : ${message}</h1> <div class="container bg_white"> <div id="nombre_usuario"> <span id="dir" th:text="${title}">Se rellena con lo que contenga tittle</span> <span id="di...
unlicense
mamu7211/VisioPomAnalyzer
PomExplorer/PomExplorer/VisioDrawing/PomPainter.cs
5331
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Visio = Microsoft.Office.Interop.Visio; using VisCellIndicies = Microsoft.Office.Interop.Visio.VisCellIndices; using VisSectionIndices = Microsoft.Office.Interop.Visio.VisSectionIndices; us...
unlicense
agguro/linux-assembly-programming
Examples/networking/readme.md
346
### Network examples #### httpserver home made http server based on [asmutils](http://asm.sourceforge.net/asmutils.html), listens to localhost:4444 #### sockettest program to test connectivity with localhost:4444 #### sslsocket program to get the web contents of a https site libssl-dev libgcrypt20-dev are requi...
unlicense
maikodaraine/EnlightenmentUbuntu
bindings/elev8/data/javascript/radio.js
2132
#!/usr/local/bin/elev8 var EXPAND_BOTH = { x : 1.0, y : 1.0 }; var FILL_BOTH = { x : -1.0, y : -1.0 }; var logo_icon = elm.Icon ({ image : elm.datadir + "data/images/logo_small.png", }); var logo_icon_unscaled = elm.Icon ({ image : elm.datadir + "data/images/logo_small.png", resizable_up : false, res...
unlicense
varpeti/Suli
Angol/Előad/p009.cpp
399
#include <iostream> int main(int argc, char const *argv[]) { int x = 1; int y = 9; printf("0. x:%i y:%i\n",x,y); //newbie int s; s = x; x = y; y = s; printf("1. x:%i y:%i\n",x,y); //hacker x=x+y; y=x-y; x=x-y; printf("2. x:%i y:%i\n",x,y); //pro hacker ...
unlicense
madeso/script-test
external/angelscript_2.35.0/docs/manual/angelscript_8h.html
237923
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" co...
unlicense
HenryLoenwind/EnderIO
enderio-conduits/src/main/java/crazypants/enderio/conduits/conduit/redstone/InsulatedRedstoneConduit.java
33880
package crazypants.enderio.conduits.conduit.redstone; import java.util.EnumMap; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.enderio.core.api.client.gui.ITabPanel; import com.enderio.co...
unlicense
trollderius/wouldyourather_phonegap
www/~commons/modules/tutorial/lang/fa.js
76
$.extend(window.lang_fa, { "helpStop": "متوقف کردن آموزش", });
unlicense
D-Inc/EnderIO
src/main/java/crazypants/enderio/machine/capbank/network/EnergyReceptor.java
2445
package crazypants.enderio.machine.capbank.network; import javax.annotation.Nonnull; import com.enderio.core.common.util.BlockCoord; import crazypants.enderio.conduit.IConduitBundle; import crazypants.enderio.conduit.power.IPowerConduit; import crazypants.enderio.machine.IoMode; import crazypants.enderio.machine.cap...
unlicense
yangjun2/android
telematics_android/src/com/hoperun/telematics/mobile/activity/FuelStateActivity.java
6629
/***************************************************************************** * * HOPERUN PROPRIETARY INFORMATION * * The information contained herein is proprietary to HopeRun * and shall not be reproduced or disclosed in whole or in part * or used for ...
unlicense
hyller/GladiatorCots
STM32F10x_StdPeriph_Lib/V3.1.X/Project/STM32F10x_StdPeriph_Examples/DAC/OneChannel_NoiseWave/main.c
4955
/** ****************************************************************************** * @file DAC/OneChannel_NoiseWave/main.c * @author MCD Application Team * @version V3.1.2 * @date 09/28/2009 * @brief Main program body. **********************************************************************...
unlicense
republib/reqt
cunit/cuReVM.cpp
1955
/* * cuReVM.cpp * * (Un)License: Public Domain * You can use and modify this file without any restriction. * Do what you want. * No warranties and disclaimer of any damages. * More info: http://unlicense.org * The latest sources: https://github.com/republib */ #include "base/rebase.hpp" #include "expr/reexpr....
unlicense
yuyaotsuka/core
include/core/meta/mathematics/set/Union.type.h
1620
#ifndef _core_meta_mathematics_set_Union #define _core_meta_mathematics_set_Union ::core::meta_mathematics_set_Union namespace core { template<typename ... A> struct meta_mathematics_set_Union_; template<typename ... A> using meta_mathematics_set_Union = typename meta_mathematics_set_Union_<A ...>::Value; } #inclu...
unlicense
luiz-simples/kauris
server/src/profile/profile.search.js
703
'use strict'; function ProfileSearch(injector) { var service = this; service.list = function(params) { var connection = injector.connection; var ProfileModel = injector.ProfileModel; var profileSearch = new ProfileModel(); var page = params.page || 1; var where = params.where || [];...
unlicense
pine613/chef-repo-nginx-php-fcgi
site-cookbooks/nginx-php-fcgi-default-site/README.md
1684
nginx-php-fcgi-default-site Cookbook ==================================== TODO: Enter the cookbook description here. e.g. This cookbook makes your favorite breakfast sandwich. Requirements ------------ TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, ...
unlicense
B1zDelNick/phaser-npm-webpack-typescript-starter-project-master
src/states/template/final/cross.button.ts
2417
import {GameConfig} from '../../../config/game.config'; import {GuiUtils} from '../../../utils/gui.utils'; import {isString} from 'util'; export class CrossButton { private state: Phaser.State = null; private game: Phaser.Game = null; private url: string = ''; private container: Phaser.Group = null; ...
unlicense
bon-secours/jeremie
_posts/2017-06-07-welcome-to-jekyll.markdown
1184
--- layout: default title: "Welcome to Jekyll!" date: 2017-06-07 21:35:59 +0200 --- You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web...
unlicense
gkellogg/gkellogg.github.io
galleries/Above the Bay Area/large-22.html
2208
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- STOCK BOOK DETAIL HTML --><head> <title>Above the Bay Area - Above the Bay Area 2008-04-23 16-51-04</title> <meta http-equiv="Content-Type" con...
unlicense
paly2/minetest-minetestforfun-server
mods/inventory_icon/init.lua
4424
inventory_icon = {} inventory_icon.hudids = {} inventory_icon.COLORIZE_STRING = "[colorize:#A00000:192" function inventory_icon.get_inventory_state(inv, listname) local size = inv:get_size(listname) local occupied = 0 for i=1,size do local stack = inv:get_stack(listname, i) if not stack:is_empty() then occu...
unlicense
gagarwal/codingproblemsandsolutions
src/BreadthAndDepthFirstSearch/IncreasingOrderBinarySearchTree.java
1654
package BreadthAndDepthFirstSearch; // https://leetcode.com/problems/increasing-order-search-tree/ import java.util.ArrayList; import java.util.Arrays; public class IncreasingOrderBinarySearchTree { private static class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int value) { val = value...
unlicense
emeeks/d3_in_action_2
chapter7/7_19.html
5105
<!doctype html> <html> <head> <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.2.8/d3.min.js" type="text/JavaScript"></script> <style> .link { stroke: #93C464; } marker { fill: #93C464; } </style> </head> <body> <div id="controls"> </div> <d...
unlicense
caiorss/Functional-Programming
scala/src/clockDisplayGui.scala
584
def runTimer(interval: Int, taskFn: () => Unit) = { val task = new java.util.TimerTask() { def run() { taskFn() } } val timer = new java.util.Timer() // Run the task every 1 second interval (or 1000 milli seconds) timer.schedule(task, 1, interval) timer } def currentTime() = { java.time....
unlicense
mattcoffey/node.js
chatServer.js
1002
var net = require('net') var chatServer = net.createServer(), clientList = [] chatServer.on('connection', function(client) { client.name = client.remoteAddress + ':' + client.remotePort client.write('Hi ' + client.name + '!\n'); console.log(client.name + ' joined') clientList.push(client) cl...
unlicense
Bozebo/buddhabrot
vec2.h
798
#ifndef HEADER_VEC2 #define HEADER_VEC2 namespace maths{ struct vec2 { float x, y; vec2() = default; vec2(const float &x, const float &y); bool operator==(const vec2 &other); bool operator!=(const vec2 &other); vec2& add(const vec2 &other); vec2& subtract(const vec2 &other); vec2...
unlicense
ghostxwheel/utorrent-webui
resources/sap/ui/model/odata/type/Guid-dbg.js
5646
/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['sap/ui/model/FormatException', 'sap/ui/model/odata/type/ODataType', 'sap/ui/model/ParseException', 'sap/...
unlicense
Sofronio/youtube-dl-gui
tests/test_utils.py
1981
#!/usr/bin/env python # -*- coding: utf-8 -*- """Contains test cases for the utils.py module.""" from __future__ import unicode_literals import sys import os.path import unittest PATH = os.path.realpath(os.path.abspath(__file__)) sys.path.insert(0, os.path.dirname(os.path.dirname(PATH))) try: from youtube_dl_g...
unlicense
kamilwu/fracx
src/escapeTimeFractal.cpp
904
#include "escapeTimeFractal.h" escapeTimeFractal::escapeTimeFractal() : fractal() { zoomed_fr_x_max = FR_X_MAX; zoomed_fr_x_min = FR_X_MIN; zoomed_fr_y_max = FR_Y_MAX; zoomed_fr_y_min = FR_Y_MIN; } void escapeTimeFractal::render(QImage *image, int begin, int end) { for (int i = begin; i < end; ++i) { for (int...
unlicense
raphaelsavina/mdl_gdgdublin_workshop
Step_2.html
1902
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="A simple tutorial for Material Design Lite."> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>MDL-Static Website - GDG...
unlicense
htpcaff/ezqueue
rollup.bat
93
set EZHOME=C:\ezqueue cd %EZHOME% call env.bat "C:\Program Files\nodejs\node.exe" .\app.js
unlicense
sunflowerdeath/broccoli-glob-filter
tests/test.js
5011
var assert = require('assert') var path = require('path') var fs = require('fs-extra') var sinon = require('sinon') var broccoli = require('broccoli') var Q = require('q') var Filter = require('..') describe('Filter', function() { var ORIG_DIR = path.join(__dirname, 'files') var DIR = path.join(__dirname, 'files-co...
unlicense
chrascher/cpp-poker
PokerEins/Deck.h
773
#pragma once #include <stack> #include <array> #include "Card.h" // # include "PokerApp.h" class PokerApp; /* * We have the Deck of cards to be a stack itself, so basically we can add additional infos * and limitations here to be able to enforce correct deck behaviour */ class Deck { private: PokerApp & app; ...
unlicense
mikewolfli/workflow
doxygen/html/classnstd__reason__list-members.html
9087
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
unlicense
kfazolin/biblia
language/es/bible/deuteronomy_14_9.html
92
De todo lo que está en el agua, de éstos podréis comer; todo lo que tiene aleta y escama.
unlicense
hhhayssh/nflpicks
src/main/webapp/javascript/nflpicks.js
78271
/** * * This is the "container" for global variables. I made it so we won't have to worry * about "conflicts" with local variable names. * */ var NFL_PICKS_GLOBAL = { /** * Here to store data from the server so we can hopefully load it once and then * get to it whenever it's needed as we're dealing with o...
unlicense
tdeeb/PaperMarioBattleSystem
PaperMarioBattleSystem/PaperMarioBattleSystem/Classes/Collectibles/Badges/TimingTutorBadge.cs
1310
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PaperMarioBattleSystem.Extensions; namespace PaperMarioBattleSystem { /// <summary> /// The Timing Tutor Badge - teaches the timing of Stylish Moves by showing a "!" above the ch...
unlicense
bitmovin/bitcodin-ruby
test/jobs/bitcodin_api_create_test.rb
9797
require 'test/unit' require 'bitcodin' require 'json' require 'coveralls' Coveralls.wear! module Bitcodin class BitcodinApiCreateTest < Test::Unit::TestCase def setup # read access information (e.g. api key, etc.) from file file = File.read('test/resources/settings.json') data = JSON.p...
unlicense
ripper234/v1.ripper234.com
p/2-physics-riddles/feed/index.html
3241
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel> <title>Comments on: 2 physics riddles</title>...
unlicense
mscam/django-automotive
automotive/south_migrations/0001_initial.py
2513
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Brand' db.create_table(u'automotive_brand', ( ...
unlicense
djmattyg007/MattyG.Http
src/Response.php
3333
<?php namespace MattyG\Http; class Response { /** * @var int */ protected $responseCode; /** * @var array */ protected $headers; /** * @var array */ protected $rawHeaders; /** * @var bool */ protected $headersSent; /** * @var string ...
unlicense
ninetwentyfour/Homkora
app/webroot/js/jqplot/examples/bezierCurve.html
4243
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="../src/jquery.jqplot.css" /> <link rel="stylesheet" type="text/css" href="examples.css" /> <!--[if IE]><script language="javascript" type="text/javascript" src="../src/excanvas.js"></script><![endif]--> <!-- BEGIN: load jquery --> ...
unlicense
Hemofektik/Druckwelle
3rdparty/GDAL/include/cpl_http.h
4144
/****************************************************************************** * $Id: cpl_http.h 32171 2015-12-13 20:39:43Z goatbar $ * * Project: Common Portability Library * Purpose: Function wrapper for libcurl HTTP access. * Author: Frank Warmerdam, warmerdam@pobox.com * ********************************...
unlicense
drenzul/lockeythings
public_html/helperclasses/database.php
1755
<?php //Database.php //require_once('config.php'); //Might add config file to pull this in from later class Database { protected static $connection; private function dbConnect() { $databaseName = 'lockeythings'; $serverName = 'localhost'; $databaseUser = 'lockey'...
unlicense
cragwen/hello-world
log/2018/181001.md
22
# 181001 see grandpa.
unlicense
haraldh/mkrescue-uefi
README.md
1477
# mkrescue-uefi Creates a custom BOOTX64.EFI from a linux kernel, initrd and kernel cmdline Lately Kay Sievers and David Herrmann created a UEFI loader stub, which starts a linux kernel with an initrd and a kernel command line, which are COFF sections of the executable. This enables us to create single UEFI executable...
unlicense
pakogn/offline-laravel-docs
api/4.2/Illuminate/Routing/Matching/ValidatorInterface.html
3382
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="robots" content="index, follow, all" /> <title>Illuminate\Routing\Matching\ValidatorInterface | Laravel API</title> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css"> ...
unlicense
dvelle/The-hustle-game-on-facebook-c.2010
hustle/hustle/test/estate.php
2104
<?php function getAssets($statName,$userID) { include 'connect.php'; $conn = mysql_connect($dbhost,$dbuser,$dbpass) or die ('Error connecting to mysql:'); mysql_select_db($dbname); createIfNotExists($statName,$userID); $query = sprintf("SELECT value FROM h_user_assets WHERE assets_id = (SELECT id FROM h_assets...
unlicense
suemcnab/react-youtube-pxn-open
src/components/video_detail.js
891
import React from 'react'; import Moment from 'moment'; import { Embed, Grid } from 'semantic-ui-react'; const VideoDetail = ({video}) => { if (!video){ return <div>Loading...</div>; } const videoId = video.id.videoId; const url = `https://www.youtube.com/embed/${videoId}`; const pubTime = Moment(video.snippet...
unlicense
dagostinelli/python-package-boilerplate
packagename/somemodule.py
382
class MyClass: '''This is the docstring for this class''' def __init__(self): # setup per-instance variables self.x = 1 self.y = 2 self.z = 3 class MySecondClass: '''This is the docstring for this second class''' def __init__(self): # setup per-instance varia...
unlicense
DragonMinded/libdragon
include/ay8910.h
5367
#ifndef __LIBDRAGON_AY8910_H #define __LIBDRAGON_AY8910_H #include <stdbool.h> #include <stdint.h> #ifdef __cplusplus extern "C" { #endif /** @brief Decimation factor for AY8910. * * AY8910 is usually clocked at a very high frequency (>100K), and thus it * requires downsampling to be played back. This emulator ...
unlicense
Kakrain/taller_rvagl
HeadTrackingFinal/HeadTrackingFinal/include/camerarev15.h
833
//======================================================================================================----- //== NaturalPoint 2012 //======================================================================================================----- #ifndef __CAMERALIBRARY__CAMERAREV15_H__ #define __CAMERALIBRARY__CAMERAR...
unlicense
gbtimmon/ase16GBT
code/4/ga/magoff2.py
8088
#%matplotlib inline # All the imports from __future__ import print_function, division from math import * import random import sys import matplotlib.pyplot as plt # TODO 1: Enter your unity ID here __author__ = "magoff2" class O: """ Basic Class which - Helps dynamic updates - Pretty Prints ...
unlicense
gregington/BigCrystalTWI
src/BigCrystalTWI.h
2149
#ifndef BigCrystalTWI_h #define BigCrystalTWI_h #include "BigFont.h" #include <LiquidTWI.h> class BigCrystalTWI : public LiquidTWI { public: /* Creates BigCrystalTWI instance for a display on the specified i2c address. * Parameters * i2cAddr: the i2c address of the display */ BigCrystalTWI(uint8_t i2cA...
unlicense
aadithpm/code-a-day
py/Sum Of Positive.py
316
""" You get an array of numbers, return the sum of all of the positives ones. Example [1,-4,7,12] => 1 + 7 + 12 = 20 Note: array may be empty, in this case return 0. """ def positive_sum(arr): # Your code here sum = 0 for number in arr: if number > 0: sum += number return sum
unlicense
wyf2learn/leetcode
problems/algorithms/200.number-of-islands.js
1394
/** * [★★★★]200. Number of Islands * finish: 2016-12-06 * https://leetcode.com/problems/number-of-islands/ */ /** * @param {character[][]} grid * @return {number} */ var numIslands = function (grid) { var count = 0, i, j; for (i = 0; i < grid.length; i++) { for (j = 0; j < grid[i].length; j++) {...
unlicense
codeApeFromChina/resource
frame_packages/java_libs/hibernate-distribution-3.6.10.Final/documentation/javadocs/org/hibernate/hql/ast/class-use/ErrorCounter.html
6000
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_07) on Wed Feb 08 19:32:58 CST 2012 --> <TITLE> Uses of Class org.hibernate.hql.ast.ErrorCounter (Hibernate JavaDocs) </TITLE> <META NAME="date" CON...
unlicense
PolyakovSergey95/OOP
Polyakov_17/prakt_1/Exam.cs
867
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication2 { class Exam: IDateAndCopy { public String Name { get; set; } public int Mark { get; set; } public DateTime Date { get; set; } publi...
unlicense