Profile

Cover photo
Rafael do Nascimento Pereira
Works at Men in black
47 followers|17,655 views
AboutPostsPhotosVideos

Stream

Rafael do Nascimento Pereira

Stories (success or horror)  - 
 
I have accidentally run "git stash drop" instead "git stash pop" or "git stash apply" and I was able to recover the stash's contents using this:

https://answers.atlassian.com/questions/192275/retrieve-a-deleted-stash

#git   #recover   #stash   
13
Add a comment...

Rafael do Nascimento Pereira

commented on a video on YouTube.
Shared publicly  - 
 
Aplaudo de pé esse senhor. Conseguiu expressar o sentimento que está dentro do peito de muita gente.
 ·  Translate
1
 
I am sorry if  already asked, but I didn't find nothing related to it: I use Git on Linux and I have about 12 repositories. They are totally unrelated. Is there a CLI or GUI Git client or even script where I can know in an automated way, which repo is ahead or behind, between 2 computers I have and my (private) server? 
1
Henrik Kjelsberg's profile photoMartin Leiser's profile photoRafael do Nascimento Pereira's profile photoThomas Ferris Nicolaisen's profile photo
9 comments
 
One thing must be mentioned: In order get the real last commit (HEAD) dates, one must execute a git fetch first. Otherwise the "old" HEAD dates will be used.

Neither I did not find, nor does not exist yet  in Git a way to query the remote repository its information without changing the local one. I would love to be wrong in this case...
Add a comment...

Rafael do Nascimento Pereira

commented on a video on YouTube.
Shared publicly  - 
 
COOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOLLLLLLLLLL
1
 
I would like to disable the capslock key at login time, while running ZShell.
I am running zsh 5.0.5 (x86_64-unknown-linux-gnu) and I have the following .zlogin file:

if [ "$DISPLAY" ]; then
    setxkbmap -option ctrl:nocaps
fi

eval $(ssh-agent) > /dev/null

The ssh-agent is started, but the capslock key in not disabled. When I run the .zlogin manually it works. Any suggestions ? Thanks in advance. :)

#archlinux #zsh  
3
Curtis Shimamoto's profile photoPaul Hinchberger III's profile photoRafael do Nascimento Pereira's profile photo
4 comments
 
I found a solution for my problem. I just added the last but one line:

Section "InputClass"
    Identifier "Keyboard Defaults"
    ...
    ...
    Option "XkbOptions" "ctrl:nocaps"
EndSection

in the /etc/X11/xorg.conf.d/10-keyboard.conf file.
Thanks +Curtis Shimamoto for your suggesntion. :)
Add a comment...

Rafael do Nascimento Pereira

vimrc tips and suggestions  - 
 
If you use tabs for indentation, this may be useful:

highlight RedundantSpaces term=standout ctermbg=Grey guibg=#ffddcc
autocmd BufWinEnter * call matchadd('RedundanSpaces', '\(\s\+$\| \+\ze\t\|^\t*\zs \+\)\(\%#\)\@!')

It highlights:

1 - trailing spaces
2 - leading spaces
3 - spaces before tabs
4 - spaces after tabs

Credit: I just extended the original idea shown here:
https://stackoverflow.com/questions/4998582/show-whitespace-characters-in-gvim

  #vim #tips #highlight  
4
2
Sky L's profile photoRainer Thierfelder's profile photoRafael do Nascimento Pereira's profile photoAndrii Romashchenko's profile photo
7 comments
 
The listchars options in this cause doesn't help, because it acts on all space/tab characters. I wanna highlight a specific pattern, not all of them.
Add a comment...

Rafael do Nascimento Pereira

commented on a video on YouTube.
Shared publicly  - 
 
Concordo com quase tudo do video.. Muito bom. Rachei os bico de rir no final kkkkkkkkkkkkkkkkkkkkkk
 ·  Translate
3
In his circles
70 people
Have him in circles
47 people
Luiz Fernando Rodrigues's profile photo
Alexander Miro's profile photo
Marco Grivet's profile photo
Daniel Sica's profile photo
Diogo Pereira's profile photo
tavo oca's profile photo
7
8
Shih ChienHua's profile photoRichard Bowden's profile photoZoltán Gönczi's profile photoTom Bain's profile photo
3 comments
 
You could write a book about it and publish it in order to show us what is necessary for day to day use of pointers in C nowadays. I am eager to improve my C knowledge/skills. Please, include C11 in your book.
Add a comment...

Rafael do Nascimento Pereira

commented on a video on YouTube.
Shared publicly  - 
 
E quando os PMs matam inocentes, o que a senhora fala ?
 ·  Translate
1

Rafael do Nascimento Pereira

commented on a video on YouTube.
Shared publicly  - 
 
Mais uma vez ela relincha....
 ·  Translate
7

Rafael do Nascimento Pereira

commented on a video on YouTube.
Shared publicly  - 
 
Extremista, preconceituosa, ignorante como sempre.
 ·  Translate
17
 
Again the theme "versioned kernels install" (as in arch bug tracker FS#16702), but this time I ask something different. Apparently the arch based distro manjaro, solved this issue:

http://wiki.manjaro.org/index.php/Manjaro_Kernels

Has anybody here already used this distro ?
#archlinux #kernel #versioning  
1
Maxime Poulin's profile photoRafael do Nascimento Pereira's profile photoSam Stuewe's profile photoJosh Sabboth's profile photo
6 comments
Ilya K.
 
Manjaro is usable, but it has its own fair share of issues: http://allanmcrae.com/2013/01/manjaro-linux-ignoring-security-for-stability/ , http://allanmcrae.com/2013/10/comparison-of-security-issue-handling/ , etc. Note the reaction from the developer(s?) in the comment section.
Add a comment...
People
In his circles
70 people
Have him in circles
47 people
Luiz Fernando Rodrigues's profile photo
Alexander Miro's profile photo
Marco Grivet's profile photo
Daniel Sica's profile photo
Diogo Pereira's profile photo
tavo oca's profile photo
Work
Employment
  • Men in black
    Agent, present
Story
Tagline
Ich bin eine brutale Maschine. Wenn ich losgehe, gehe ich.
Basic Information
Gender
Male