Skip to content

Instantly share code, notes, and snippets.

View lucianobezerra's full-sized avatar

Luciano Bezerra lucianobezerra

View GitHub Profile
@lucianobezerra
lucianobezerra / criar_atalho
Last active December 16, 2015 15:59
ubuntu criar atalho
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
I do not know if this way of installing Skype addresses the well-known video problem, however, if it does not, then the following steps should be followed:
1. Create a script in /usr/local/bin. to invoke the installed Skype binary
(which is /usr/bin/skype ) in such a way as to enable video in Skype:
sudo mousepad /usr/local/bin/skype
Add these 2 lines in the opened file:
#!/bin/bash
@lucianobezerra
lucianobezerra / REPLACE_TEXT_IN_VIM
Last active December 21, 2015 12:38
Substituir Texto no VIM
Substituir texto no VIM:
:%S/$/\'\)\;/
Texto em Qualquer Lugar:
:%s/windows/linux/g
Remover Ultimo da Linha:
:%s/.\{1}$//
@lucianobezerra
lucianobezerra / gist:8754419
Created February 1, 2014 16:17
Mount ReadWrite NTFS partition
/dev/sdax /home/user/folder ntfs rw,exec,auto,uid=uid_user,gid=gid_user,umask=000 0 0
Java:
sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update
sudo apt-get install oracle-jdk7-installer
[teste]
comment = Pasta Teste
path = /home/luciano/teste
available = yes
public = yes
writable = yes
guest ok = yes
browseable = yes
read only = no
create mask = 0777
@lucianobezerra
lucianobezerra / links uteis
Created August 17, 2014 12:16
Alguns Links legais
http://meandmyubuntulinux.blogspot.com.br/2013/03/installing-oracle-xe-on-ubuntu-32-bit.html
http://jhcbs.wordpress.com/2012/03/02/bematech-dp-20-nao-imprime/
luciano@ti:~$ sudo /etc/init.d/cups-browsed stop
luciano@ti:~$ sudo vim /etc/cups/cups-browsed.conf
luciano@ti:~$ sudo /etc/init.d/cups-browsed start