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 |
|---|---|---|---|---|---|
//
// ipaddress.h
//
// Circle - A C++ bare metal environment for Raspberry Pi
// Copyright (C) 2015 R. Stange <rsta2@o2online.de>
//
// 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 ... | darth-vader-lg/glcncrpi | include/circle/net/ipaddress.h | C | gpl-3.0 | 1,753 |
<?php theme_include('header'); ?>
<div class="navigation">
<nav>
<span class="logoCont">
<img class="mobile-logo" src="img/logo.png">
</span>
<ul class="nav-flex">
<li><a href="index.php"><img class="nav-logo" src="img/logo.png"></a></li>
<li ><a class="nav-button-sma... | 1002915/defiantdev | themes/default/posts.php | PHP | gpl-3.0 | 3,467 |
/*
* Copyright (C) 2013-2016 The OmniROM Project
*
* 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 2 of the License, or
* (at your option) any later version.
*
* This pro... | omnirom/android_packages_apps_OmniSwitch | src/org/omnirom/omniswitch/SwitchConfiguration.java | Java | gpl-3.0 | 24,468 |
package de.devland.masterpassword.base;
import com.orm.SugarApp;
import com.squareup.otto.Bus;
import com.squareup.otto.ThreadEnforcer;
import de.devland.masterpassword.base.ui.BaseActivity;
/**
* Created by David Kunzler on 21.11.2014.
*/
public class BaseApp extends SugarApp {
private static BaseApp instanc... | dkunzler/masterpassword | app/src/main/java/de/devland/masterpassword/base/BaseApp.java | Java | gpl-3.0 | 1,008 |
/*
* Copyright (C) 2014 by Array Systems Computing Inc. http://www.array.ca
*
* 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 your option)
* any lat... | kristotammeoja/ks | s1tbx-op-coregistration/src/main/java/org/esa/nest/dat/layersrc/GCPVectorLayer.java | Java | gpl-3.0 | 4,168 |
/**
* @author Mathew "WSpecificermadev" WSpecificer
* created on 09.05.2017
*/
(function () {
'use strict';
angular.module('BlurAdmin.pages.claim')
.controller('ClaimCtrl', ClaimCtrl);
/** @ngInject */
function ClaimCtrl($scope, $stateParams, claim, explorer, utility) {
$scope.explo... | cryptodevorg/Cortes-Explorer | src/app/pages/claim/ClaimCtrl.js | JavaScript | gpl-3.0 | 574 |
#ifndef __DIV64_H__
#define __DIV64_H__
#include <xboot.h>
#include <types.h>
u64_t div64(u64_t num, u64_t den);
u64_t mod64(u64_t num, u64_t den);
u64_t div64_64(u64_t * num, u64_t den);
#endif /* __DIV64_H__ */
| wayling/xboot-clone | src/include/div64.h | C | gpl-3.0 | 216 |
/// <summary>
/// MethodsResourceDeployer.cs
/// Andrea Tino - 2017
/// </summary>
namespace Rosetta.AST.Renderings.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Rosetta.Renderings;
using TestData = Rosetta.AST.Renderings.Data;
u... | andry-tino/Rosetta | test/renderers/ASTWalker.Renderings.Tests/providers/MethodsResourceDeployer.cs | C# | gpl-3.0 | 1,064 |
package com.github.sgelb.booket.models;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android... | sgelb/booket | booket/app/src/main/java/com/github/sgelb/booket/models/BitmapLoader.java | Java | gpl-3.0 | 8,861 |
# SimpleNetwork
| lyusupov/SoftRF | software/firmware/source/libraries/SimpleNetwork/README.md | Markdown | gpl-3.0 | 16 |
package xingu.utils.classloader.impl;
import xingu.lang.NotImplementedYet;
import xingu.utils.classloader.ClassLoaderManager;
import xingu.utils.classloader.NamedClassLoader;
public class ContextClassLoaderManager
{
private static ClassLoaderManager INSTANCE;
static {
final NamedClassLoader wrapper =
new... | leandrocruz/xingu | utils/src/main/java/xingu/utils/classloader/impl/ContextClassLoaderManager.java | Java | gpl-3.0 | 756 |
/*
* This file is part of Dependency-Track.
*
* Dependency-Track 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
* later version.
*
* Dependency... | wjase/dependency-track | src/main/java/org/owasp/dependencytrack/model/Vulnerability.java | Java | gpl-3.0 | 3,125 |
<?php
/**
* Created by PhpStorm.
* User: Ermin Islamagić - https://ermin.islamagic.com
* Date: 19.8.2016
* Time: 10:10
*/
// Plugin config array
$config = array();
// Name
$config['PLUGIN_NAME'] = 'Locale';
// Model
$config['PLUGIN_MODEL'] = 'LocaleModel';
// Directory
$config['PLUGIN_DIR'] = 'app/plugins/' . ... | clientmarketing/food-factory | source/app/plugins/Locale/config/config.inc.php | PHP | gpl-3.0 | 1,840 |
; no symbol conflict
x equ 1
y data x, y
end
| endlos99/xdt99 | test/asm/aslinks2a.asm | Assembly | gpl-3.0 | 51 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid comm... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtbase/tests/auto/tools/moc/oldstyle-casts.h | C | gpl-3.0 | 1,634 |
package net.modyssey.starmall.client.gui;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.renderer.entity.RenderItem;
import net.minecraft.util.ResourceLocation;
import net.modyssey.starmall.client.gui.components.ScrollingList;
import net.modyssey.starma... | CannibalVox/ModJamTeleporters | src/main/java/net/modyssey/starmall/client/gui/GuiItemStockList.java | Java | gpl-3.0 | 3,679 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package myclasses.salisterra.ro;
public class ClasaMea {
public static void main (String[] args) {
// create an insta... | gapacurar/eBooksStore | Test/src/myclasses/salisterra/ro/ClasaMea.java | Java | gpl-3.0 | 979 |
/*
* ScatterGDX.h - scatter effect
*
* Copyright (c) 2017-2020 gi0e5b06 (on github.com)
*
* This file is part of LSMM -
*
* 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 ... | gi0e5b06/lmms | plugins/ScatterGDX/ScatterGDX.h | C | gpl-3.0 | 1,569 |
{% comment %}
Explanation of what we're doing to render the text content in psuedo ruby:
body = "1 <ref> A </ref> 2 <ref> B </ref> <ref> A </ref>"
body_split = body.split('<ref>')
# i.e. [ '1', 'A </ref> 2', 'B </ref>', 'A </ref>' ]
if text contains '</ref>'
ref_and_text = text.split('</ref>')
... | convinceme/webapp | app/views/arguments/liquid_template.html | HTML | gpl-3.0 | 4,025 |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... | mgood7123/UPM | Sources/dtrace-20160613/cmd/ctfconvert/traverse.h | C | gpl-3.0 | 1,918 |
class ElectricGuitar {
private String brand;
private int numOfPickups;
private boolean rockStarUsesIt;
public String getBrand() {
return brand;
}
public void setBrand (String aBrand) {
brand = aBrand;
}
public int getNumOfPickups () {
return numOfPickups;
}
... | ojwm/java_examples | headfirstjava/ElectricGuitar.java | Java | gpl-3.0 | 567 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Sun Sep 23 01:32:32 CEST 2012 -->
<title>Click</title>
<meta name="date" content="2012-09-23">
<link rel="stylesheet" type="text... | alp82/abmash | doc/com/abmash/core/browser/interaction/Click.html | HTML | gpl-3.0 | 10,535 |
package cm.aptoide.pt.abtesting;
import cm.aptoide.pt.dataprovider.ws.v7.BaseBody;
/**
* Created by franciscocalado on 19/06/18.
*/
public class ABTestImpressionResponse extends BaseBody {
private boolean cache;
private String payload;
private String assignment;
private String context;
private String sta... | Aptoide/aptoide-client-v8 | app/src/main/java/cm/aptoide/pt/abtesting/ABTestImpressionResponse.java | Java | gpl-3.0 | 989 |
package cm.aptoide.pt.search;
import android.content.Context;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.cursoradap... | Aptoide/aptoide-client-v8 | app/src/main/java/cm/aptoide/pt/search/SuggestionCursorAdapter.java | Java | gpl-3.0 | 2,549 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>apps.home.views</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<scri... | mpvillafranca/empresas | src/apps/home/html/apps.home.views-pysrc.html | HTML | gpl-3.0 | 11,479 |
package wayerr.reflect;
import java.lang.reflect.GenericArrayType;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
/**
* Класс предоставляющий {@link Type} или {@link Class} по имени типа. Также
* позволяет получи... | wayerr/ivasu | src/main/java/wayerr/reflect/TypeFactory.java | Java | gpl-3.0 | 10,373 |
/*
* Copyright (C) 2009 Christopho, Solarus - http://www.solarus-engine.org
*
* Solarus 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 later v... | ziz/solarus | include/menus/LanguageScreen.h | C | gpl-3.0 | 1,741 |
<?php
namespace Acd\Controller;
use \Acd\View\HeaderMenu;
use \Acd\Model\ContentLoader;
use \Acd\Model\SessionNavigation;
// Output
class Relation {
private $idContent;
private $idStructure;
private $view;
private $content;
private $sessionNavigation;
private $requestUrl;
const VIEW_LIST = 'list'; // List of a... | stripTM/acd | app/controller/Relation.php | PHP | gpl-3.0 | 2,386 |
<?php
//--------------------------------------------------------------------------
// Debut classe conSQL
// Gestion du lien avec mySQL
//--------------------------------------------------------------------------
class conSQL
{
var $sqlid = 0; // id SQL utilisé partout
//------------------... | remilap/WebRemiFree | php/clas_consql.php | PHP | gpl-3.0 | 3,167 |
from math import *
def f(e, x):
return abs(eval(e.replace('^', '**').replace('x', '('+str(x)+')')))
def solve(e, a, b):
N = 1999
t = f(e, a) + f(e, b)
for i in range(1, 2*N):
if i % 2 == 0:
t += 2*f(e, a + (b-a)*i/2/N)
else:
t += 4*f(e, a + (b-a)*i/2/N)
return (b-a)*t/6/N
def main():
##
with op... | Lipen/LipenDev | Azeroth/Northrend/TP Olymp/TaskE.py | Python | gpl-3.0 | 687 |
package com.xolider.shipfighter.ui;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector3;
import com.xolider.... | xolider/ShipFighter | core/src/com/xolider/shipfighter/ui/Button.java | Java | gpl-3.0 | 1,827 |
function MissingFilesPage() {
}
MissingFilesPage.prototype.createNodes = function() {
var self = this;
this.page = document.createElement("div");
this.page.innerHTML = "<h1>Missing Files</h1>";
this.content = document.createElement("div");
this.page.appendChild(this.content);
this.loadList(fu... | Nehmulos/media-u | src/public/js/MissingFilesPage.js | JavaScript | gpl-3.0 | 2,077 |
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2012 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | deep9/zurmo | app/protected/modules/workflows/forms/ComponentForWorkflowFormFactory.php | PHP | gpl-3.0 | 3,188 |
<html>
<head>
<title>Converting File</title>
</head>
<body>
<a href="http://cloud.honestrepair.net">
<img src="http://localhost/HRProprietary/converter/HRBanner.png" alt="HonestRepair"> </a>
<div style=""
<br>
<div align="center"><p><h2>Your file has been converted</h2></div>
<br>
<div align="center"... | zelon88/HRToolkit | converter/Versions/Unstable/Version-1-1-5/converter.php | PHP | gpl-3.0 | 4,432 |
/*
Collisions - a real-time simulation program of colliding particles.
Copyright (C) 2011 - 2015 G. Endignoux
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 ... | gendx/collisions | src/graphic/graph.cpp | C++ | gpl-3.0 | 6,462 |
//********************************************************************************************
//*
//* This file is part of Egoboo.
//*
//* Egoboo 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... | penguinflyer5234/egoboo | egolib/src/egolib/Platform/file_win.c | C | gpl-3.0 | 9,026 |
#TARGET_NAME = test
SRC = \
normal_test.cc \
loop_test.cc \
loop_monkey_test.cc \
loop_connection_test.cc \
protocol_test.cc \
main.cc
HEADERS =
LINK_LIBS = rmcc
OPT_LINK_FLGS =
OPT_LINK_LIBS = cppunit dl
OPT_LIB_DIRS =
OPT_CMPL_FLGS =
OPT_INCLUDE_DIRS =
CLEAN_TARGETS =
include ../_make_/MakeSub.... | roma/roma-php-client | src/rmcc_test/Makefile | Makefile | gpl-3.0 | 324 |
<?php
class com_wiris_quizzes_impl_HTMLGui {
public function __construct($lang) {
if(!php_Boot::$skip_constructor) {
$this->lang = (($lang !== null) ? $lang : "en");
$this->t = com_wiris_quizzes_impl_Translator::getInstance($this->lang);
}}
public function filterEmbeddedAnswersHTML($html, $mode, $q, $qi) {
... | nitro2010/moodle | question/wq/quizzes/lib/com/wiris/quizzes/impl/HTMLGui.class.php | PHP | gpl-3.0 | 52,625 |
package com.jeans.iservlet.service.fts;
import java.util.List;
import java.util.Map;
import com.jeans.iservlet.model.portal.User;
import com.jeans.iservlet.view.portal.FtsResultView;
public interface FtsService {
/**
* 初始化Hibernate Search索引
*
* @throws InterruptedException
*
*/
public void reIndex() th... | majorli/iServlet3 | src/main/java/com/jeans/iservlet/service/fts/FtsService.java | Java | gpl-3.0 | 613 |
---
layout: amp
title: ¿Se puede congelar la ensalada de col?
permalink: /amp/ensalada-de-col/
normallink: /ensalada-de-col/
home: FALSE
ogimg: /img/coleslaw-300x199.jpg.png
sitemap:
priority: 1
changefreq: 'monthly'
---
## Pregunta
Compré una gran cabeza de col en el mercado de un granjero local, y quiero hac... | sepuedecongelar/sepuedecongelar.github.io | _amp/2017-09-03-ensalada-de-col.md | Markdown | gpl-3.0 | 3,110 |
"""Utility functions"""
import os
import difflib
def get_diff(str1, str2):
"""Returns git-diff-like diff between two strings"""
expected = str1.splitlines(1)
actual = str2.splitlines(1)
diff = difflib.unified_diff(expected, actual, lineterm=-0, n=0)
return ''.join(diff)
def ensure_directory(path)... | perfalle/smartbox | common/utils.py | Python | gpl-3.0 | 1,360 |
package com.funny.autocode.util;
import org.apache.commons.lang3.StringUtils;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class FileUtils {
/**
* 根据路径删除指定的... | funny5258/autocode | autocode-web/src/main/java/com/funny/autocode/util/FileUtils.java | Java | gpl-3.0 | 3,978 |
package org.saga.metadata;
import org.bukkit.metadata.MetadataValue;
import org.bukkit.plugin.Plugin;
import org.saga.Saga;
public class UnnaturalTag implements MetadataValue {
/**
* Key for unnatural tag.
*/
public static String METADATA_KEY = "unnatural";
/**
* Value for unnatural tag.
*/
public stati... | Olyol95/Saga | src/org/saga/metadata/UnnaturalTag.java | Java | gpl-3.0 | 990 |
# Zinlok
The things lock.
This project is about IoT. We are going to build a digital lock to lock anything you can imagine. Exs: your car, your house door,
your programs, your profiles...
*This is a security project made by some students from the "Universidad de Sevilla".
| LoloCDF/Zinlok | README.md | Markdown | gpl-3.0 | 276 |
#!/usr/bin/env jruby
require 'propane'
# Pie Chart
# By Ira Greenberg
#
# Uses the arc() function to generate a pie chart from the data
# stored in an array.
class PieChart < Propane::App
def setup
sketch_title 'Pie Chart'
background 100
no_stroke
diameter = [width, height].min * 0.75
angles = [3... | ruby-processing/propane-examples | processing_app/basics/form/pie_chart.rb | Ruby | gpl-3.0 | 696 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UserService.cs" company="Patrick Magee">
// Copyright © 2013 Patrick Magee
//
// This program is free software: you can redistribute it and/or modify it
// under the +ter... | pjmagee/Nircbot | Nircbot.Core/Services/UserService.cs | C# | gpl-3.0 | 2,777 |
[1]: http://rosettacode.org/wiki/Find_the_last_Sunday_of_each_month
# [Find the last Sunday of each month][1]
```ruby
var dt = require('DateTime')
var (year=2016) = ARGV.map{.to_i}...
for i in (1 .. 12) {
var date = dt.last_day_of_month(
year => year,
month => i
)
while (date.dow != 7) ... | trizen/sidef-book | programming_tasks/F/Find_the_last_Sunday_of_each_month.md | Markdown | gpl-3.0 | 574 |
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-- TABLE WITH AUTHORS' NAMES FOR THE SELECTED CLASSES, WITH MOBILITY LINKS
-- riccaboni.t08_names_allclasses_us_mob_atle... | cchacua/m2-migrations | scripts/procedures/nationality_classifier/no/no.sql | SQL | gpl-3.0 | 3,530 |
alberto-elias-website
=====================
My personal website
| AlbertoElias/alberto-elias-website | README.md | Markdown | gpl-3.0 | 65 |
namespace Grove.Effects
{
using System.Collections.Generic;
using System.Linq;
using Decisions;
public class CounterTargetSpellUnlessControllerPays1ForEachRevealedCard : Effect,
IProcessDecisionResults<ChosenCards>, IChooseDecisionResults<List<Card>, ChosenCards>,
IProcessDecisionResults<Boole... | pinky39/grove | source/Grove/Core/Effects/CounterTargetSpellUnlessControllerPays1ForEachRevealedCard.cs | C# | gpl-3.0 | 1,662 |
# wificredentialsviewer
www.wificredentials.com
Based on an article of Michael Haephrati at Code Project.
https://www.codeproject.com/Articles/1164749/The-Secrets-of-Wi-Fi-Credentials
All graphics are copyrighted to Secured Globe, Inc. New York www.securedglobe.com
| haephrati/wificredentialsviewer | README.md | Markdown | gpl-3.0 | 266 |
package logiclda.infer;
import java.util.Random;
import java.util.Map;
import java.util.ArrayList;
import java.util.List;
import logiclda.EvalLDA;
import logiclda.infer.MirrorDescent;
import logiclda.rules.GroundableRule;
import logiclda.rules.LogicRule;
import logiclda.infer.GroundRules;
import logiclda.Corpus;
imp... | davidandrzej/LogicLDA | src/main/java/logiclda/infer/CollapsedGibbs.java | Java | gpl-3.0 | 9,595 |
using AppMigrate.Properties;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace AppMigrate
{
public partial class SettingsForm : Form
{
public SettingsForm()
{
... | C-Nedelcu/appmigrate | AppMigrate/SettingsForm.cs | C# | gpl-3.0 | 1,182 |
Drink-O-Water
=============
Terms and condition
If any of our plugin cause harm to your server, it is not our blame.
We do not make any of our plugin for money,
however some plugin are private and will not be an open download.
In the future some of our plugins will be open-source.
Please note that all of our ... | aksjeffrey/Drink-O-Water | README.md | Markdown | gpl-3.0 | 611 |
require 'ffi'
module Archive
module C
def self.attach_function_maybe *args
attach_function(*args)
rescue FFI::NotFoundError
end
extend FFI::Library
ffi_lib ["archive", "libarchive.so.2"]
attach_function :archive_version_number, [], :int
attach_function :archive_version_string, []... | patcon/ffi-libarchive | lib/ffi-libarchive/archive.rb | Ruby | gpl-3.0 | 13,613 |
<!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... | oguyon/Cfits | html/img__reduce_8h.html | HTML | gpl-3.0 | 9,452 |
/*
Copyright 1991, 1994, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in ... | ArcticaProject/vcxsrv | libXfont/src/util/miscutil.c | C | gpl-3.0 | 1,960 |
using System;
using System.Reflection;
using Sigil;
using WowPacketParser.Hotfix;
using WowPacketParser.Misc;
namespace WowPacketParserModule.V7_0_3_22248.Hotfix
{
[HotfixSerializer]
public class HotfixSerializer<T> : IHotfixSerializer<T> where T : class, new()
{
public override void GenerateDeser... | Carbenium/WowPacketParser | WowPacketParserModule.V7_0_3_22248/Hotfix/HotfixSerializer.cs | C# | gpl-3.0 | 4,879 |
/*
* This file is part of SpellChecker plugin for Code::Blocks Studio
* Copyright (C) 2009 Daniel Anselmi
*
* SpellChecker plugin 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 L... | simple-codeblocks/Codeblocks | src/plugins/contrib/SpellChecker/HunspellInterface.h | C | gpl-3.0 | 3,623 |
/*
This file is part of White - Storm: Lightning (alpha).
Copyright 2012 Christopher Augustus Greeley
White - Storm: Lightning (alpha) 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 ... | GCGGames/White-StormLightning | WSL/White Storm Lightning.h | C | gpl-3.0 | 45,310 |
<?php
require('config.php');
# Set variables.
$action = !empty($_GET['q']) ? $_GET['q'] : NULL;
$from = !empty($_GET['from']) ? $_GET['from'] : $config['date_from'];
$to = !empty($_GET['to']) ? $_GET['to'] : $config['date_to'];
# Optional arguments.
$customer = !empty($_GET['customer']) && $_GET['customer'] != 'all'... | figure002/pyrits | map/table.php | PHP | gpl-3.0 | 34,743 |
#pragma once
#include "guid.h"
#include "rpc_requester.h"
#include "ring_change_notifier.h"
#include "ring_oracle.h"
#include <mordor/fibersynchronization.h>
#include <mordor/iomanager.h>
#include <mordor/socket.h>
#include <boost/noncopyable.hpp>
#include <map>
#include <set>
#include <vector>
namespace lightning {
... | skywalker239/lightning-prototype | lib/ring_manager.h | C | gpl-3.0 | 2,059 |
/* A Bison parser, made by GNU Bison 2.7. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... | Distrotech/mailutils | libmu_sieve/sieve-gram.h | C | gpl-3.0 | 3,387 |
package core;
import java.io.*;
import java.util.*;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.functors.StringValueTransformer;
import org.apache.commons.lang.ArrayUtils;
import org.apache.log4j.Logger;
import au.com.bytecode.opencsv.CSVWriter;
import core... | smart-facility/SPGen | sources/src/main/java/core/TextFileHandler.java | Java | gpl-3.0 | 10,259 |
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
$this->createFrame()->begin("Загрузка");
?>
<table class="catalog-menu-table scroll-fixed<?
if($_SERVER["REQUEST_URI"]=='/catalog/'):?> on-top<? endif ?>"><tr><td style="width: <?
if($arResult["INTERESTS"] && IS_MOBILE):?>55%;<? else:?>100%... | active-citizen/shop.1c | www/local/components/ag/menu.catalog/templates/.default/template.php | PHP | gpl-3.0 | 6,782 |
/*
*
* Copyright (C) 2012 Stuart Bridgens
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 3) as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but W... | discostubee/texturecram | source/squarefit.c | C | gpl-3.0 | 28,534 |
#! /usr/bin/env bash
# -*- coding: utf-8 -*-
echo " *** Aumentar Tamaño /tmp *** "
echo " SELECCIONA UNA OPCION:"
echo " 1.-Forma Temporal (Remount)"
echo " 2.-Forma Definitiva (fstab)"
echo " 0.-Salir"
echo ""
read -p "OPCIÓN: " OPCION
case $OPCION in
0) exit;;
1|2) echo ""
echo " *** Tamaño que le quieres dar: ... | JackNapier151/Scripts | Scripts/EditTmp.sh | Shell | gpl-3.0 | 1,107 |
#include "Globals.h"
#include "Application.h"
#include "ModuleInput.h"
#include "ModuleRender.h"
#include "ModuleCollision.h"
using namespace std;
ModuleCollision::ModuleCollision()
{
matrix[COLLIDER_WALL][COLLIDER_WALL] = false;
matrix[COLLIDER_WALL][COLLIDER_PLAYER_BODY] = false;
matrix[COLLIDER_WALL][COLLIDER_E... | codeck1/TMNT-Arcade | TMNT arcade/ModuleCollision.cpp | C++ | gpl-3.0 | 8,735 |
#!/bin/bash
VBoxManage modifyvm $1 --macaddress$2 auto
| jianyingdeshitou/config | virtualbox/home/bin/modifyvm-mac-auto.sh | Shell | gpl-3.0 | 56 |
# AntiLeave
Minecraft Plugin
## Description
How it works: When a player is in PVP and they log off, a NPC is placed where they logged out.
If you kill the NPC, you get what was in the player's inventory.
# Version 1.4 [BETA]
# Config
```yml
Settings:
TicksDamager: 3 #Seconds for check PVP
TicksEntity: 5 #Life Time... | BigTows/AntiLeave | README.md | Markdown | gpl-3.0 | 625 |
using System;
using System.Collections.Generic;
using System.Linq;
using FICS.App.ConfigSubsystem;
using FICS.App.GameSubsystem.Modes.Game.Style12;
using Helpers.Loggers.CSV;
using Proxima.Core.Commons;
using Proxima.Core.Commons.Colors;
using Proxima.Core.Commons.Positions;
using Proxima.Core.Session;
namespace FICS... | Tearth/Proxima-b-2.0 | Proximab/FICS.App/GameSubsystem/Modes/Game/GameMode.cs | C# | gpl-3.0 | 6,680 |
/**
* Copyright (C) 2002-2013 by
* Jeffrey Fulmer - <jeff@joedog.org>, et al.
* This file is distributed as part of Siege
*
* 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 ... | JoeDog/siege | include/joedog/boolean.h | C | gpl-3.0 | 1,098 |
/**
******************************************************************************
* @file FLASH/FLASH_WriteProtection/Inc/main.h
* @author MCD Application Team
* @brief Header for main.c module
******************************************************************************
* @attention
*
* <h2><ce... | Fdepraetre/Handmouse | Software/Handmouse_STM/Lib_DL/STM32Cube_FW_F0_V1.8.0/Projects/STM32072B_EVAL/Examples/FLASH/FLASH_WriteProtection/Inc/main.h | C | gpl-3.0 | 8,297 |
package com.github.torkjel.rt.api.resources;
import java.util.concurrent.atomic.AtomicInteger;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.QueryParam;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.container.Suspended;
import javax.ws.rs.core.MediaType;... | torkjel/rt | api/src/main/java/com/github/torkjel/rt/api/resources/Analytics.java | Java | gpl-3.0 | 2,888 |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using LeagueSharp;
#endregion
namespace Marksman.Evade
{
public static class SpellDatabase
{
public static List<SpellData> Spells = new List<SpellData>();
static SpellDatabase()
{
//Add spells to t... | cna1436/LeagueShark | Marksman/Evade/SpellDatabase.cs | C# | gpl-3.0 | 141,531 |
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2011 NovaPoint Group LLC (<http://www.novapointgroup.com>)
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>)
#
# This program is free software: you can re... | lercloud/shipping_api_usps | stock_packages.py | Python | gpl-3.0 | 3,338 |
#include "folderchooser.h"
#include "ui_folderchooser.h"
#include <QFileSystemModel>
#include <QDir>
#include <QPushButton>
#include <QDebug>
FolderChooser::FolderChooser(const QString & start_folder,QWidget *parent) : QDialog(parent), ui(new Ui::FolderChooser) {
ui->setupUi(this);
QFileSystemModel *model = n... | AlexLevkovich/SimpleArch | folderchooser.cpp | C++ | gpl-3.0 | 1,957 |
package com.example.jinghuang.proxytest;
import android.util.Log;
/**
* Created by hakimhuang on 2016/12/29.
*/
public class CodingMyself implements Coding {
public final static String TAG = "CodingMyself";
@Override
public Object[] doCoding(int time) {
Log.d(TAG, "coding myself, coding time="... | jingtalk/VerifySomething | proxytest/src/main/java/com/example/jinghuang/proxytest/CodingMyself.java | Java | gpl-3.0 | 386 |
([C++](Cpp.md))  [\[MyUnit.o\] Error 1](CppLinkErrorError1.md)
=======================================================================================================================
[Link error](CppLinkError.md).
- [View a screenshot of t... | richelbilderbeek/cpp | content/CppLinkErrorError1.md | Markdown | gpl-3.0 | 949 |
package ThanCue.Cues;
/**
* Created by mike on 27/06/16.
*/
public class VoiceCue extends Cue {
private transient Process voice;
private static final long serialVersionUID = 102L;
public VoiceCue(){
this.setCueType(CueType.VOICE);
}
@Override
public void playCue() {
try {
... | OhmGeek/ThanCue | src/ThanCue/Cues/VoiceCue.java | Java | gpl-3.0 | 666 |
/*
* This file is part of the libsigrok project.
*
* Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
*
* 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 2 of the License,... | JenSte/libsigrok | tests/check_main.c | C | gpl-3.0 | 1,588 |
<?php
TpUtils::requirePaths(array(
array('exceptions', 'TpInvalidParameterException.php'),
array('TpEetDph.php'),
array('TpMerchantConfig.php'),
array('TpEscaper.php')
));
/**
* Class representing one payment instance.
*/
class TpPayment {
/**
* Config containing merchant-specific configuration options.
* I... | WebChemistry/ThePay | lib/TpPayment.php | PHP | gpl-3.0 | 10,188 |
# Copyright (C) 2018 Philipp Hörist <philipp AT hoerist.com>
#
# This file is part of nbxmpp.
#
# 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 your opt... | gajim/python-nbxmpp | nbxmpp/modules/bookmarks/pep_bookmarks.py | Python | gpl-3.0 | 3,379 |
package com.snail.webgame.game.protocal.fight.checkFight;
import org.epilot.ccf.core.processor.ProtocolProcessor;
import org.epilot.ccf.core.processor.Request;
import org.epilot.ccf.core.processor.Response;
import org.epilot.ccf.core.protocol.Message;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import co... | bozhbo12/demo-spring-server | spring-game/src/main/java/com/spring/game/game/protocal/fight/checkFight/CheckFightProcessor.java | Java | gpl-3.0 | 1,290 |
#procmailrc h1 {
border-bottom:1px solid #DDD;
}
.tree ul {
padding-left:0px;
padding-right: 0px;
margin-right: 0px;
}
.tree li {
list-style-type:none;
margin:0;
padding:10px 0px 0px 0px;
position:relative;
padding-left: 10px;
}
.tree li::before, .tree li::after {
content:'';
... | nitmir/django-procmail | procmail/static/procmail/tree.css | CSS | gpl-3.0 | 818 |
#Region "Microsoft.VisualBasic::bea891a36a69e22c25dac9ba470761d7, ..\sciBASIC#\Microsoft.VisualBasic.Architecture.Framework\ComponentModel\IO\WriteStream.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xieguigang (xie.guigang@live.com)
' xie (genetics@smrucc.org)
'... | amethyst-asuka/GCModeller | src/runtime/sciBASIC#/Microsoft.VisualBasic.Architecture.Framework/ComponentModel/IO/WriteStream.vb | Visual Basic | gpl-3.0 | 3,852 |
:: Shuts down the system
echo Shutting down...
shutdown /s /f /t 0
| redpois0n/usbwatcher | scripts/shutdown_win.bat | Batchfile | gpl-3.0 | 68 |
<?php # -*- coding: utf-8 -*-
/**
* Plugin Name: Meta Taxonomy
* Plugin URI: https://github.com/tfrommen/meta-taxonomy
* Description: This plugin registers a taxonomy that provides a high-performance means to query posts in a somewhat meta-based way.
* Author: Thorsten Frommen
* Author URI: http://tfrommen.... | tfrommen/meta-taxonomy | src/meta-taxonomy.php | PHP | gpl-3.0 | 959 |
<?php
$i18n = array(
'ADD_FIELD' => "Nieuw veld toevoegen",
'ADD_PAGETYPE' => "Nieuw Speciaal Pagina type aanmaken",
'BROWSE_IMAGES' => "Bladeren",
'BROWSE_PAGES' => "Bladeren",
'CHECKBOX' => "Check box",
'CONFIGURE' => "I18N Speciale Pagina's configureren",
'CONFIG_CREATE_TITLE' => ... | mogilka/smiletrade | plugins/i18n_specialpages/lang/nl.php | PHP | gpl-3.0 | 5,848 |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Roslyn.Utilities;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using EmitC... | FrankLIKE/il2bc | CoreSource/PEWriter/Units.cs | C# | gpl-3.0 | 18,056 |
/*
* Platformer Game Engine by Wohlstand, a free platform for game making
* Copyright (c) 2014-2019 Vitaly Novichkov <admin@wohlnet.ru>
*
* 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, ei... | Wohlhabend-Networks/PGE-Project | Editor/editing/_scenes/world/wld_history_manager.h | C | gpl-3.0 | 2,430 |
package org.monstercraft.irc.plugin.handles.thread;
import org.monstercraft.irc.plugin.Configuration.Variables;
import org.monstercraft.irc.plugin.handles.IRCHandler;
public class OutputThread extends Thread implements Runnable {
private final IRCHandler parent;
public OutputThread(final IRCHandler parent) ... | Monstercraft/MonsterIRC | src/main/java/org/monstercraft/irc/plugin/handles/thread/OutputThread.java | Java | gpl-3.0 | 1,294 |
#include "../../openexr-2.5.7/OpenEXR/IlmImf/ImfFastHuf.h"
| AlienCowEatCake/ImageViewer | src/ThirdParty/OpenEXR/include/OpenEXR/ImfFastHuf.h | C | gpl-3.0 | 59 |
package com.toblexson.generators;
import java.util.Random;
import com.toblexson.reference.Values;
import com.toblexson.tiles.ElevationTile;
public class ElevationGenerator
{
private ElevationTile[][] grid;
private Random random = new Random();
//Basic chance
private double chance = 0.15;
public ElevationGen... | ToblexsonMC/DrainageBasinGenerator | src/com/toblexson/generators/ElevationGenerator.java | Java | gpl-3.0 | 2,688 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using Semantria.Com.Mapping.Output;
namespace Semantria.Com
{
public class RequestEventArgs : EventArgs
{
public RequestEventArgs(string method, string url, string message)
{
_method = method;
... | hacksome/hacksome | Semantria/Common/EventArgs.cs | C# | gpl-3.0 | 2,681 |
// stdafx.cpp : source file that includes just the standard includes
// SearchlightWin32Project.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| InstitutoDOr/BROCCOLI | code/Bash_Wrapper/SearchlightWin32Project/SearchlightWin32Project/stdafx.cpp | C++ | gpl-3.0 | 302 |
#region References
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Server.Diagnostics;
#endregion
namespace Server.Network
{
public class MessagePump
{
private Listener[] m_Listeners;
private Queue<NetState> m_Queue;
private Queue<NetSt... | GenerationOfWorlds/GOW | Server/Network/MessagePump.cs | C# | gpl-3.0 | 7,462 |
MODX Evolution 1.1 = 5237b665001bf5a2e8feecbe4739d6dc
| gohdan/DFC | known_files/hashes/assets/modules/store/installer/action.install.php | PHP | gpl-3.0 | 54 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 3 or later of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the im... | alcacoop/libgnubg-android | libgnubg/lib/neuralnet.h | C | gpl-3.0 | 2,467 |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright noti... | ursine/DTPToys | src/LibGUI/Label.cpp | C++ | gpl-3.0 | 3,332 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.