Skip to content

Instantly share code, notes, and snippets.

View fititnt's full-sized avatar
💭
"The difficult we do immediately; the impossible takes a little longer"

Emerson Rocha fititnt

💭
"The difficult we do immediately; the impossible takes a little longer"
View GitHub Profile
@fititnt
fititnt / cdn.ceue.eng.br_2010-12-6_bkp.tar.gz.lista-de-diretorios.txt
Created December 12, 2015 05:31
Listagem de conteúdo do arquivo cdn.ceue.eng.br_2010-12-6_bkp.tar.gz
.
├── ceb
│   ├── 2009
│   │   ├── 2009.12.22
│   │   │   ├── editado-pelo-dce
│   │   │   │   └── ceb.mp4
│   │   │   └── sem-edicao
│   │   │   ├── 22122009152.mp4
│   │   │   ├── 22122009153.mp4
│   │   │   ├── 22122009154.mp4
@fititnt
fititnt / .htaccess
Last active December 4, 2015 21:44
.htaccess: set X-Robots-Tag noindex,nofollow for non-varnish requests (hide from search engines)
# Set X-Robots-Tag noindex,nofollow if not requested by Varnish-cache
# e.g. can hide content from Google if both varnish and apache are open
# Apache 2.4+
<If "-z %{HTTP:X-VARNISH}">
Header set X-Robots-Tag noindex,nofollow
</If>
@fititnt
fititnt / .gitignore
Created October 31, 2015 18:01 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(J(){7(1e.3N)L w=1e.3N;L E=1e.3N=J(a,b){K 1B E.2l.4T(a,b)};7(1e.$)L D=1e.$;1e.$=E;L u=/^[^<]*(<(.|\\s)+>)[^>]*$|^#(\\w+)$/;L G=/^.[^:#\\[\\.]*$/;E.1n=E.2l={4T:J(d,b){d=d||T;7(d.15){6[0]=d;6.M=1;K 6}N 7(1o d=="25"){L c=u.2O(d);7(c&&(c[1]||!b)){7(c[1])d=E.4a([c[1]],b);N{L a=T.5J(c[3]);7(a)7(a.2w!=c[3])K E().2s(d);N{6[0]=a;6.M=1;K 6}N d=[]}}N K 1B E(b).2s(d)}N 7(E.1q(d))K 1B E(T)[E.1n.21?"21":"3U"](d);K 6.6E(d.1k==1M&&d||(d.5h||d.M&&d!=1e&&!d.15&&d[0]!=10&&d[0].15)&&E.2I(d)||[d])},5h:"1.2.3",87:J(){K 6.M},M:0,22:J(a){K a==10?E.2I(6):6[a]},2F:J(b){L a=E(b);a.54=6;K a},6E:J(a){6.M=0;1M.2l.1g.1i(6,a);K 6},R:J(a,b){K E.R(6,a,b)},4X:J(b){L a=-1;6.R(J(i){7(6==b)a=i});K a},1J:J(c,a,b){L d=c;7(c.1k=
@fititnt
fititnt / comentario.rkt
Last active August 29, 2015 14:10
comentarios
#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
;
;====================================================================
; - Fonte base para a escrita de programa para o 8086
; - Utiliza o modelo small
;====================================================================
;
; Declaração do modelo de segmentos
.model small
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
@fititnt
fititnt / _readme.md
Last active July 24, 2019 18:16
PoC "Improve Joomla Semantics"

Readme

These files are only a suggestion, and are subject to change without notice.

Examples of usage

JHtml::_('microdata.scope');

Return actual scope. Must be inside of one element, like body or div tag.

Fallback to '' if does not have scope.

@fititnt
fititnt / Makefile
Created February 2, 2013 16:55
example that listen to chances and compile LESS to CSS and JS. Make your changes. See https://github.com/twitter/bootstrap#developers $ make alligowatch
#
# Alligo
#
alligowatch:
echo "Alligo: Watching less files..."; \
watchr -e "watch('less/.*\.less') { system 'make alligo' }"
alligo:
@fititnt
fititnt / grid.css
Created July 20, 2012 12:48
Rascunho de grid base
.contem {
margin: 0 auto;
width: 60em; /* (960px/16) = 60em */
/* width: 960px; */
}
.contem:after {
content: "";
display: table;
clear: both;
}