This file contains hidden or 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
set -Ux EDITOR vim | |
set -Ux VISUAL vim |
This file contains hidden or 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
# disable startup message | |
startup_message off | |
# autodetach screen sessions | |
autodetach on | |
altscreen on | |
# set status line always in last line | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]' |
This file contains hidden or 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
# vim: ft=cfg | |
# | |
# This is the configuration file of "rifle", ranger's file executor/opener. | |
# Each line consists of conditions and a command. For each line the conditions | |
# are checked and if they are met, the respective command is run. | |
# | |
# Syntax: | |
# <condition1> , <condition2> , ... = command | |
# | |
# The command can contain these environment variables: |
This file contains hidden or 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
print("hello world") |
This file contains hidden or 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
diff -qr dir1 dir2 |
This file contains hidden or 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
pg_dump -h localhost -U postgres -d orfeo_db -t autg_grupos -f /tmp/grupos.sql --column-inserts -a |
This file contains hidden or 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
<?php | |
error_reporting(E_ERROR); | |
exec('sh ls.sh > files.list'); | |
$avalible_extensions=array( | |
//'pdf', | |
//'xsl', | |
'xslx', | |
//'mp3', | |
//'jpg', | |
//'jpeg', |
This file contains hidden or 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/sh | |
for f in *.gz; do | |
gzip -d $f | |
done |
This file contains hidden or 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
[https] | |
sslverify = false | |
[user] | |
name = who | |
email = [email protected] | |
[diff] | |
tool = vimdiff | |
[difftool] | |
prompt = false | |
[alias] |