This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# # -*- coding: UTF-8 -*-" | |
# ---------------------------------------------------------- | |
# CREATED: Qua 05/Mar/2014 hs 10:24 | |
# LAST CHANGE: 2014 Mar 05 17:08:13 | |
# THIS SCRIPT AIM: fix subtitle files | |
# AUTHOR: Sergio Luiz Araujo Silva | |
# SITE: http://vivaotux.blogspot.com | |
# TWITTER: @voyeg3r | |
# Download: https://gist.github.com/voyeg3r/9375602 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<!-- | |
Author: Sérgio Luiz Araújo Silva | |
Licence: GPLv3 | |
Created: 2014-03-17 14:37 | |
Last Change: 2014-03-17 16:40 | |
purpose: Show you how use @font-face from google fonts directory | |
site: vivaotux.blogspot.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
# source: DEV WITH PASSION --> http://va.mu/eVRT | |
# purpose: indet files with vim | |
cd diretorio/com/arquivos/a/serem/indentados | |
find -type f | egrep ".html$|.php$|.inc$|.tpl$" > lista_arquivos | |
for arquivo in $( < lista_arquivos ); | |
do | |
echo "$(date +'%d/%m/%Y %H:%M:%S') - iniciando indentação de '$arquivo'" >> log_indentacao | |
vim -c ":normal gg=G" -c :w! -c :q! ---- $arquivo && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Arquivo: installaptfast.sh | |
# Criado: Qui 12/Jun/2014 hs 10:23 | |
# Last Change: Qui 12/Jun/2014 hs 10:23 | |
# autor: Sérgio Luiz Araújo Silva | |
# site: http://vivaotux.blogspot.com | |
# twitter: http://www.twitter.com/voyeg3r | |
# email: voyeg3r gmail.com | |
# references: https://github.com/ilikenwf/apt-fast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" para abrir todos os arquivos da pasta ~/cores | |
gvim ~/cores/* | |
"Caso esteja no windows o botão de contexto tem uma opção para abrir | |
"todos em uma única seção do vim | |
" após abrir todos vá testando | |
" mapeia para testar o esquema de cor | |
map <F9> <esc>:so % |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Arquivo de configuração do vim | |
" vim:nolist: | |
" Criado: Qua 02/Ago/2006 hs 09:19 | |
" Last Change: Qui 22 Jan 2009 13:03:35 BRT | |
" Autor: Sergio Luiz Araujo Silva | |
" Codificação: utf-8 | |
" Download: http://gist.github.com/gists/51106 | |
" git clone git://gist.github.com/51048.git gist-51048 | |
" Licence: Licença: Este arquivo é de domínio público | |
" Garantia: O autor não se responsabiliza por eventuais danos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# codecs para ubuntu intrepid | |
# vim:ft=sh:fdm=marker:nolist: | |
# Criado em:qua 19/nov/2008 hs 08:48 | |
# Last Change: Ter 24 Mar 2009 09:38:32 BRT | |
# Instituicao: funcet | |
# Proposito do script: instalar codecs ... | |
# Autor: Sérgio Luiz Araújo Silva | |
# site: http://vivaotux.blogspot.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" HTML_PHP: para facilitar acentuacao | |
fun <SID>DefMapaAcentos() | |
imap ç ç | |
imap á á | |
imap é é | |
imap í í | |
imap ó ó | |
imap ú ú | |
imap ý ý | |
imap â â |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# vim:ft=sh:nolist: | |
# Criado em:ter 03/fev/2009 hs 11:39 | |
# Last Change: 05-02-2009 08:21:32 | |
# Proposito do script: preparar o seu arch linux | |
# Autor: Sérgio Luiz Araújo Silva | |
# site: http://vivaotux.blogspot.com | |
# OBS: se estive instalando em um computador de 64 bits | |
# leia sobre libs32 que habilitam suporte a pacotes 32 bits |
OlderNewer