command | description |
---|---|
M-x revert-bufer | Reloads the buffer from file and discard all the changes |
C-x C-q | Toggle read only mode |
M-x kill-some-buffers | Does what it say it does |
C-x r m | Create a bookmark |
C-x r b | Jump to a bookmark |
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
package com.bcfurtado; | |
import com.jcraft.jsch.JSch; | |
import com.jcraft.jsch.JSchException; | |
import com.jcraft.jsch.KeyPair; | |
import java.io.IOException; | |
public class App { |
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
(require 'offlineimap) | |
(add-to-list 'load-path "~/.emacs.d/lib/mu4e") | |
(require 'mu4e) | |
(require 'mu4e-maildirs-extension) | |
(mu4e-maildirs-extension) | |
(setq mu4e-drafts-folder "/drafts" | |
mu4e-sent-folder "/sent" | |
mu4e-trash-folder "/trash") | |
(setq mu4e-maildir-shortcuts |
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/bash | |
# http://anadoxin.org/blog/creating-a-bootable-el-capitan-iso-image.html | |
hdiutil attach "/Applications/Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg" -noverify -nobrowse -mountpoint /Volumes/esd | |
hdiutil create -o ElCapitan3.cdr -size 7316m -layout SPUD -fs HFS+J | |
hdiutil attach ElCapitan3.cdr.dmg -noverify -nobrowse -mountpoint | |
asr restore -source /Volumes/esd/BaseSystem.dmg -target /Volumes/iso -noprompt -noverify -erase |
I hereby claim:
- I am bcfurtado on github.
- I am bcfurtado (https://keybase.io/bcfurtado) on keybase.
- I have a public key whose fingerprint is 1110 85C5 2434 51B7 6E9B EA63 497C 2D12 E968 1937
To claim this, I am signing this object:
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/bash | |
echo 'Updating repos' | |
for $project in `find . -type d -depth 1` | |
do | |
echo 'Current repo: ' $project | |
cd $project | |
git pull | |
cd .. | |
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
package test; | |
import java.util.ArrayList; | |
public class A { | |
public String nome; | |
public String idade; | |
public ArrayList<B> telefones = new ArrayList<B>(); |
NewerOlder