answer stringlengths 15 1.25M |
|---|
<?php
$caminho = @$_GET['caminho'];
$pastas = preg_split('@/@', $caminho, -1, PREG_SPLIT_NO_EMPTY);
$arvore = array('' => NULL);
$nivelAtual = &$arvore[''];
$pai = 0;
for ($i=0; $i<count($pastas); $i++) {
$nivelAtual = array();
$subpastas = Query::query(false, NULL, 'SELECT id, nome, visibilidade, criador FROM ... |
<?php namespace Test\Deserializer;
use Test\Serializer\EntityNode\Vehicle;
class VehicleChecker
{
public function <API key>(Vehicle $vehicle)
{
return $vehicle;
}
} |
function <API key>(v) {
document.write("Last updated " + v.substr(7, 19));
} |
package com.baeldung.jhipster5.web.rest;
import com.baeldung.jhipster5.BookstoreApp;
import com.baeldung.jhipster5.config.Constants;
import com.baeldung.jhipster5.domain.Authority;
import com.baeldung.jhipster5.domain.User;
import com.baeldung.jhipster5.repository.AuthorityRepository;
import com.baeldung.jhipster5.repo... |
import { defineMessages } from 'react-intl';
export default defineMessages({
save: {
id: 'cboard.components.FormDialog.save',
defaultMessage: 'Save'
},
cancel: {
id: 'cboard.components.FormDialog.cancel',
defaultMessage: 'Cancel'
}
}); |
package CGRB::BLASTDB;
# $Id: BLASTDB.pm,v 1.4 2004/11/16 21:38:43 givans Exp $
use warnings;
use strict;
use Carp;
use CGRB::CGRBDB;
use vars qw/ @ISA /;
@ISA = qw/ CGRBDB /;
1;
sub new {
my $pkg = shift;
my $user = shift;
my $psswd = shift;
$user = 'gcg' unless ($user);
$psswd = 'sequences' unless ($psswd);... |
<!DOCTYPE html >
<html>
<head>
<title><API key> - ScalaFX API 8.0.0-R4 - scalafx.util.converter.<API key></title>
<meta name="description" content="<API key> - ScalaFX API 8.0.0 - R4 - scalafx.util.converter.<API key>" />
<meta name="keywords" content="<API key> ScalaFX API 8.0.0 R... |
package xmv.solutions.IT2JZ.Jira;
/**
*
* @author David Koller XMV Solutions GmbH
*/
public class JiraTestcaseStep {
/**
* Name of Step (e.g. "Step 1")
*/
private String stepName;
/**
* Action to give in actual step (e.g. "Press red button")
*/
private String testData;
/**
... |
pizzasys
=====
A system for pizzerias |
package tempconv
// CToF converts a Celsius temperature to Fahrenheit
func CToF(c Celsius) Fahrenheit {
return Fahrenheit(c * 9 / 5 + 32)
}
// FToC converts s Fahrenheit temperature to Celsius
func FToC(f Fahrenheit) Celsius {
return Celsius((f - 32) * 5 / 9)
} |
const { nativeImage } = require('electron')
const { resolve } = require('path')
exports.size16 = nativeImage.createFromPath(resolve(__dirname, '../icon16.png'))
exports.size16.setTemplateImage(true) |
package yio.tro.antiyoy.menu.customizable_list;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import yio.tro.antiyoy.gameplay.diplomacy.DiplomaticEntity;
import yio.tro.antiyoy.menu.render.<API key>;
import yio.tro.antiyoy.menu.render.MenuRender;
import yio.tro.antiyoy.menu.scenes.Scenes;
import yio.tro.antiyoy.menu... |
// This program is free software: you can redistribute it and/or modify
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
namespace SimpleZIP_UI.Presentation.View.Model
{
<summary>
Represents... |
#!/usr/bin/env bash
INTERFACE="${INTERFACE:-wlo1}"
systemctl enable netctl-auto@$INTERFACE
systemctl --user enable maintenance.timer
systemctl --user enable battery.timer |
package standalone_tools;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import framework.DataQuery;
import framework.DiffComplexDetector;
import framework.DiffComplexDetector.SPEnrichment;
import framework.<API key>;
import framework.QuantDACOResultSet;
import framework.Util... |
// black-box testing
package router_test
import (
"testing"
"github.com/kataras/iris"
"github.com/kataras/iris/context"
"github.com/kataras/iris/core/router"
"github.com/kataras/iris/httptest"
)
type testController struct {
router.Controller
}
var writeMethod = func(c router.Controller) {
c.... |
package eu.geopaparazzi.library.profiles.objects;
import android.os.Parcel;
import android.os.Parcelable;
import eu.geopaparazzi.library.network.download.IDownloadable;
public class ProfileOtherfiles extends <API key> implements Parcelable, IDownloadable {
public String url = "";
public String modifiedDate = ""... |
#from moderation import moderation
#from .models import SuccessCase
#moderation.register(SuccessCase) |
document.addEventListener("DOMContentLoaded", function(event) {
if (/android|blackberry|iPhone|iPad|iPod|webOS/i.test(navigator.userAgent) === false) {
var linkDescrs = document.querySelectorAll('.link-descr');
Array.prototype.forEach.call(linkDescrs, function(el, i) {
el.parentNode.addE... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>File Source for THead.php</title>
<link rel="stylesheet" href="../media/stylesheet.css" />
... |
package de.turnierverwaltung.control.settingsdialog;
import java.awt.Dialog;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.sql.SQLException;
import javax.swing.JDialog;
import javax.swing.JFileChooser;
import javax.swing.JOptionPane;
impo... |
namespace Ribbonizer.Ribbon
{
using System.Collections.Generic;
using System.Linq;
using Ribbonizer.Ribbon.<API key>;
using Ribbonizer.Ribbon.Tabs;
internal class RibbonInitializer : IRibbonInitializer
{
private readonly IEnumerable<<API key>> <API key>;
private readonly <API key... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of satpy.
# satpy is free software: you can redistribute it and/or modify it under the
# version.
# satpy is distributed in the hope that it will be useful, but WITHOUT ANY
"""Fetch avhrr calibration coefficients."""
import datetime as dt
import os.path
... |
<?php
$NAME='<API key> malware_signature- ID 2155';
$TAGCLEAR='A<?php[^}]{1,600}}}define([\'"]startTime[\'"],getTime());if(!function_exists([\'"]shellexec[\'"])){functions+shellexec($cmd){';
$TAGBASE64='QTw/cGhwW159XXsxLDYwMH19fWRlZmluZShbXCciXXN0YXJ0VGltZVtcJyJdLGdldFRpbWUoKSk7aWYoIWZ1bmN0aW9uX2V4aXN0cyhbXCciXXNoZWxsZ... |
#define TYPEDEPARGS 0, 1, 2, 3
#define SINGLEARGS
#define REALARGS
#define OCTFILENAME <API key> // change to filename
#define OCTFILEHELP "This function calls the C-library\n\
phase=<API key>(s,tgrad,fgrad,cfreq,a,do_real,tol,phasetype)\n Yeah."
#include "<API key>.h"
static inline void
<API key>(
... |
#ifndef COMMON_MD5CALC_H
#define COMMON_MD5CALC_H
#include "common/ragemu.h"
The md5 interface
struct md5_interface {
/**
* Hashes a string, returning the hash in string format.
*
* @param[in] string The source string (NUL terminated).
* @param[out] output Output buffer (at least 33 bytes avail... |
// OpenCppCoverage is an open source code coverage for C++.
// This program is free software: you can redistribute it and/or modify
// any later version.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
using EnvDTE;
using EnvDTE80;
usin... |
<?php
/* PHP-NUKE: Advanced Content Management System */
/* This is the language module with all the system messages */
/* If you made a translation, please go to the site and send to me */
/* the translated file. Please keep the original text order by modules, */
/* and... |
#include "<API key>.hpp"
<API key>::<API key>(GrisLookAndFeel & lookAndFeel, <API key> & smallLookAndFeel)
: mLayout(LayoutComponent::Orientation::vertical, false, false, lookAndFeel)
, mVuMeter(smallLookAndFeel)
, mMuteSoloComponent(*this, lookAndFeel, smallLookAndFeel)
{
<API key>;
addAndMakeVisib... |
#include "main/SimpleCardProtocol.hh"
#include "bridge/BridgeConstants.hh"
#include "bridge/CardShuffle.hh"
#include "bridge/CardType.hh"
#include "bridge/Position.hh"
#include "engine/SimpleCardManager.hh"
#include "main/Commands.hh"
#include "main/PeerCommandSender.hh"
#include "messaging/<API key>.hh"
#include "mess... |
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// Includes
#include "MantidDataHandling/RemoveLogs.h"
#include "MantidAPI/FileProperty.h"
#include "MantidDataObjects/Workspace2D.h"
#include "MantidKernel/ArrayProperty.h"
#include "MantidKernel/Glob.h"
#include "M... |
#ifndef <API key>
#define <API key>
#ifdef <API key>
#include <mirror/config.hpp>
<API key>
<API key>
#endif // DOCUMENTATION_ONLY
#endif //include guard |
#sidebar {
display: none;
}
#sidebar * {
border-radius: 0 !important;
}
#sidebar > nav {
background-color: #222222;
}
@media (min-width: 768px) {
#sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 1000;
display: block;
padding: 0;
... |
namespace GemsCraft.Entities.Metadata.Flags
{
public enum TameableFlags: byte
{
IsSitting = 0x01,
<summary>
Only used with wolves
</summary>
IsAngry = 0x02,
IsTamed = 0x04
}
} |
import React from 'react';
import { connect } from 'react-redux';
import { View, Text, FlatList } from 'react-native';
import sb from '<API key>';
import dateHelper from '@shared/utils/date-helper';
import appConfig from '../config.app';
import ConvItem from '../components/ConvItem';
import { reloadConverseList } from ... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
public partial class <API key> {
<summary>
PollNew control.
</summary>
<remarks>
Auto-generated field.
T... |
import java.io.BufferedReader;
import java.io.<API key>;
import java.io.FileReader;
import java.io.IOException;
public class ReadSavedData
{
public static void StartRead() throws IOException
{
FileReader file = new FileReader("C:/Users/Public/Documents/SavedData.txt");
BufferedReader reader = ne... |
enum MessageType
{
TYPE_CHAT_MESSAGE = 2000
};
enum PropertyType
{
PR_CHAT_NICK = 3000,
PR_CHAT_TEXT
}; |
.block {
background:yellow;
/*max-height:50px;*/
border:5px;
border-color:red;
max-width:300px;
-moz-border-radius: 15px;
padding-left:5px;
padding-right:10px;
z-index:11;
}
.block:not(.block-inlist):last-of-type,.block-inlist{
<API key>: 10px;
}
.block-instack {
list-style-p... |
#ifndef BACKGROUND_H
#define BACKGROUND_H
#include <QImage>
#include "ffmpegvideodecoder.h"
class Background
{
public:
Background();
virtual ~Background();
// Actual draw function to implement. Should return time when the next
// doDraw() should be called - for example, for videos it... |
#!/bin/sh
declare -x PATH_TO_SOURCE=`dirname $0`/..
cd $PATH_TO_SOURCE
bsc -e "(<API key> \"ensanche-core\" 'main)" |
class <API key> < ActionController::Base
class ForbiddenException < StandardError; end
<API key>
before_filter :set_locale
before_filter :authenticate_user!
layout :get_layout
def set_locale
I18n.locale = params[:locale] || I18n.default_locale
end
def get_layout
if !user_signed_in?
get_lay... |
package com.uwyn.jhighlight.pcj.hash;
/**
* This interface represents hash functions from char values
* to int values. The int value result is chosen to achieve
* consistence with the common
* {@link Object#hashCode() hashCode()}
* method. The interface is provided to alter the hash functions used
* by hash... |
using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
using OpenDentBusiness;
namespace OpenDental.Eclaims
{
<summary>
Summary description for BCBSGA.
</summary>
public class BCBSGA{
<summary></summary>
public static string ErrorMessage="";
public... |
#include "inventorypage.h"
#include "ui_inventorypage.h"
#include "fak.h"
#include "inventorypage.h"
#include <QtDebug>
#include "QtDebug"
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>
static const QString path = "C:/Sr.GUI/FAKKIT/db/fakdb4.db";
InventoryPage::InventoryPage(QWidget *parent) :
QDia... |
var gulp = require('gulp');
var browserSync = require('browser-sync');
var jshint = require('gulp-jshint');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
gulp.task('browser-sync', function() {
browserSync.init({ |
#ifndef __CLOCK_ROM_H__
#define __CLOCK_ROM_H__
#define ROM_ALARM0_DAY_MASK 0
#define ROM_ALARM0_HOUR 1
#define ROM_ALARM0_MIN 2
#define ROM_ALARM0_DUR 3
#define ROM_ALARM1_ENABLE 4
#define ROM_TIME_IS12 10
#define <API key> 11
#define ROM_BEEPER_ENABLE 12
#define ROM_POWERSAVE_TO 13
#defi... |
#ifndef SERIALTASK_H_
#define SERIALTASK_H_
#include "TemplateNamedTask.h"
#include <vector>
namespace Ember
{
namespace Tasks
{
/**
* @author Erik Hjortsberg <erik.hjortsberg@gmail.com>
* @brief A task which wraps two or more other tasks, which will be executed in order.
* This is useful if you want to make sure th... |
\hypertarget{_coloring_8java}{}\doxysection{src/ch/innovazion/arionide/menu/structure/\+Coloring.java File Reference}
\label{_coloring_8java}\index{src/ch/innovazion/arionide/menu/structure/Coloring.java@{src/ch/innovazion/arionide/menu/structure/Coloring.java}}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\ite... |
/* Source Of Evil Engine */
/* Dynamic object list */
class C4ObjectLink
{
public:
C4Object *Obj;
C4ObjectLink *Prev,*Next;
};
class C4ObjectList
{
public:
C4ObjectList();
~C4ObjectList();
public:
C4ObjectLink *First,*Last;
int Mass;
char *szEnumerat... |
using UnityEngine;
using System.Collections;
public class TimeScaleManager : MonoBehaviour {
public static TimeScaleManager instance;
public delegate void <API key>();
public event <API key> TimeScaleChange;
public bool isPlaying;
public bool IsPaused {
get { return !isPlaying; }
}
p... |
#ifndef __ASSIGN_SPRITES_H
#define __ASSIGN_SPRITES_H
void AssignSprites(void);
#endif |
# Dockerfile "Big"
Intended for a big webapplications which expects the following tools:
- texlive (pdflatex) |
package org.amse.marinaSokol.model.interfaces.object.net;
public interface IActivationFunctor {
double getFunction(double x);
double getDerivation(double x);
String getNameFunction();
} |
/*
<API key>: 2007 Jean-Baptiste Mardelle <jb@kdenlive.org>
<API key>: GPL-3.0-only OR <API key>
*/
#include "definitions.h"
#include <klocalizedstring.h>
#include <QColor>
#include <utility>
#ifdef CRASH_AUTO_TEST
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnosti... |
// THE ABOVE NOTICE MUST REMAIN INTACT.
using System;
using <API key>;
using <API key>.<API key>;
namespace <API key>
{
<summary>
Summary description for tableorder_process.
</summary>
public partial class tableorder_process : System.Web.UI.Page
{
protected void Page_Load(object sender, Syst... |
package net.sareweb.emg.service;
import com.liferay.portal.kernel.bean.<API key>;
import com.liferay.portal.kernel.util.ReferenceRegistry;
import com.liferay.portal.service.InvokableService;
/**
* Provides the remote service utility for Draw. This utility wraps
* {@link net.sareweb.emg.service.impl.DrawServiceImpl} a... |
#define ICON_SIZE QSize(48,48)
#define EXPANDED_HEIGHT 413
#define UNEXPANDED_HEIGHT 137
#include "mainpage.h"
#include "ui_options.h"
#include <QWidget>
#include <QComboBox>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QGroupBox>
#include <QCheckBox>
#include <QLineEdit>
#include <QMimeData>
#incl... |
# Makefile.in generated by automake 1.13.2 from Makefile.am.
# monte/Makefile. Generated from Makefile.in by configure.
# This Makefile.in is free software; the Free Software Foundation
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be usefu... |
package org.mozilla.javascript.optimizer;
import org.mozilla.javascript.ArrowFunction;
import org.mozilla.javascript.Callable;
import org.mozilla.javascript.ConsString;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.ContextFactory;
import org.mozilla.javascript.ES6Generator;
import org.mozilla.jav... |
#include "relativelayout.h"
#include <QDebug>
RelativeLayout::RelativeLayout(View *parent) :
View(parent)
{
// By default, QQuickItem does not draw anything. If you subclass
// QQuickItem to create a visual item, you will need to uncomment the
// following line and re-implement updatePaintNode()
// ... |
.nav-tabs {
border-bottom: 1px solid #151313 !important;
background-color: rgba(0, 0, 0, 0.33);
padding: 5px;
}
li.btn {
height: 44px;
}
* {
margin:0;
padding:0;
border-radius: 0px;
}
.table-hover>tbody>tr:hover {
background-color: #8387F1;
border-radius: 0px ;
}
.table-ho... |
#ifndef <API key>
#define <API key>
#include <opm/core/simulator/SimulatorState.hpp>
#include <opm/core/pressure/tpfa/ifs_tpfa.h>
#include <vector>
struct UnstructuredGrid;
struct Wells;
struct <API key>;
namespace Opm
{
class <API key>;
class RockCompressibility;
class <API key>;
class WellState;
c... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Thu Feb 05 20:10:13 EST 2015 -->
<title>ModDiscoverer (Forge API)</title>
<meta name="date" content="2015-02-05">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<... |
// This file is part of zinc64.
use zinc64_core::{Ram, Rom, Shared, SharedCell};
pub struct VicMemory {
base_address: SharedCell<u16>,
charset: Shared<Rom>,
ram: Shared<Ram>,
}
impl VicMemory {
pub fn new(base_address: SharedCell<u16>, charset: Shared<Rom>, ram: Shared<Ram>) -> VicMemory {
VicMe... |
<html>
<head>
<title>Document Browser</title>
<link rel='stylesheet' href='./scdoc.css' type='text/css' />
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
<script src="docmap.js" type="text/javascript"></script>
<script src="scdoc.js" type="text/javascript"></script>
<style>
.b... |
<?php
/**
* Functions for building the page content for each codex page
*
* @since 1.0.0
* @package Codex_Creator
*/
/**
* Get and format content output for summary section of the codex page.
*
* @since 1.0.0
* @package Codex_Creator
* @param int $post_id Post ID of the post content required.
* @param string... |
package verdandi;
public class <API key> extends Exception {
private static final long serialVersionUID = 1L;
public <API key>() {
super();
}
/**
* @param message
*/
public <API key>(String message) {
super(message);
}
} |
/*
* This section contains meta informations.
*
* $Id$
*/
package jmul.web.page;
import java.io.File;
import java.io.FileInputStream;
import java.io.<API key>;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import jmul.io.NestedStreams;
import jmul.io.Nest... |
#include "gensvm_debug.h"
/**
* @brief Print a dense matrix
*
* @details
* Debug function to print a matrix
*
* @param[in] M matrix
* @param[in] rows number of rows of M
* @param[in] cols number of columns of M
*/
void gensvm_print_matrix(double *M, long rows, long cols)
{
long i, j... |
package au.edu.anu.datacommons.doi;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.StringWriter;
import java.net.URI;
import javax.ws.rs.core.UriBuilder;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax... |
/* Borrowed from coreutils. */
#ifndef DIE_H
# define DIE_H
# include <error.h>
# include <stdbool.h>
# include <verify.h>
/* Like 'error (STATUS, ...)', except STATUS must be a nonzero constant.
This may pacify the compiler or help it generate better code. */
# define die(status, ...) \
verify_expr (status, (er... |
// This program is free software: you can redistribute it and/or modify
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#include "version.h"
#define STR_HELPER(x)
#define STR(x) STR_HELPER(x)
#ifnd... |
import { Model } from "chomex";
import catalog from "./catalog";
export interface DeckCaptureLike {
_id: any;
title: string;
row: number; col: number; page: number;
cell: { x: number; y: number; w: number, h: number; };
protected?: boolean;
}
export default class DeckCapture extends Model {
static __ns = "D... |
#include "ImageLoadQueue.h"
// synchronized against all other methods
ImageLoadItem ImageLoadQueue::pop ( void )
{
ImageLoadItem x;
_sem.acquire();
_mutex.lock();
x = QQueue<ImageLoadItem>::front();
QQueue<ImageLoadItem>::pop_front();
_mutex.unlock();
return x;
}
// synchronized against all ... |
#include "Nucleus/Hash.h"
#include "Nucleus/Tests/Hash/HashTest.h"
const bool expectedToPass = true;
int main()
{
psonSessionContext context;
psonHash* pHash;
enum psoErrors errcode;
char* key1 = "My Key 1";
char* key2 = "My Key 2";
char* data1 = "My Data 1";
char* data2 = "My Data 2";
psonHashI... |
#ifndef <API key>
#define <API key>
#include "module.h"
using namespace std;
using FeatureMap = vector<vector<Neuron*>>;
FeatureMap* matrifyNeurons(vector<Neuron*>& v, int sizex, int sizey) {
FeatureMap *fmap = new FeatureMap();
fmap->resize(sizex);
int z = 0;
for(unsigned int x = 0; x < fmap->size(); x++) {
... |
// <auto-generated>
// This code was generated from a template.
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
namespace WithoutPath.DAL
{
using System;
using System... |
package co.edu.udea.ingenieriaweb.admitravel.bl;
import java.util.List;
import co.edu.udea.ingenieriaweb.admitravel.dto.PaqueteDeViaje;
import co.edu.udea.ingenieriaweb.admitravel.util.exception.IWBLException;
import co.edu.udea.ingenieriaweb.admitravel.util.exception.IWDaoException;
public interface PaqueteDeViajeBL {... |
// mailer.js
var nodemailer = require('nodemailer');
var smtpTransport = nodemailer.createTransport("SMTP", {
service: "Mandrill",
debug: true,
auth: {
user: "evanroman1@gmail.com",
pass: "<API key>"
}
});
exports.<API key> = function(emailaddress, username, firstname, expiremoment, toke... |
$(function(){
$('#telefone').mask('(99)9999-9999');
$('.editar').on({
click : function(){
var url = URI+"sistema/editar/"+$(this).attr('data-item');
window.location.href = url;
}
});
$('.deletar').on({
click : function(){
var $selecionados = ge... |
def plotHistory(plot_context, axes):
"""
@type axes: matplotlib.axes.Axes
@type plot_config: PlotConfig
"""
plot_config = plot_context.plotConfig()
if (
not plot_config.isHistoryEnabled()
or plot_context.history_data is None
or plot_context.history_data.empty
):
... |
# -*- coding: UTF-8 -*-
from hashlib import md5
def gen_md5(content_str):
m = md5()
m.update(content_str)
return m.hexdigest() |
#ifndef <API key>
#define <API key>
#include "Object.h"
#include "ObjectManager.h"
#include "icons/sketch.c"
#include <glibmm/i18n.h>
#include <cairomm/surface.h>
namespace Polka {
/*
class Palette;
class BitmapCanvas : public Polka::Object
{
public:
BitmapCanvas( int depth );
~BitmapCanvas();
enum Type { B... |
#ifndef SD_CMD_H
#define SD_SD_CMD_H
/* CMD0: response R1 */
#define <API key> 0x00
/* CMD1: response R1 */
#define SD_CMD_SEND_OP_COND 0x01
/* CMD8: response R7 */
#define SD_CMD_SEND_IF_COND 0x08
/* CMD9: response R1 */
#define SD_CMD_SEND_CSD 0x09
/* CMD10: response R1 */
#define SD_CMD_SEND_CID 0x0a
/* CMD12: respo... |
using System;
namespace Server.Network
{
public delegate void OnPacketReceive( NetState state, PacketReader pvSrc );
public delegate bool <API key>( NetState state );
public class PacketHandler
{
public PacketHandler( int packetID, int length, bool ingame, OnPacketReceive onReceive )
{
... |
package com.github.wglanzer.redmine;
import java.util.function.Consumer;
/**
* Interface that is able to create background-tasks
*
* @author w.glanzer, 11.12.2016.
*/
public interface IRTaskCreator
{
/**
* Executes a given task in background
*
* @param pTask Task that should be done in background
* @r... |
<?php
$namespacetree = array(
'vector' => array(
),
'std' => array(
'vector' => array(
'inner' => array(
)
)
)
);
$string = "while(!acceptable(a)) <API key>(&a);"; |
#ifndef VIDDEF_H
#define VIDDEF_H
#include <QObject>
// FFmpeg is a pure C project, so to use the libraries within your C++ application you need
// to explicitly state that you are using a C library by using extern "C"."
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavforma... |
// ADOBE SYSTEMS INCORPORATED
// NOTICE: Adobe permits you to use, modify, and distribute this
// accompanying it. If you have received this file from a source
// other than Adobe, then your use, modification, or distribution
/*
File: NearestBaseUIWin.c
C source file for Windows specific code for Color Picker... |
# This file is part of Sick Beard.
# Sick Beard is free software: you can redistribute it and/or modify
# (at your option) any later version.
# Sick Beard is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
import lazylibrarian
from lazylibrarian import log... |
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "platform.h"
#if defined(TELEMETRY) && defined(TELEMETRY_HOTT)
#include "build/build_config.h"
#include "build/debug.h"
#include "common/axis.h"
#include "common/time.h"
#include "drivers/time.h"
#include "drivers/serial.h"
#include "fc/runtime_confi... |
#include <Python.h>
#include "core/utilities.h"
#include "playlist/songplaylistitem.h"
#include "scripting/script.h"
#include "scripting/scriptmanager.h"
#include "scripting/python/pythonengine.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "<API key>.h"
#include "test_utils.h"
#include <QSettings>
#incl... |
<?php
class <API key> extends Controller {
public function index() {
$this->load->language('common/language');
$data['action'] = $this->url->link('common/language/language', '', $this->request->server['HTTPS']);
$data['code'] = $this->session->data['language'];
$this->load->model('lo... |
//tracker_nio.h
#ifndef _TRACKER_NIO_H
#define _TRACKER_NIO_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "fast_task_queue.h"
#ifdef __cplusplus
extern "C" {
#endif
void recv_notify_read(int sock, short event, void *arg);
int send_add_event(struct fast_task_info *pTask);
void <API key>(struct fa... |
using System;
using System.Collections;
using System.IO;
namespace Server.Engines.Reports
{
public class StaffHistory : PersistableObject
{
#region Type Identification
public static readonly PersistableType ThisTypeID = new PersistableType("stfhst", new ConstructCallback(Construct));
pri... |
@file
Text alignment common conventions.
#pragma once
#include <Qt>
namespace scram::gui {
Default alignment of numerical values in tables.
const int <API key> = Qt::AlignRight | Qt::AlignVCenter;
} // namespace scram::gui |
{% extends "layout.html" %}
{% block body %}
<div class="text_body">
<h2>Manage input variable groups</h2>
<form>
<h3>Create an input group</h3>
<p>
Input groups are used to select input variables for templates
They are managed at the partner level, so... |
[
bulbasaur = Oakdex::Pokedex::Pokemon.find(1)
# => #<Oakdex::Pokedex::Pokemon:0x007fe3dc... |
import numpy as np
import laspy as las
# Determine if a point is inside a given polygon or not
# Polygon is a list of (x,y) pairs. This function
# returns True or False. The algorithm is called
# the "Ray Casting Method".
# the point_in_poly algorithm was found here:
def point_in_poly(x,y,poly):
n = len(poly)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.