xmodmap -e "pointer = 1 25 3 4 5 6 7 8 9"
Create ~/.Xmodmap
:
pointer = 1 0 3 4 5 6 7 8 9 10
@echo off | |
set foldername=%1 | |
:: Remove files before removing their folders. It's faster | |
DEL /F /Q /S %foldername%\* | |
:: "RD" is much more fast than "RMDIR" | |
for /D %%i in ("%foldername%\*") do RD /S /Q "%%i" |
function focusFirstInput($root) { | |
$(':input', $root).not('[type="hidden"], button').first().focus(); | |
} |
#http://askubuntu.com/questions/17823/how-to-list-all-installed-packages | |
apt --installed list | |
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | |
#dpkg --get-selections > ~/InstalledPackages.list | |
#or | |
dpkg --get-selections | grep -v deinstall | |
#To save that list to a text file called packages on your desktop do this in your terminal: |
# http://www.edivaldobrito.com.br/como-instalar-o-applet-netspeed-indicator-ubuntu-14-04/ | |
add-apt-repository ppa:nilarimogard/webupd8 | |
apt-get update | |
apt-get install indicator-netspeed |
<%-- https://www.mnot.net/cache_docs/ --%> | |
<%-- http://www.mobify.com/blog/beginners-guide-to-http-cache-headers/ --%> | |
<%-- http://stackoverflow.com/a/18516720/1260526 --%> | |
<%-- https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching --%> | |
<%-- http://stackoverflow.com/questions/18148884/difference-between-no-cache-and-must-revalidate --%> | |
<%-- http://stackoverflow.com/questions/49547/making-sure-a-web-page-is-not-cached-across-all-browsers --%> | |
<meta http-equiv="Cache-Control" content="no-store, must-revalidate" /> | |
<%--OPTIONS most badly, see http://stackoverflow.com/a/18516720/1260526 |
cd /home | |
rm -i `find -name '*~'` |
package com.github.leodutra.util.tag.JNDIURLAccessTag; | |
import java.io.IOException; | |
import java.net.URI; | |
import java.net.URL; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.apache.log4j.Logger; |
.js-filtered-highlight { | |
color: yellow; | |
} |
#!/bin/bash | |
# add this file to your /home | |
setxkbmap -model thinkpad60 -layout br |