This file contains 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
varnishstat -1 -f n_lru_nuked |
This file contains 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
# This goes in vcl_recv | |
# It gives you: | |
# curl -X PURGE http://some.example.com/.* | |
# curl -X PURGE http://some.example.com/blog/.* | |
# curl -X PURGE http://some.example.com/blog/2011/bar.html | |
# curl -X PURGE http://another.example.com/.* | |
# | |
if (req.request == "PURGE") { | |
# Wildcard, per-domain purging | |
purge("req.http.host == " req.http.host " && req.url ~ " req.url "$"); |
This file contains 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
vboxmanage setextradata "CentOS Almanaque" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1" |
This file contains 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
?google_console=1 na url e apertar CTRL + F10 |
This file contains 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
?ModPagespeed=on&ModPagespeedFilters=insert_dns_prefetch,pedantic |
This file contains 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
alternatives --config mta |
This file contains 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
f = document.createElement('iframe'); | |
f.src = "javascript:;"; | |
f.seamless = true; | |
f.width = '100%'; | |
f.height = 90; | |
f.frameborder = 0; | |
f.style.border = 0; | |
$('body').append(f); | |
win = f.contentWindow; |
This file contains 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
set PATH=%PATH%;C:\Program Files (x86)\Git\bin |
This file contains 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
#In your home directory | |
meteor create newproject | |
#In your shared folder | |
meteor create newproject | |
#Virtual machine location first followed by shared folder location | |
sudo mount --bind ~/newproject/.meteor /media/sf_Program_Archive/newproject/.meteor |
This file contains 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 | |
# EXIBIR COMANDOS EXECUTADOS | |
set -x | |
while true; | |
do | |
rsync -rtvu --exclude ".*" /media/sf_meteor/microscope/ /home/microscope | |
rsync -rtvu --exclude "local*" /home/microscope/.meteor/ /media/sf_meteor/microscope/.meteor | |
sleep 5 | |
done |