Observe que precisa de 2 itens:
- cabeçalho usando pacote minted (que depende do pygments e python)
- rodapé que acrescenta a opção -shell-escape que o minted usa para colocar o
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache. | |
org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>Hello</groupId> | |
<artifactId>helloworld</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<maven.compiler.source>1.6</maven.compiler.source> | |
<maven.compiler.target>1.6</maven.compiler.target> |
BEGIN{FS=","} | |
{ | |
splittedname=""; | |
n=split($1, nome, " "); | |
# print n | |
if ( n == 2 ) { | |
splittedname=nome[1] FS" "FS; | |
} else { | |
splittedname=nome[1] FS; | |
} |
#!/bin/bash | |
# como pegar a lista de municípios do Brasil formatada para o resourcespace | |
cd /tmp | |
curl -C - -L -O http://pt.wikipedia.org/wiki/Lista_de_munic%C3%ADpios_do_Brasil 2>/dev/null | |
cat /tmp/Lista_de_munic%C3%ADpios_do_Brasil | grep wiki | grep '<li><a' | sed -e 's/<[^>]*>//g' | grep -vi 'municípios do Brasil' | grep -v 'Toponímia' | tr '\n' ',' | sed -e 's/^/,/;s/,$//' |
<?php | |
############################### | |
## ResourceSpace | |
## Local Configuration Script | |
############################### | |
# All custom settings should be entered in this file. | |
# Options may be copied from config.default.php and configured here. | |
# MySQL database settings |
(add-hook 'cal-tex-hook 'my-calendar-a4) | |
(defun my-calendar-a4 () | |
"Change inputenc from latin1 to utf8 and page layout to landscape." | |
(goto-char (point-min)) | |
(while (search-forward "latin1]{inputenc}" nil t) | |
(replace-match "utf8]{inputenc} | |
\\usepackage[landscape]{geometry}" t t))) |
default-lease-time 600; max-lease-time 7200; option subnet-mask 255.255.255.0; option routers 192.168.1.1; option domain-name-servers 200.106.80.11, 200.106.1.5; option domain-name “example.com.br”; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.100; }
;; it just opens the place where I had the point | |
(require 'saveplace) | |
(setq-default save-place t) |
(defun i-reg-data (&optional tag) | |
"Inserts/format an account record. It should be used with moneylog | |
2009-08-15 -29.00 visa | Cicles Radar - Mesa para a bicicleta" | |
(interactive) | |
;; use or not org function to prefill the date | |
(set 'use-org "T") | |
;; pre-fills the today variable with today's date | |
(if (string= use-org "T") | |
(setq today (org-read-date)) ;; use org | |
(setq today (format-time-string "%Y-%m-%d")) ;; do not use org |
(defun mlog-almoco () | |
(interactive) | |
(start-process "mount /media/Leslie" | |
(get-buffer-create "*mount-buffer*") | |
"/bin/mount" | |
"/media/Leslie") | |
(sleep-for 5) | |
(load-file "/media/Leslie/moneylog/moneylog.el") | |
(pop-to-buffer (find-file-noselect "/media/Leslie/moneylog/almoco.txt")) | |
(delete-other-windows) |