Skip to content

Instantly share code, notes, and snippets.

View h3ct0rjs's full-sized avatar
:shipit:

Héctor F. Jiménez. S h3ct0rjs

:shipit:
View GitHub Profile
@h3ct0rjs
h3ct0rjs / .bashrc
Last active September 10, 2015 18:04
bashrc 2015-04-05
#c1b3rh4ck's .bashrc.
#All the alias below are not just mine,but they're pretty useful,
#if you liked just use it.
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
@h3ct0rjs
h3ct0rjs / final.cpp
Created November 23, 2015 02:44
Trabajo Final de Programacion.
#include <stdio.h>
#include <conio.h>
#include <math.h>
#include <stdlib.h>
#include <ctype.h>
//Una funcion por cada programa, no se necesita argumentos.
void salario();
void calculoareas();
void Operaciones();
@h3ct0rjs
h3ct0rjs / testadb.js
Last active January 27, 2016 02:49
Test of abp adsense blocker, seen in thescienceofcode.azurewebsites.net
<script>
$(document).ready(
function() {
$('#pubadv-accept').on('click', function(){
$('#pubadv').hide();
});
setTimeout(checkAds, 1000);
}
);
@h3ct0rjs
h3ct0rjs / viral.js
Created January 27, 2016 03:17
hidden likes
http://moucash.com/el-chapo-vuelve-a-enviar-escalofriante-mensaje-desde-la-carcel/?fb_action_ids=10208776033228458&fb_action_types=og.likes
@h3ct0rjs
h3ct0rjs / install-common-packages.sh
Created February 15, 2016 00:39 — forked from tr-github/install-common-packages.sh
APT-CYG Common/Initial packages
#!/bin/bash
#
# Cygwin packages
#
packages=(
curl
cygutils
grep
@h3ct0rjs
h3ct0rjs / ej1clase.cpp
Created March 27, 2016 21:40
1.Obtener el promedio de datos de un vector.
#include <iostream>
#include <algorithm>//min function
using namespace std;
int main(){
int n,suma; //tamaño del vector
cout<<"Inserte Tamaño para crear el Vector: \t";
cin>>n; //almacenamos las n posiciones del vector.
int array[n]; //creamos el vector de n posiciones.
@h3ct0rjs
h3ct0rjs / ej4clase.cpp
Created March 27, 2016 21:58
4.Obtener la posicion del numero con el mayor ultimo, digito, si son varios retornar la primer posicion.
#include <iostream>
#include <stdlib.h>
using namespace std;
int primer_digito;
int main(){
int n,maximo=0,posicion=0; //tamaño del vector
cout<<"Inserte Tamaño para crear el Vector: \t";
cin>>n; //almacenamos las n posiciones del vector.
int array[n],ultimodig[n]; //creamos el vector de n posiciones.
" Based on https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim
set nocompatible
filetype off
set wildmenu
set wildignore=*.o,*~,*.pyc
set hid
set ignorecase
@h3ct0rjs
h3ct0rjs / fibonacci.cpp
Created April 18, 2016 04:59
quick test of something
#include <bits/stdc++.h>
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
using namespace std;
long long fibonacci(int n);
int main(){
fast;
int x;cin>>x;
cout<<fibonacci(x)<<endl;
July 29 2011
Dear Client
The pentest in your area will describe the issues for wireless networks in near area's,also the
implementation and testing will be done by hector Jimenez for simple pourpouses of study ,any malicious
activity or choice won't be part of pentester,H owever Law 1273 of 2009 The Colombian Republic Stablish:
"Articulo 1 ":
ARTÍCULO 269A. ACCESO ABUSIVO A UN SISTEMA INFORMÁTICO.