Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Alexander J. Rodriguez D. AlexR1712

🏠
Working from home
Block or report user

Report or block AlexR1712

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AlexR1712
AlexR1712 / checkSession.php
Last active May 28, 2019 — forked from TT44bb/checkSession.php
Check whether sessions work in php
View checkSession.php
<?php
error_reporting( E_ALL );
ini_set( 'display_errors', 1);
if(!isset($_GET['action'])){
die('Param is missing. Look at the <a href="https://gist.github.com/2995743">source</a>.');
}
switch($_GET['action']) {
@AlexR1712
AlexR1712 / !WhatsApp On Web Monitor.md
Last active Dec 13, 2018 — forked from parthpower/!WhatsApp On Web Monitor.md
Simple JS to monitor offline and online time of a contact.
View !WhatsApp On Web Monitor.md

WhatsApp On Web Monitor

What It does

It gives notifications when someone goes online or offline or typing. Open chat of the contact you want to monitor and start script.

Simple Way

@AlexR1712
AlexR1712 / README.md
Created Feb 12, 2018
Sequelize + Express + Migrations + Seed Starter
View README.md
@AlexR1712
AlexR1712 / bancos
Created Dec 27, 2017 — forked from xombra/bancos
Codigo y Bancos correspondientes de Venezuela
View bancos
Banco:
<select name="banco">
<option value=""></option>
<option value="0156">100%BANCO</option>
<option value="0196">ABN AMRO BANK</option>
<option value="0172">BANCAMIGA BANCO MICROFINANCIERO, C.A.</option>
<option value="0171">BANCO ACTIVO BANCO COMERCIAL, C.A.</option>
<option value="0166">BANCO AGRICOLA</option>
<option value="0175">BANCO BICENTENARIO</option>
<option value="0128">BANCO CARONI, C.A. BANCO UNIVERSAL</option>
View .gitlab-ci.yml
stages:
- test
- build
- deploy
test:
stage: test
script: echo "Running tests"
build:
@AlexR1712
AlexR1712 / Enigma.php
Created Oct 26, 2017 — forked from Cloud5Ideas/Enigma.php
PHP Enigma Machine
View Enigma.php
<?php namespace App\Services;
/**
* A PHP version of the Enigma machine.
* Wikipedia: http://en.wikipedia.org/wiki/Enigma_machine
*
* This might not be an accurate representation. I have never seen, nor used an enigma machine.
* This class was created by reading the article at http://enigma.louisedade.co.uk/howitworks.html.
*
* Usage:
@AlexR1712
AlexR1712 / image.php
Created Oct 23, 2017
gaussian blur in one sector of the image PHP
View image.php
<?php
$loadFile = 'https://c1.staticflickr.com/5/4094/4809804115_40f52c8f25_b.jpg';
$image = imagecreatefromstring(file_get_contents($loadFile));
if ($image !== false) {
$face = imagecrop($image, ['x' => 152, 'y' => 568, 'width' => 199, 'height' => 199]);
@AlexR1712
AlexR1712 / 0x00000.bin
Created Oct 12, 2017 — forked from ajfisher/0x00000.bin
ESP8266 Transparent bridge to J5
@AlexR1712
AlexR1712 / cv2_detect.py
Created Sep 10, 2017 — forked from npinto/cv2_detect.py
Simple face detection with OpenCV 'cv2' python bindings from 2.4.x
View cv2_detect.py
import cv2
import cv2.cv as cv
def detect(img, cascade_fn='haarcascades/haarcascade_frontalface_alt.xml',
scaleFactor=1.3, minNeighbors=4, minSize=(20, 20),
flags=cv.CV_HAAR_SCALE_IMAGE):
cascade = cv2.CascadeClassifier(cascade_fn)
rects = cascade.detectMultiScale(img, scaleFactor=scaleFactor,
@AlexR1712
AlexR1712 / LogMeIn.php
Created May 20, 2017 — forked from kmark/LogMeIn.php
PHP implementation of cPanel's Perl LogMeIn class.
View LogMeIn.php
<?php
namespace cPanel;
/**************************************************************************************
* Copyright (c) 2013, cPanel, Inc. *
* All rights reserved. *
* *
* Redistribution and use in source and binary forms, with or without modification, *
* are permitted provided that the following conditions are met: *
* *
You can’t perform that action at this time.