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 |
|---|---|---|---|---|---|
; MD5.asm
; -- Primary functions for hashing data in RAM and storing in the CRYPT process' memory.
; -- Command in SHELL_MODE will have two modes: one to retrieve the most recently-computed hash,
; ---- and another to compute an MD5 from a starting loc in memory for a specific length.
; Important to note is that the a... | ZacharyPuhl/OrchidOS_x86 | src/libraries/crypto/md5/MD5.asm | Assembly | gpl-3.0 | 4,905 |
package ms.test.model;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class PersonRest {
private List<Person> persons;
public List<Person> getPersons() {
return persons;
}
public void setPersons(List<Person> persons) {
this.persons = persons;... | mssalvo/msAction | msActionExample/src/ms/test/model/PersonRest.java | Java | gpl-3.0 | 335 |
Parkings = new Meteor.Collection("parkings");
| chompomonim/parkings-meteor | lib/model.js | JavaScript | gpl-3.0 | 46 |
'use strict';
const BaseController = require('../controllers/base');
const UploadModel = require('../models/file-upload');
const config = require('../../../config');
const uuid = require('uuid');
const path = require('path');
module.exports = class UploadController extends BaseController {
get(req, res, next) {
... | UKHomeOffice/firearms | apps/common/controllers/existing-authority-documents.js | JavaScript | gpl-3.0 | 2,499 |
# Machinery — A Systems Management Toolkit for Linux
# Synopsis
`machinery` SUBCOMMAND \[options\] <br>
`machinery` help [SUBCOMMAND]
# Conceptual Overview
Machinery's core concept is the complete representation of a system by a
universal system description.
System descriptions are managed independently of the desc... | bear454/machinery | manual/docs/machinery_main_general.1.md | Markdown | gpl-3.0 | 4,416 |
using System;
namespace PeterPiper.Hl7.V2.Support.Content.Convert
{
public interface IBase64
{
byte[] Decode();
void Encode(byte[] item);
}
}
| angusmillar/PeterPiper | PeterPiper/Hl7/V2/Support/Content/Convert/IBase64.cs | C# | gpl-3.0 | 159 |
# coding=utf-8
# Title:大幂次运算
# 给你两个正整数a(0 < a < 100000)和n(0 <= n <=100000000000),计算(a^n) % 20132013并输出结果
import math
# Test
a,n =10000,10000000
# Answer
ret = 1 #余数
def PowerMod(a, n, ret):
if n == 0:
return ret
if n % 2: # n为奇数
ret = ret * a % 20132013
return PowerM... | RYLF/pythontip | 33.py | Python | gpl-3.0 | 479 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace MediaCloud\Vendor\Symfony\Component\HttpFoundation\Session\Storage;
use ... | Interfacelab/ilab-media-tools | lib/mcloud-symfony/http-foundation/Session/Storage/PhpBridgeSessionStorage.php | PHP | gpl-3.0 | 1,526 |
/*
* #%L
* API Interface Project
* %%
* Copyright (C) 2011 MACHIZAUD Andréa
* %%
* 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) ... | theblackunknown/ia-framework | api/src/test/java/org/eisti/labs/game/PlyTest.java | Java | gpl-3.0 | 2,073 |
/*
* This file is protected by Copyright. Please refer to the COPYRIGHT file
* distributed with this source distribution.
*
* This file is part of GNUHAWK.
*
* GNUHAWK is free software: you can redistribute it and/or modify is under the
* terms of the GNU General Public License as published by the Free Softwa... | RedhawkSDR/integration-gnuhawk | components/or_ii_4i/cpp/or_ii_4i.cpp | C++ | gpl-3.0 | 4,915 |
/*
* Copyright (C) 2014 Sheng Cao <sca6096@gmail.com>. All rights reserved.
*
* The file is part of English-Semantics-Extraction.
*
* English-Semantics-Extraction 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 ... | cs6096/java-english-semantics-extraction | src/net/cs6096/semanticmapping/deprecated/AutomaticGrammarGeneration.java | Java | gpl-3.0 | 6,905 |
/*
LUFA Library
Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation ... | Codingboy/ucuni | extlib/LUFA-120219/Demos/Device/ClassDriver/VirtualSerialMouse/Descriptors.h | C | gpl-3.0 | 3,843 |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace PlexLander.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... | bloodsplatter/PlexLander | PlexLander/Migrations/20180131203242_InitialCreate.cs | C# | gpl-3.0 | 3,523 |
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\author Wojtek Slominski, Jagiellonian Univ., Physics Dept.
\date 2005--2012
\copyright Creative Commons license CC-BY-NC 3.0
_____________________________________________________________*/
#include <cstdlib>
#include <cmath>
#include <cstring>
/*
#... | veprbl/herafitter | DiffDIS/src/MDipol.cc | C++ | gpl-3.0 | 2,543 |
using System;
using System.Drawing;
using CNCMaps.Engine.Drawables;
using CNCMaps.Engine.Game;
using CNCMaps.Engine.Rendering;
using CNCMaps.FileFormats;
using CNCMaps.FileFormats.Map;
using CNCMaps.Shared;
using NLog;
namespace CNCMaps.Engine.Map {
public interface OwnableObject {
string Owner { get;... | zzattack/ccmaps-net | CNCMaps.Engine/Map/GameObjects.cs | C# | gpl-3.0 | 7,953 |
/*
===========================================================================
Return to Castle Wolfenstein single player GPL Source Code
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of the Return to Castle Wolfenstein single player GPL Source Code (RTCW SP Source Code).
R... | rtcwcoop/rtcwcoop | code/renderer/tr_shade.c | C | gpl-3.0 | 39,633 |
/*
* Created on Mar 16, 2005
*/
package org.flexdock.docking.props;
import java.util.Map;
import org.flexdock.docking.DockingConstants;
import org.flexdock.docking.RegionChecker;
import org.flexdock.util.TypedHashtable;
/**
* @author Christopher Butler
*/
@SuppressWarnings(value = { "serial" })
public class Basi... | SuperMap-iDesktop/SuperMap-iDesktop-Cross | Controls/src/main/java/org/flexdock/docking/props/BasicDockingPortPropertySet.java | Java | gpl-3.0 | 2,115 |
import unittest
from ctauto.exceptions import CTAutoMissingEndOfMetablockError, \
CTAutoBrokenEndOfMetablockError, \
CTAutoInvalidMetablockError, \
CTAutoInvalidIdError, \
CTAutoMissingEndOfStringErr... | vasili-v/ctauto | test/test_parser.py | Python | gpl-3.0 | 9,771 |
/***************************************************************************
Neutrino-GUI - DBoxII-Project
License: GPL
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 th... | FFTEAM/ffteam-neutrino-mp-cst-next-max | src/gui/moviebrowser.cpp | C++ | gpl-3.0 | 141,359 |
class CreateTags < ActiveRecord::Migration
def self.up
create_table :tags do |t|
t.string :url
t.integer :user_id
t.timestamps
end
end
def self.down
drop_table :tags
end
end
| Diveboard/diveboard-web | db/migrate/20130905213342_create_tags.rb | Ruby | gpl-3.0 | 213 |
-- #Beyond Reborn Robot
-- #
tdcli = dofile('./libs/tdcli.lua')
serpent = (loadfile "./libs/serpent.lua")()
feedparser = (loadfile "./libs/feedparser.lua")()
require('./bot/utils')
URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
json = (loadfile "./libs/JSON... | storevpsnet/SV | bot/bot.lua | Lua | gpl-3.0 | 13,371 |
package xingu.type.impl;
import xingu.lang.NotImplementedYet;
import xingu.type.ObjectType.Type;
import xingu.type.TypeHandler;
public class TypeHandlerSupport
implements TypeHandler
{
private String name;
private Type type;
private Class<?> clazz;
public TypeHandlerSupport(Class<?> clazz, String name, Type... | leandrocruz/xingu | type-handler/src/main/java/xingu/type/impl/TypeHandlerSupport.java | Java | gpl-3.0 | 1,223 |
<?php /* Smarty version Smarty-3.1.19, created on 2016-02-13 12:11:10
compiled from "C:\xampp\htdocs\prestashop1\themes\default-bootstrap\product-compare.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2326656bed0062e4cc6-02030726%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->de... | sumitkumardey91/prestashop1 | cache/smarty/compile/3d/91/b6/3d91b63f2cc81cff21df2bf05500a1cef2c0bd94.file.product-compare.tpl.php | PHP | gpl-3.0 | 4,119 |
---
layout: post
title: "‘Mapa Cultural Paulista’ DB"
date: 2010-09-02
category: Systems
tags: [PHP, MySQL]
thumbnail: bd_mapa_cultural.png
description: Creation of MySQL database and PHP data access software; development on client’s layout.
lang: en
ref: mapa
---
- Accomplishments: Creation of MySQL database and ... | raulgroig/raulgroig.github.io | _posts/2010-09-02-mapacultural-db.markdown | Markdown | gpl-3.0 | 690 |
#include <iostream>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
using namespace std;
#include "barra.cpp"
#include "copia.cpp"
int main(int argc, char* argv[]){
if(argc < 3){
cerr<<"Sono necessari almeno 2 argomenti"<<endl;
return 1;
}
for(int i = 1; i < argc; i++){
//co... | AlessandroBregoli/supercp | main.cpp | C++ | gpl-3.0 | 414 |
"""Basic tests for the CherryPy core: request handling."""
from cherrypy.test import test
test.prefer_parent_path()
import os
localDir = os.path.dirname(__file__)
import cherrypy
access_log = os.path.join(localDir, "access.log")
error_log = os.path.join(localDir, "error.log")
# Some unicode strings.
... | mattsch/Sickbeard | cherrypy/test/test_logging.py | Python | gpl-3.0 | 5,090 |
<!DOCTYPE html>
<html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-GB">
<title>Ross Gammon’s Family Tree - Events</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name ="apple-mo... | RossGammon/the-gammons.net | RossFamilyTree/evt/2/1/d15f60d003a6038d029ba003712.html | HTML | gpl-3.0 | 3,414 |
/*! \file httpd.c
Based on webfs Copyright (C) 1999-2001 Gerd Knorr
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 versi... | lmarent/QualityManager | lib/httpd/httpd.c | C | gpl-3.0 | 19,956 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
//... | marigianna/HierarchyContagMoodle | blocks/contag_dynamic_suggestion/lib.php | PHP | gpl-3.0 | 5,602 |
/* eslint-env jest */
describe('Interaction', () => {
describe('Interaction - security level loose', () => {
it('Graph: should handle a click on a node with a bound function', () => {
const url = 'http://localhost:9000/click_security_loose.html';
cy.viewport(1440, 1024);
cy.visit(url);
cy.... | patschwork/meta_grid | meta_grid/vendor/bower-asset/mermaid/cypress/integration/other/interaction.spec.js | JavaScript | gpl-3.0 | 11,777 |
using System;
using MBS.Framework.Collections.Generic;
using MBS.Framework.UserInterface.Controls;
using MBS.Framework.UserInterface.Controls.Native;
using MBS.Framework.UserInterface.Layouts;
namespace MBS.Framework.UserInterface.Engines.GTK.Controls
{
[ControlImplementation(typeof(TabContainer))]
public class Tab... | alcexhim/UniversalWidgetToolkit | Engines/GTK/MBS.Framework.UserInterface.Engines.GTK/Controls/TabContainerImplementation.cs | C# | gpl-3.0 | 13,099 |
/*******************************************************************************
* Copyright (c) 2019. Carl Minden
*
* 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 ... | carlminden/anathema-roguelike | src/com/anathema_roguelike/entities/characters/player/perks/abilities/potions/Brew.scala | Scala | gpl-3.0 | 1,088 |
/**
* Copyright (c) 2010 France Telecom / Orange Labs
*
* This file is part of JLInX, Java Lib for Indivo X.
*
* JLInX 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, ... | fredorange/JLInX | src/jlinx-api-6.0.8-sources/com/orange/jlinx/document/ext/Address.java | Java | gpl-3.0 | 3,655 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>SLF4J 1.7.24 Reference Package org.slf4j.migrator.internal</title>
<link rel="stylesheet" type="text/cs... | marcosruiz/esignature | lib/slf4j-1.7.24/site/xref-test/org/slf4j/migrator/internal/package-summary.html | HTML | gpl-3.0 | 1,950 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Selects - jQuery Mobile Demos</title>
<link rel="stylesheet" href="../css/themes/default/jquery.mobile-1.4.1.min.css">
<link rel="stylesheet" href="../_assets/css/jqm-demos.css">
... | armon14/ckpt | demos/selectmenu/index.html | HTML | gpl-3.0 | 46,031 |
<!DOCTYPE html>
<!--
/*
Author : Islam Akef Ebeid / Mihir Jaiswal
Affiliations : University of Arkansas at Little Rock - Emerging Analytics Center
*/
-->
<html>
<head>
<title>VisInt-X</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initia... | iebeid/VisInt-X | main.html | HTML | gpl-3.0 | 3,667 |
//======================================================================
//
// Copyright (C) 2016 哈分享网
// All rights reserved
// Filename :NullLocalizationManager
// Description :
// Created by Wsy at 2016/8/4 16:06:06
// http://www.hafenxiang.com
//
//==... | puddingfish/Petite | Libraries/Petite.Core/Localization/NullLocalizationManager.cs | C# | gpl-3.0 | 1,783 |
/*
* Decompiled with CFR 0_115.
*
* Could not load the following classes:
* android.os.AsyncTask
*/
package android.support.v4.os;
import android.os.AsyncTask;
import java.util.concurrent.Executor;
class AsyncTaskCompatHoneycomb {
AsyncTaskCompatHoneycomb() {
}
static /* varargs */ <Params, Progre... | SPACEDAC7/TrabajoFinalGrado | uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/android/support/v4/os/AsyncTaskCompatHoneycomb.java | Java | gpl-3.0 | 523 |
// timebase_widget.cpp ---
//
// Filename: timebase_widget.cpp
// Description:
// Author: stax
// Maintainer:
// Created: ven nov 27 17:02:50 2009 (+0100)
// Version:
// Last-Updated: ven nov 27 19:04:39 2009 (+0100)
// By: stax
// Update #: 10
// URL:
// Keywords:
// Compatibility:
//
//
// Co... | dastax/libQjack | timebase_widget.cpp | C++ | gpl-3.0 | 2,878 |
/*
* Accio is a platform to launch computer science experiments.
* Copyright (C) 2016-2018 Vincent Primault <v.primault@ucl.ac.uk>
*
* Accio 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... | privamov/accio | accio/java/fr/cnrs/liris/infra/cli/app/ExitCode.scala | Scala | gpl-3.0 | 1,468 |
<#
Applies V-41037 from the SQL 2012 Instance STIG
Title: SQL Server default account sa must have its name changed
#>
function Rename-SaAccount ($serverName, $newName) {
$SQLServer = New-Object "Microsoft.SQLServer.Management.Smo.Server" $serverName
# SA Account has a SID and ID of 1 even when it ha... | alulsh/SharePoint-2010-STIGs | SQL/Instance/V-41037.ps1 | PowerShell | gpl-3.0 | 699 |
#region Copyright & License Information
/*
* Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the Licen... | tysonliddell/OpenRA | OpenRA.Mods.Common/Traits/SmokeTrailWhenDamaged.cs | C# | gpl-3.0 | 2,004 |
/**************************************************************************
* Otter Browser: Web browser controlled by the user, not vice-versa.
* Copyright (C) 2013 - 2022 Michal Dutkiewicz aka Emdek <michal@emdek.pl>
* Copyright (C) 2014 - 2017 Jan Bajer aka bajasoft <jbajer@gmail.com>
* Copyright (C) 2016 - 2017 Pio... | OtterBrowser/otter-browser | src/modules/windows/preferences/InputPreferencesPage.h | C | gpl-3.0 | 4,660 |
##===- projects/sample/tools/sample/Makefile ---------------*- Makefile -*-===##
#
# Indicate where we are relative to the top of the source tree.
#
LEVEL=../..
#
# Give the name of the tool.
#
TOOLNAME=nkb-knowcess
#
# Includes needed
#
xerces_builddir=/home/jmc/xerces-c-3.1.1
CPPFLAGS += -fexceptions -I. -I$(xerce... | CRTandKDU/NCloseCompiler | tools/runner/Makefile | Makefile | gpl-3.0 | 787 |
#include "editor-support/cocostudio/WidgetReader/CheckBoxReader/CheckBoxReader.h"
#include "ui/UICheckBox.h"
#include "platform/CCFileUtils.h"
#include "2d/CCSpriteFrameCache.h"
#include "editor-support/cocostudio/CocoLoader.h"
#include "editor-support/cocostudio/CSParseBinary_generated.h"
#include "editor-support/c... | jun496276723/CocosMFCEditor | cocos2d/cocos/editor-support/cocostudio/WidgetReader/CheckBoxReader/CheckBoxReader.cpp | C++ | gpl-3.0 | 31,100 |
#include <3ds.h>
bool touchInBox(touchPosition touch, int x, int y, int w, int h){
int tx=touch.px;
int ty=touch.py;
u32 kDown = hidKeysDown();
if (kDown & KEY_TOUCH && tx > x && tx < x+w && ty > y && ty < y+h){
return true;
}else{
return false;
}
} | MrJPGames/Mastermind-3DS | source/touch.c | C | gpl-3.0 | 260 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Matthieu Harlé
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | elman22/pocket-amc-reader | PocketAMCReader/src/main/java/com/holdingscythe/pocketamcreader/catalog/CursorRecyclerAdapter.java | Java | gpl-3.0 | 10,945 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.bitzing.bw.palette.mqtt.model.mqtt;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc -->
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
* @see com.bit... | yogeshpathade/tibcobw6-mqtt-connector | palette/model/plugins/com.bitzing.bw.palette.mqtt.model/src/com/bitzing/bw/palette/mqtt/model/mqtt/MqttFactory.java | Java | gpl-3.0 | 1,446 |
class ConfInvite < ActiveRecord::Base
belongs_to :conference
belongs_to :sender, :class_name => 'Person', :foreign_key => 'sender_id'
belongs_to :claimer, :class_name => 'Person', :foreign_key => 'claimer_id'
validates_presence_of :conference_id
validates_presence_of :sender_id
validates_presence_of :email... | gwolf/comas | app/models/conf_invite.rb | Ruby | gpl-3.0 | 1,356 |
using System;
using System.Drawing;
using System.Windows.Forms;
using GitCommands;
using JetBrains.Annotations;
namespace GitUIPluginInterfaces
{
public interface IGitUICommands
{
event EventHandler<GitUIPostActionEventArgs> PostCommit;
event EventHandler<GitUIEventArgs> PostRepositoryChanged;... | vbjay/gitextensions | Plugins/GitUIPluginInterfaces/IGitUICommands.cs | C# | gpl-3.0 | 1,400 |
/*********************************************************************************************
*
* 'IToolbarDecoratedView.java, in plugin ummisco.gama.ui.shared, is part of the source code of the GAMA modeling and
* simulation platform. (v. 1.8.1)
*
* (c) 2007-2020 UMI 209 UMMISCO IRD/UPMC & Partners
*
* Visit h... | gama-platform/gama | ummisco.gama.ui.shared/src/ummisco/gama/ui/views/toolbar/IToolbarDecoratedView.java | Java | gpl-3.0 | 1,913 |
<!DOCTYPE html>
<html lang="en">
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js"><!--<![endif]-->
<head>
<base href="//www.vivotek.co... | vivotekweb/vivotekweb | ib836b-ht/index.html | HTML | gpl-3.0 | 61,189 |
Essays
======
### What is the difference between a memo, a photo essay, and a PECE essay?
A memo is a first draft of a piece of writing that may be published on
the site. Upon publishing a memo, that memo is opened for comments from
the platform’s community.
A photo essay is a collection of image artifacts, ordered i... | PECE-project/drupal-pece | src/docs/source/docs/essays.md | Markdown | gpl-3.0 | 5,972 |
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>NPC generator</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="styles/normalize.css">
<link rel="styleshee... | jrmi/npcgen | www/index.html | HTML | gpl-3.0 | 1,657 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Your description goes here">
<meta name="keywords" content="one, two, three">
<title>Blank Template</title>
<!-- external CSS link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/l... | emmacunningham/ga_sample_lesson | fewd_slides/Week_03_Layout/Assignment/starter_code/index.html | HTML | gpl-3.0 | 620 |
from typing import Optional
from django.contrib.auth.models import User
from jba_core import exceptions
def get_user_by_credentials(username: str, password: str) -> Optional[User]:
try:
user = User.objects.get(username=username)
if not user.check_password(password):
raise exceptions.... | JointBox/jbaccess-server | jbaccess/jba_core/service/UserService.py | Python | gpl-3.0 | 481 |
package com.williamjoy.wall.english;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
public class MaterialEditorActivity extends Activ... | williamjoy/Wall-E | src/com/williamjoy/wall/english/MaterialEditorActivity.java | Java | gpl-3.0 | 1,883 |
import { useEffect, useRef } from "react";
import { PropTypes } from "prop-types";
import { useCodeMirror } from "./hook/useCodeMirror";
export function Code({ whenReady, ...props }) {
const editorRef = useRef(null);
const editor = useCodeMirror({ target: editorRef, ...props });
useEffect(() => {
... | nextgis/nextgisweb | nextgisweb/gui/nodepkg/component/code/Code.js | JavaScript | gpl-3.0 | 950 |
<?php
class ControllerModuleSlideshow extends Controller {
public function index($setting) {
static $module = 0;
$this->load->model('design/banner');
$this->load->model('tool/image');
$this->document->addStyle('catalog/view/javascript/jquery/flexslider/flexslider.css');
$this->document->addScript('catalo... | latestthemes/opencart | upload/catalog/controller/module/slideshow.php | PHP | gpl-3.0 | 1,248 |
module SeriesUsersHelper
end
| emclaughlin1215/codename-ourchive | app/helpers/series_users_helper.rb | Ruby | gpl-3.0 | 29 |
from vsg.rules import token_indent
from vsg import token
lTokens = []
lTokens.append(token.generic_clause.generic_keyword)
class rule_002(token_indent):
'''
This rule checks the indent of the **generic** keyword.
**Violation**
.. code-block:: vhdl
entity fifo is
generic (
... | jeremiah-c-leary/vhdl-style-guide | vsg/rules/generic/rule_002.py | Python | gpl-3.0 | 575 |
<style>
#reportForm {
height: auto;
width: 300px;
position: fixed;
right: 0;
top: 20%;
padding: 15px;
background-color: #fff;
display: none;
-webkit-box-shadow: 0px 0px 23px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 0px 23px 0px rgba... | LetsDoDiz/rennsimulation | template/html/reportingform.html | HTML | gpl-3.0 | 1,891 |
## Synopsis
WebRequest Class for sending GET/POST requests. POST requests can be sent with parameters and files attached within a single request.
## Code Example
```
Dim strSyncWordsUri As String = "https://api.syncwords.com/[Add resource path here]"
Dim strMethod As String = "POST"
' Instantiate the Frameweld... | frameweld/FWWebRequest | README.md | Markdown | gpl-3.0 | 1,376 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle... | uhoreg/moodle | install/lang/mn/install.php | PHP | gpl-3.0 | 6,062 |
//
// Type.cs
//
// Author:
// Simon Mika <simon@mika.se>
//
// Copyright (c) 2014 Simon Mika
//
// 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, ... | cogneco/Cogneco.Transpiler | Cogneco.Transpiler.Apus/SyntaxTree/Type.cs | C# | gpl-3.0 | 1,412 |
#ifndef MESSAGEBOX_H
#define MESSAGEBOX_H
#include <QMessageBox>
#include <QtGui>
#include <QSpacerItem>
#include <QGridLayout>
class MsgBox : public QMessageBox
{
Q_OBJECT
public:
explicit MsgBox( QWidget* parent = NULL );
~MsgBox();
void setWindowTitle(const QString &title);
void setStandardButtons(Standa... | Gira-X/VMT-Editor | src/messagebox.h | C | gpl-3.0 | 1,206 |
<?php
namespace PavlePredic\CurrencyConverter\Tests\Service;
use PavlePredic\CurrencyConverter\Entity\ExchangeRate;
use PavlePredic\CurrencyConverter\Provider\ExchangeRatesProviderInterface;
use PavlePredic\CurrencyConverter\Service\CurrencyConverter;
use PavlePredic\CurrencyConverter\Tests\Provider\ExchangeRateTest;
... | pavlepredic/currency-converter | Tests/Service/CurrencyConverterTest.php | PHP | gpl-3.0 | 1,061 |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var StationsSchema = new Schema({
Station_No: {
type: String,
required: true
},
Longitude: {
type: String,
required: false
},
Latitude: {
type: String,
required: false
},
Catchment_Area: {
type: Number,
required: false
},
... | khumbue/Hydrological-Analysis | Final/hydrological_analysis_dashboard/models/models.js | JavaScript | gpl-3.0 | 511 |
<!doctype html>
<title>WorldMap Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:... | cga-harvard/cga-worldmap | geonode/templates/maintenance.html | HTML | gpl-3.0 | 636 |
---
title: 如何訂製 Linux X 視窗環境
category: computer
old-category: 電腦技術
tags: [linux,debian,gdm,openbox]
permalink: /archives/19886616.html
---
<p>
以 Debian 6 與 Ubuntu 10.04 / 12.04 為基礎,說明如何訂製 X 視窗環境。
相關內容:
</p>
<ul>
<li>GDM
</li>
<li>startx
</li>
<li>Xsession
</li>
<li>openvt - ... | rocksaying/rocksaying.github.io | _posts/2012-7-12-如何訂製 Linux X 視窗環境.html | HTML | gpl-3.0 | 12,186 |
#!/usr/bin/env python3
import os
import pathlib
import sysconfig
import compileall
import subprocess
prefix = pathlib.Path(os.environ.get('MESON_INSTALL_PREFIX', '/usr/local'))
datadir = prefix / 'share'
destdir = os.environ.get('DESTDIR', '')
if not destdir:
print('Compiling gsettings schemas...')
subproces... | sramkrishna/eidisi | scripts/meson_post_install.py | Python | gpl-3.0 | 838 |
package de.uni_kiel.progOOproject17.model.abs;
/**
* This interface serves as a listener that is used to call back when a {@link Destroyable} got {@link Destroyable#destroy()}ed.
*/
@FunctionalInterface
public interface DestroyListener {
/**
* Will be called when the {@link Destroyable} d got {@link Des... | YouMe2/GameEngine | GameEngine/src/de/uni_kiel/progOOproject17/model/abs/DestroyListener.java | Java | gpl-3.0 | 442 |
using System;
using UnityEngine;
[Serializable]
public class PlantPanelModel {
public string name;
public string description;
public Sprite[] images;
}
| tecedufurb/atmos-game | Assets/PlantsPanel/Scripts/PlantPanelModel.cs | C# | gpl-3.0 | 172 |
package org.bukkit;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
import java.util.List;
import net.minecraft.server.Block;
import net.minecraft.server.BlockFire;
import net.minecraft.server.Item;
import net.minecraft.server.ItemFood;
import net.minecraft.server.ItemRecord;
import org.buk... | squallblade/Spigot | src/test/java/org/bukkit/PerMaterialTest.java | Java | gpl-3.0 | 4,197 |
/*
* Copyright (C) 2017 zsel
*
* 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 later version.
*
* This program is distributed i... | Obsidiam/amelia | src/main/java/com/neology/data/model/Frame.java | Java | gpl-3.0 | 1,335 |
package com.wikidreams.shell;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class App {
public static void main(String[] args) {
String domainName = "google.com";
// Execute the command in windows
String command = "ping -n 3 " + domainName;
// Execute the command in Mac osX
//... | WikiDreams/ShellCommand | src/com/wikidreams/shell/App.java | Java | gpl-3.0 | 907 |
<?php
// Heading
$_['heading_title'] = 'Settings';
// Text
$_['text_stores'] = 'Stores';
$_['text_success'] = 'Success: You have modified settings!';
$_['text_edit'] = 'Edit Setting';
$_['text_product'] = 'Products';
$_['text_review'] ... | Freedom-FD/freedom | upload/vqmod/vqcache/vq2-admin_language_en-gb_setting_setting.php | PHP | gpl-3.0 | 16,632 |
div.chart-holder {
border: 1px black solid;
margin: 10px 0px;
}
div.code {
margin: 5px;
padding-left: 15px;
background-color: rgb(200, 200, 200);
border: 2px dashed black;
}
table td tr {
padding: 5px;
}
div.filter-entry {
padding: 5px;
}
| BrechtDeMan/WebAudioEvaluationTool | analysis/analysis.css | CSS | gpl-3.0 | 287 |
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Apr 16, 2017 at 09:08 PM
-- Server version: 10.1.19-MariaDB
-- PHP Version: 7.0.13
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_C... | kareem2048/ADwytee | Code/Database/ADwytee.sql | SQL | gpl-3.0 | 15,023 |
package dk.aau.cs.giraf.tortoise;
public interface OnMainLayoutEventListener {
public void OnMainLayoutTouchListener();
}
| NC2903/Tortoise | source/Tortoise/src/dk/aau/cs/giraf/tortoise/OnMainLayoutEventListener.java | Java | gpl-3.0 | 124 |
# -*- coding: utf-8 -*-
# Copyright (c) 2010 - 2015 Detlev Offenbach <detlev@die-offenbachs.de>
#
"""
Module implementing a dialog to enter the data for a copy or rename operation.
"""
from __future__ import unicode_literals
import os.path
from PyQt5.QtCore import pyqtSlot
from PyQt5.QtWidgets import QDialog, QDia... | testmana2/test | Plugins/VcsPlugins/vcsMercurial/HgCopyDialog.py | Python | gpl-3.0 | 2,379 |
/*{{{ Comments */
/****************************************************************/
/* Helios Linker */
/* */
/* File: genimage.c */
/* */
/* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994 to */
/* Perihelion So... | axelmuhr/Helios-NG | cmds/linker/genimage.c | C | gpl-3.0 | 35,380 |
package ExifUtils;
import Rename.meta;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
/*
* 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.
*/
/**
*
* @author ga... | GRuppert/PictureImport | src/ExifUtils/ifMetaLink.java | Java | gpl-3.0 | 844 |
/*
* to_base32.c
* convert binary string to base32, Tile impl.
*
* Copyright (c) 2011 Jan Seiffert
*
* This file is part of g2cd.
*
* g2cd 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 versi... | kaffeemonster/g2cd | lib/tile/to_base32.c | C | gpl-3.0 | 1,834 |
<?php
/**
* OpenEyes
*
* (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2013
* (C) OpenEyes Foundation, 2011-2013
* This file is part of OpenEyes.
* OpenEyes 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 Found... | openeyesarchive/OpenEyes | protected/views/admin/generic_admin.php | PHP | gpl-3.0 | 1,442 |
// SuperTux
// Copyright (C) 2015 Hume2 <teratux.mail@gmail.com>
//
// 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 later ver... | SuperTux/supertux | src/gui/item_stringselect.cpp | C++ | gpl-3.0 | 3,911 |
dnf remove -y nodejs
cd /usr/local/src
wget https://nodejs.org/dist/v12.4.0/node-v12.4.0-linux-x64.tar.xz
tar xf node-v12.4.0-linux-x64.tar.xz
mv node-v12.4.0-linux-x64 /srv/node-v12.4.0
rm -f /srv/node
ln -s /srv/node-v12.4.0 /srv/node
alternatives --install /usr/local/bin/node node /srv/node-v12.4.0/bin/node 100 \
... | oscm/shell | lang/node.js/binrary/node-v12.4.0.sh | Shell | gpl-3.0 | 502 |
#if defined(__APPLE__)
#include <CoreServices/CoreServices.h>
#include <mach/mach.h>
#include <mach/mach_time.h>
#include <unistd.h>
unsigned long long currentTimeNano() {
uint64_t t = mach_absolute_time();
Nanoseconds tNano = AbsoluteToNanoseconds(*(AbsoluteTime*)&t);
return *(uint64_t *)&tNano;
}
unsigned lo... | luxigo/elphel-jp4-tools | libjp4/clock.h | C | gpl-3.0 | 797 |
--
-- Type: PROCEDURE; Owner: TM_CZ; Name: I2B2_RBM_ZSCORE_CALC_NEW2
--
CREATE OR REPLACE PROCEDURE "TM_CZ"."I2B2_RBM_ZSCORE_CALC_NEW2"
(
trial_id VARCHAR2
,run_type varchar2 := 'L'
,currentJobID NUMBER := null
,data_type varchar2 := 'R'
,log_base number := 2
,source_cd varchar2
)
AS
/************************... | thehyve/transmart-data | ddl/oracle/tm_cz/procedures/i2b2_rbm_zscore_calc_new2.sql | SQL | gpl-3.0 | 12,503 |
namespace Grove.Tests.Cards
{
using Infrastructure;
using Xunit;
public class SageEyeAvengers
{
public class Ai : AiScenario
{
[Fact]
public void ReturnBearToHand()
{
Battlefield(P1, "Sage-Eye Avengers");
Battlefield(P2, "Grizzly Bears", "Forest");
P2.Life = ... | pinky39/grove | tests/Grove.Tests/Cards/SageEyeAvengers.cs | C# | gpl-3.0 | 392 |
//
//
// Laidout, for laying out
// Copyright (C) 2004-2006 by Tom Lechner
//
// 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 late... | Laidout/laidout | src/printing/psfilters.cc | C++ | gpl-3.0 | 3,625 |
/* Main program for the PPL/SWI-Prolog generated tests.
Copyright (C) 2001-2010 Roberto Bagnara <bagnara@cs.unipr.it>
Copyright (C) 2010-2017 BUGSENG srl (http://bugseng.com)
This file is part of the Parma Polyhedra Library (PPL).
The PPL is free software; you can redistribute it and/or modify it
under the term... | fcristini/PPLite2 | interfaces/Prolog/SWI/swi_prolog_generated_test.pl | Perl | gpl-3.0 | 1,462 |
-----------------------------------
-- Area: Xarcabard
-- NPC: ??? (for Boreal Tiger)
-- Involved in Quests: Atop the Highest Mountains
-- @zone 112
-- @pos 341 -29 370
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("s... | Laterus/Darkstar-Linux-Fork | scripts/zones/Xarcabard/npcs/qm2.lua | Lua | gpl-3.0 | 1,469 |
<?php
class Util_DocblockParser {
protected $docblock;
public function __construct($docblock) {
$this->docblock = $docblock;
}
/**
* @return array<string,string>
*/
public function parse() {
$docblock = $this->docblock;
$docblock = preg_replace( "/(^\/\*\*)|(\*\/$)/", "", $docblock );
$docblock... | szymanp/light | Light/Util/DocblockParser.php | PHP | gpl-3.0 | 1,121 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Class com.google.gwt.core.ext.linker.SyntheticArtifact (Google Web Toolkit Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet... | dandrocec/PaaSInterop | SemanticCloudClient/build/web/WEB-INF/lib/doc/javadoc/com/google/gwt/core/ext/linker/class-use/SyntheticArtifact.html | HTML | gpl-3.0 | 15,097 |
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# OPTIONS -Wall -fno-warn-unused-binds #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.Fixed
-- Copyright : (c) Ashley Yakeley 2005, 2006, 2009
-- Lic... | jwiegley/ghc-release | libraries/base/Data/Fixed.hs | Haskell | gpl-3.0 | 7,207 |
<!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>LinuxUserId Class R... | tailored/qiptables | html/classLinuxUserId.html | HTML | gpl-3.0 | 12,395 |
/*
Copyright (C) 2008-2015 Teddy Michel
This file is part of TEngine.
TEngine 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.
TEngine is d... | teddy-michel/TEngine | include/Gui/CListView.hpp | C++ | gpl-3.0 | 4,416 |
// Kamilla 15211
// Auto generated on 01.02.2012 12:16:41
namespace Kamilla.Network.Protocols.Wow.Game
{
public partial class UpdateFields
{
private static UpdateField<ObjectUpdateFields>[] _ObjectUpdateFields = new UpdateField<ObjectUpdateFields>[]
{
new UpdateField<ObjectUpdateFie... | LordJZ/Kamilla.Wow | Kamilla.Network.Protocols.Wow/Game/UpdateFields.Generated.cs | C# | gpl-3.0 | 347,185 |
/**
*
*/
package mac.lista;
import static org.junit.Assert.*;
import org.junit.Test;
/**
* @author T420
*
*/
public class ListaTest {
@Test
public void test() {
Lista s = new Lista(9);
piszLn(s.dodajElement(0));
s.dodajElement(1);
s.dodajElement(2);
s.dodajElement(3);
s.dod... | michaldurski/mac-lista | mac/src/mac/lista/ListaTest.java | Java | gpl-3.0 | 716 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.