Skip to content

Instantly share code, notes, and snippets.

View umabiel's full-sized avatar
😼

Gustavo I. Chalco umabiel

😼
View GitHub Profile
@umabiel
umabiel / exploit.py
Created November 13, 2015 15:01 — forked from AE5/exploit.py
if __name__ == '__main__':
import sys
import mp4
import argparse
def write_file(path, content):
with open(path, 'wb') as f:
f.write(content)
def addr(sval):
defmodule M do
def main do
#string_stuff()
#comparing_suff()
#if_stuff()
#tuple_stuff()
#list_stuff()
#map_stuff()
#patternmatching_stuff()
#anonymousfun_stuff()
@umabiel
umabiel / .eslintrc.json
Created April 2, 2018 21:16 — forked from leny/.eslintrc.json
ESLint config file for node.js + ES6 projects.
{
"env": {
"node": true,
"es6": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParameters": true,
@umabiel
umabiel / server-error.interceptor.ts
Created April 29, 2019 21:25
Manejador de Errores para peticiones HTTP Angular
import { MatSnackBar } from '@angular/material';
import { Injectable } from '@angular/core';
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor, HttpResponse } from '@angular/common/http';
import { Observable, EMPTY } from 'rxjs';
import { tap, catchError, retry } from 'rxjs/operators';
import { environment } from 'src/environments/environment';
@Injectable({
providedIn: 'root'
})
@umabiel
umabiel / commands_for_life.txt
Created April 29, 2019 21:37
Comandos que podria necesitar
# Levantar un servidor HTTP usando Python desde la linea de comandos
$ python -m SimpleHTTPServer # Python2.7
$ python -m http.server # Python3
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<includes>
<include>**/*IT.java</include>
</includes>
<parallel>none</parallel>
</configuration>