Skip to content

Instantly share code, notes, and snippets.

View zetta's full-sized avatar
:octocat:
Coding for change

Carlos Clemente zetta

:octocat:
Coding for change
View GitHub Profile
@zetta
zetta / README.md
Created March 18, 2019 10:54
Vault import / export

PHackup

Usage

export [path] [version]

 path      path where the secrets are stored, usually secret
 version   version number of the kv backend mounted in that path
@zetta
zetta / aws-clean.php
Last active January 20, 2017 02:57
my utils for aws stuff
#! /usr/bin/php
<?php
require_once "util.php";
$region = get_argument(1, 'ap-northeast-1');
$currentVersions = $deprecatedVersions = [];
echo "[INFO] Fetching information about used versions...\n";
@zetta
zetta / pi.sh
Last active September 19, 2016 14:16
pi
#!/bin/bash
echo "scale=$1; 4*a(1)" | bc -l
@zetta
zetta / CV.md
Last active January 23, 2022 07:37
Curriculum

Carlos Clemente

Summary

  • Detail oriented, high experienced software engineer with 18+ years of experience in a variety of mission critical environments.
  • Solid hands on skills in troubleshooting and resolving complex hardware, software and data issues.
  • Systems Automation, Performance tuning and monitoring.
  • High capacity to absorb new workflows and technologies.
  • Solid work experience of leading cross functional and multiple projects simultaneously from planning to completion and ensuring delivery of the project in time with high customer satisfaction.
@zetta
zetta / renamer.php
Last active August 29, 2015 14:01
<?php
$oldName = get_argument(1, 'You must specify the current database name', true);
$newName = get_argument(2, 'You must specify the new database name', true);
try
{
echo 'Database renamer 1.0', "\n\n";
echo "Renaming database ${oldName} to ${newName}\n";
echo 'Connecting to mysql...', "\n";
@zetta
zetta / bad.php
Created January 3, 2014 21:53
php bug at loading classes as described here https://bugs.php.net/bug.php?id=46851
<?php
error_reporting(E_ALL | E_STRICT);
class b extends a
{
public function test($x, $y, $x, $foo)
{
}
@zetta
zetta / Post.java
Last active December 18, 2015 19:39
Hello Blogger
package mx.blogspot.coding.after.all;
/**
* @author zetta
*/
public class Post
{
/**
* @param args the command line arguments
*/
@zetta
zetta / remover.js
Created November 11, 2010 23:54
quitar los adds que salen en scriptmafia ¬¬
(function(){
(function()
{
var z=["Timeout","Interval"];
for(var i=0;i<1;i++)
{
var x=window["set"+z[i]]("null",1);
eval("delete clear"+z[i]);
for(var j=x; j>0 && (x-j)<99999; j--)
/**
* 1k Boomshine js port
* @author zetta
* @version 0.5
* java -jar compiler/compiler.jar --js source.js --js_output_file min.js --warning_level QUIET --compilation_level ADVANCED_OPTIMIZATIONS
**/
/**
* Iniciamos las variables
* @param _ = document
* @param M = Math