http://openlgtv.org.ru/wiki/index.php/LG_TV_USB_IR-Hack_with_Arduino
Excel não atualiza formulas automaticamente
http://marcelmsoares.blogspot.com/2013/11/excel-nao-atualiza-as-formulas.html
arduino temperatura
buzzer
https://www.satellasoft.com/?materia=beep-usando-buzzer-com-arduino
NTC 10k temperatura
http://labdegaragem.com/profiles/blogs/tutorial-como-utilizar-o-termistor-ntc-com-arduino
http://www.audioacustica.com.br/exemplos/Valores_Resistores/Calculadora_Ohms_Resistor.html
led
http://www.audioacustica.com.br/exemplos/Valores_Resistores/Calculadora_Ohms_Resistor.html
Prevent apache from serving git directory
https://serverfault.com/questions/128069/how-do-i-prevent-apache-from-serving-the-git-directory
RT-N13U
https://oldwiki.archive.openwrt.org/toh/asus/rt-n13u
https://oldwiki.archive.openwrt.org/doc/howto/firstlogin
opkg update
opkg install base-files block-mount busybox dnsmasq dropbear firewall fstools hostapd-common ip6tables iptables iw jshn jsonfilter kernel kmod-cfg80211 kmod-crypto-aes kmod-crypto-arc4 kmod-crypto-core kmod-eeprom-93cx6 kmod-fs-vfat kmod-gpio-button-hotplug kmod-ip6tables kmod-ipt-conntrack kmod-ipt-core kmod-ipt-nat kmod-ipv6 kmod-leds-gpio kmod-ledtrig-usbdev kmod-lib-crc-ccitt kmod-lib-crc-itu-t kmod-mac80211 kmod-nf-conntrack kmod-nf-conntrack6 kmod-nf-ipt kmod-nf-ipt6 kmod-nf-nat kmod-nf-nathelper kmod-nls-base kmod-nls-cp437 kmod-nls-iso8859-1 kmod-ppp kmod-pppoe kmod-pppox kmod-rt2800-lib kmod-rt2800-mmio kmod-rt2800-soc kmod-rt2x00-lib kmod-rt2x00-mmio kmod-scsi-core kmod-slhc kmod-tun kmod-usb-core kmod-usb-dwc2 kmod-usb-printer kmod-usb-storage libblkid libblobmsg-json libc libgcc libip4tc libip6tc libiwinfo libiwinfo-lua libjson-c libjson-script liblua liblzo libmount libnl-tiny libopenssl libpcap libpthread librt libubox libubus libubus-lua libuci libuci-lua libusb-1.0 libuuid libxtables lua luci luci-app-firewall luci-app-openvpn luci-app-p910nd luci-app-samba luci-base luci-i18n-base-pt-br luci-i18n-openvpn-en luci-i18n-openvpn-pt-br luci-lib-ip luci-lib-nixio luci-mod-admin-full luci-proto-ipv6 luci-proto-ppp luci-theme-bootstrap mtd netifd odhcp6c odhcpd openvpn-openssl opkg p910nd ppp ppp-mod-pppoe procd rpcd samba36-server swconfig tcpdump ubox ubus ubusd uci uhttpd uhttpd-mod-ubus usign wpad-mini zlib
Remover senha arquivo p12
https://serverfault.com/questions/515833/how-to-remove-private-key-password-from-pkcs12-container
Export to temporary pem file
openssl pkcs12 -in protected.p12 -nodes -out temp.pem
# -> Enter password
Convert pem back to p12
openssl pkcs12 -export -in temp.pem -out unprotected.p12
# -> Just press [return] twice for no password
Remove temporary certificate
rm temp.pem
mining on ubuntu
sudo apt-get update
sudo apt-get install build-essential libcurl4-openssl-dev git automake libtool libjansson* libncurses5-dev libssl-dev zlib1g-dev
git clone –recursive https://github.com/tpruvot/cpuminer-multi.git
cd cpuminer-multi
git checkout linux
./autogen.sh
./configure CFLAGS=”-march=native” –with-crypto –with-curl
make
vi cpuminer-conf.json
./cpuminer -c cpuminer-conf.json
referencia: https://www.nicehash.com/help/cpu-mining
https://github.com/nicehash/xmr-stak/blob/master/doc/compile_Linux.md
https://github.com/fireice-uk/xmr-stak/issues/878
Como configurar novo mapa de teclado no Ubuntu
dpkg-reconfigure keyboard-configuration
delete mail from queue
To delete all email in the queue from a domain run this command as root:
postqueue -p | tail -n +2 | awk ‘BEGIN { RS = “” } /@example\.com/ { print $1 }’ | tr -d ‘*!’ | postsuper -d –
To delete all email in the queue From: a specific email address run this command as root:
postqueue -p | tail -n +2 | awk ‘BEGIN { RS = “” } /username@example\.com/ { print $1 }’ | tr -d ‘*!’ | postsuper -d –
magento working with large collection
http://stackoverflow.com/questions/5720236/looping-through-product-collection-and-saving-products-is-changing-attribute-val
better way
http://www.fontis.com.au/blog/magento/loading-large-collections