Skip to content

Instantly share code, notes, and snippets.

View fastslack's full-sized avatar

Matias Aguirre fastslack

View GitHub Profile
<?php
/**
* @version $Id:
* @package Joomla.AssetFix
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @author Matias Aguirre
* @email maguirre@matware.com.ar
* @link http://www.matware.com.ar/
* @license GNU General Public License version 2 or later; see LICENSE
*/
@fastslack
fastslack / gist:4156626
Created November 27, 2012 19:58
insertRows example
/**
* Inserts a row into a table based on an associative array.
*
* @param string $table The name of the database table to insert into.
* @param array &$values A reference to an object whose public properties match the table fields.
* @param array $columns The name of the primary key. If provided the object property is updated.
*
* @return boolean True on success.
*
* @since 12.1
@fastslack
fastslack / gist:838f2947aeea631b5cca
Created April 12, 2015 20:04
Script to get OpenRA maps hashes
#!/bin/bash
for f in ~/.openra/maps/ra/*.oramap
do
printf "\nThe hash for $f is: "
mono /usr/lib/openra/OpenRA.Utility.exe ra --map-hash $f
done
;(function($) {
// Extend jQuery to add random string generator
$.extend({
randomKey: function (length, special) {
var iteration = 0;
var randomKey = "";
var randomNumber;
if(special == undefined){
var special = false;
function manageSessionTime(action, sessionType, sessionTime)
{
if (action == 'create')
{
var duration = (Number(sessionTime.split(':')[0]) * 3600 + Number(sessionTime.split(':')[1]) * 60 + Number(sessionTime.split(':')[2]));
if (sessionType == AMRAP || sessionType == ROUNDS_FOR_TIME || sessionType == FINISH_FOR_TIME)
{
$('#sessionTime').countdown('destroy');
$('#routineTime').countdown('destroy');
$('#routineTime').countdown({
#!/usr/bin/php
<?php
/**
* FacebookOauth
*
* @version $Id$
* @package Wellmets
* @subpackage FacebookOauth
* @copyright Copyright 2004 - 2016 Matias Aguirre. All rights reserved.
* @license GNU General Public License version 2 or later.
## 6 de agosto
El congreso Boliviano, con mayoria del partido MAS de Evo Morales, aprueba el tratamiento con dioxido de cloro.
https://cnnespanol.cnn.com/2020/08/06/camara-de-diputados-de-bolivia-aprueba-dioxido-de-cloro-como-tratamiento-para-coronavirus/
## 13 de agosto
primer caso de alguien que toma dioxido de cloro

La pandemia de COVID- 19 está teniendo un impacto significativo sobre la población, los sistemas de salud, los programas de salud pública y las economías de todo el mundo.

La prioridad sin lugar a duda es prevenir la infección, reducir la transmisión y brindar una atención y un tratamiento adecuado a los pacientes con COVID-19, pero las enfermedades no transmisibles (ENT) o no-COVID siguen representando la carga más pesada en el ámbito de la salud y requieren también especial cuidado.^1 -^3

CONTEXTO de la problemática para la salud pública