root@localhost:~# find /usr/ports/14.0 -iname "*.SlackBuild" \
-exec grep -HE '^mkdir.*TMP.*PKG.*' {} \; | grep -v OUTPUT | sort
/usr/ports/14.0/audio/ario/ario.SlackBuild:mkdir -p $TMP $PKG
/usr/ports/14.0/audio/gmpc-plugins/gmpc-plugins.SlackBuild:mkdir -p $TMP $PKG
/usr/ports/14.0/audio/nero-aac/nero-aac.SlackBuild:mkdir -p $TMP $PKG
/usr/ports/14.0/business/ledger/ledger.SlackBuild:mkdir -p $TMP $PKG/usr
/usr/ports/14.0/desktop/cairo-dock-plugins/cairo-dock-plugins.SlackBuild:mkdir -p $TMP $PKG $OUPUT
/usr/ports/14.0/desktop/cairo-dock/cairo-dock.SlackBuild:mkdir -p $TMP $PKG $OUPUT
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
# $HOME/.chrb.mksh | |
# chrb = (chruby + ruby-build) / mksh | |
# | |
# Copyright © 2013 Antonio Hernández Blas <hba.nihilismus@gmail.com> | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://www.wtfpl.net/ for more details. |
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/sh | |
# About: shell script for a personal PostgreSQL instance / Slackware Linux | |
# Copyright © 2013 Antonio Hernández Blas <hba.nihilismus@gmail.com> | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://www.wtfpl.net/ for more details. |
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/sh | |
# About: init script for vde_switch+dnsmasq+NAT / Slackware Linux | |
# Copyright © 2013 Antonio Hernández Blas <hba.nihilismus@gmail.com> | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://www.wtfpl.net/ for more details. |
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
# Log file generated by | |
# | |
# './configure --disable-kmods --disable-pulse --enable-vde --enable-vnc --enable-hardening --disable-java' | |
# | |
***** Checking environment ***** | |
Determined build machine: linux.amd64, target machine: linux.amd64 | |
***** Checking kBuild ***** |
- JDK (Java Development Kit) includes a complete JRE plus tools for developing, debugging, and monitoring Java applications.
- Web container or Servlet container is the component of a web server that interacts with Java servlets.
- Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies.
- Descarga el archivo [lein][] en alguno de los directorios de tu
$PATH
y asigna permisos de ejecución al mismo, en mi caso será~/.local/bin
:
antonio@slackware:~$ wget \
https://raw.github.com/technomancy/leiningen/stable/bin/lein -O ~/.local/bin/lein
antonio@slackware:~$ chmod +x ~/.local/bin/lein
antonio@slackware:~$
De http://dev.mysql.com/doc/refman/5.0/es/date-and-time-functions.html
Para "sumar" un día a fecha_registro
:
mysql> SELECT '2013-05-31' + INTERVAL 1 DAY;
+-------------------------------+
| '2013-05-31' + INTERVAL 1 DAY |
+-------------------------------+
| 2013-06-01 |