- Abrimos la terminal y ejecutamos la siguiente linea para actualizar la base de datos de los paquetes
sudo pacman -Syu
- Instalamos el apache y ejecutamos lo siguiente
sudo pacman -S apache
| #!/usr/bin/env bash | |
| current=$(xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior) | |
| if [[ "$current" == "1" ]]; then | |
| current="0" | |
| else | |
| current="1" | |
| fi | |
| #pango markup | |
| echo "<txt><span foreground=\"#667899\">Test</span></txt>" |
| <?php | |
| /** | |
| * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | |
| * | |
| * Licensed under The MIT License | |
| * | |
| * Copyright (c) La Pâtisserie, Inc. (http://patisserie.keensoftware.com/) | |
| * @license MIT License (http://www.opensource.org/licenses/mit-license.php) | |
| */ | |
| App::uses('FormHelper', 'View/Helper'); |
| // Long Polling (Recommened Technique - Creates An Open Connection To Server ∴ Fast) | |
| (function poll(){ | |
| $.ajax({ url: "server", success: function(data){ | |
| //Update your dashboard gauge | |
| salesGauge.setValue(data.value); | |
| }, dataType: "json", complete: poll, timeout: 30000 }); | |
| })(); |
| <p> | |
| <?php | |
| echo $this->Paginator->counter(array( | |
| 'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}') | |
| )); | |
| ?> | |
| </p> | |
| <ul class="pagination"> | |
| <?php | |
| echo $this->Paginator->prev('«', array('tag' => 'li', 'escape' => false), '<a href="#">«</a>', array('class' => 'prev disabled', 'tag' => 'li', 'escape' => false)); |
| ############################################# | |
| # Push de la rama actual | |
| git push origin $rama_actual | |
| ############################################# | |
| # Volver a un commit anterior, descartando los cambios | |
| git reset --HARD $SHA1 | |
| ############################################# | |
| # Ver y descargar Ramas remotas |