These files are only a suggestion, and are subject to change without notice.
Return actual scope. Must be inside of one element, like body or div tag.
Fallback to '' if does not have scope.
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="package_test_build" default="build"> | |
<target name="clean"> | |
<echo msg="Cleaning directories" /> | |
<delete dir="packages" includeemptydirs="true" /> | |
<delete file="pkg_everything.zip" /> | |
</target> | |
<target name="build"> | |
<echo msg="Building package" /> |
<?php | |
/* Snippet code to emulate argv on browser like on CLI | |
* Author: Emerson Rocha Luiz (http://fititnt.org) License: WTFPLv2 | |
*/ | |
if ( !isset($_SERVER['HTTP_USER_AGENT']) ) { | |
$arguments = $argv; | |
} else { | |
$arguments = array(); |
<?php | |
// Plugin do tipo user | |
// No direct access | |
defined('_JEXEC') or die('Restricted access'); | |
jimport('joomla.plugin.plugin'); | |
class plgUserNomedoplugin extends JPlugin { | |
<?php | |
// admin / controllers / helloworld.php | |
jimport('joomla.application.component.controllerform'); | |
class HelloWorldControllerHelloWorld extends JControllerForm | |
{ | |
//... | |
public function save($key = null, $urlVar = null) { | |
.contem { | |
margin: 0 auto; | |
width: 60em; /* (960px/16) = 60em */ | |
/* width: 960px; */ | |
} | |
.contem:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} |
# | |
# Alligo | |
# | |
alligowatch: | |
echo "Alligo: Watching less files..."; \ | |
watchr -e "watch('less/.*\.less') { system 'make alligo' }" | |
alligo: |
Correcao do trabalho pratico Ramses - 2014/02 | |
Calculo do lucro total | |
Teste numero 1 | |
Caso de teste 1 visitas=[4,2,4,0,4] lucro=[5,7,9,-1,-2,-3] | |
End.224 recebe 4 | |
End.225 recebe 2 | |
End.226 recebe 4 | |
End.227 recebe 0 | |
End.228 recebe 4 | |
End.229 recebe 15 |
; | |
;==================================================================== | |
; - Fonte base para a escrita de programa para o 8086 | |
; - Utiliza o modelo small | |
;==================================================================== | |
; | |
; Declaração do modelo de segmentos | |
.model small |
#lang racket/base | |
;; Arquivo contendo visão geral sobre como documentar código em scheme (Racket) | |
;; Estruct | |
;;------------------------------------------------------------------------------ | |
(define-struct elemento | |
(nome simbolo nro-atomico serie-atomica)) | |
;; Um elemento elemento de Elemento é uma estrutura | |
;; (make-elemento um-nome um-simbolo um-nro-atomico um-serie-atomica) onde |