1 | grep -ri listen /etc/httpd |
Start hexo forever
Forever is a simple CLI tool for ensuring that a given script runs continuously (i.e. forever).
1 | cd location_of_blog_conf_hexo |
Create a cron to handle restart1
2$ crontab -u root -e
@reboot sudo /usr/local/bin/forever start --uid blog --append -c 'hexo server -p 6000 --cwd /pathtoblog' /pathtoblog
Save instead of send email for testing
- MSDN:
Element (Network Settings) - Configuring SmtpClient to drop emails in a folder on disk
1
2
3
4
5
6
7<system.net>
<mailSettings>
<smtp deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="c:\Temp\mail\"/>
</smtp>
</mailSettings>
</system.net>
Guitarra desde el Espacio. NASA
Pedro Martin Ureta queria crear una pieza que pueda ser vista por los aviones. Resulto ser que la NASA también lo pudo ver.
Google Maps
vuejs
Installation1
2
3
4
5
6
7
8# install vue-cli
$ npm install --global vue-cli
# create a new project using the "webpack" template
$ vue init webpack my-project
# install dependencies and go!
$ cd my-project
$ npm install
$ npm run dev
ESP8266 & Micropython
El ESP8266 es un chip de bajo costo Wi-Fi con una pila TCP/IP.
MicroPython es una implementación de software del lenguaje de programación Python 3, escrito en C, que está optimizado para ejecutarse en un microcontrolador.
Bug on Git Jul 2017
You must update git to last version
1 | connect: reject ssh hostname that begins with a dash |
Como actualizar git en centos:1
2
3yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
yum install git
git --version
SQL update latest entry
Update rows according to an effective date.
1 | UPDATE table |
Broadpwn
Wifi worm without user intervention on broadcom wifi chips on billion of devices, You can imagine what is this about.
You can follow the researcher Nitay Artenstein
Another interesting research related done by Andrés Blanco