Skip to content

Instantly share code, notes, and snippets.

Rodrigo Vazquez rodvan

Block or report user

Report or block rodvan

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
@mehedishakeel
mehedishakeel / Termetasploit.sh
Created Feb 26, 2018
Metasploit for Termux 2018
View Termetasploit.sh
#!/data/data/com.termux/files/usr/bin/bash
echo "##############################################"
echo " Metasploit For Termux 2018
echo "##############################################"
echo "INSTALLING............"
echo "####################################"
apt install -y autoconf bison clang coreutils curl findutils git apr apr-util libffi-dev libgmp-dev libpcap-dev postgresql-dev readline-dev libsqlite-dev openssl-dev libtool libxml2-dev libxslt-dev ncurses-dev pkg-config postgresql-contrib wget make ruby-dev libgrpc-dev termux-tools ncurses-utils ncurses unzip zip tar postgresql termux-elf-cleaner
echo "####################################"
@rodvan
rodvan / gist:6084559f71b2ab78b6ede25ae47bcdd0
Created Dec 18, 2016 — forked from jonathanmoore/gist:2640302
Get the share counts from various APIs
View gist:6084559f71b2ab78b6ede25ae47bcdd0

Share Counts

I have always struggled with getting all the various share buttons from Facebook, Twitter, Google Plus, Pinterest, etc to align correctly and to not look like a tacky explosion of buttons. Seeing a number of sites rolling their own share buttons with counts, for example The Next Web I decided to look into the various APIs on how to simply return the share count.

If you want to roll up all of these into a single jQuery plugin check out Sharrre

Many of these API calls and methods are undocumented, so anticipate that they will change in the future. Also, if you are planning on rolling these out across a site I would recommend creating a simple endpoint that periodically caches results from all of the APIs so that you are not overloading the services will requests.

Twitter

@santoshachari
santoshachari / Laravel PHP7 LEMP AWS.md
Last active Oct 15, 2019
Laravel 5.x on Ubuntu 16.x, PHP 7.x, Nginx 1.9.x
View Laravel PHP7 LEMP AWS.md

#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.

Install PHP 7 on Ubuntu

Run the following commands in sequence.

sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
View gist:e4da7c5564aae9689e98
#!/usr/bin/perl
####### DON'T MODIF IT or SCRIPT NOT WORK #######
$powered="Shanti"; #
$mail="shechantika@gmail.com"; #
#################################################
################################################
use HTTP::Request; #
use HTTP::Request::Common; #
use HTTP::Request::Common qw(POST); #
use LWP::Simple; #
View esp8266-smart-config.ino
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
void setup() {
int cnt = 0;
// set for STA mode
WiFi.mode(WIFI_STA);
// put your setup code here, to run once:
@sxss
sxss / PHP-CURL-Tor-Tutorial.md
Last active Jul 27, 2019
PHP: CURL Requests with Tor
View PHP-CURL-Tor-Tutorial.md

#CURL Connections with Tor

Install Apache, PHP, CURL & Tor with apt-get

sudo apt-get install -y apache2 php5 php5-curl tor

Tor creates a proxy on your mashine with port 9050 for SOCKS5 connections.

@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active Oct 20, 2019
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
View bash-cheatsheet.sh
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@denji
denji / Hackback
Last active Jan 28, 2019
Nikto, NMap , Skipfish and friends http://www.security-marathon.be/?p=844
View Hackback
_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide for those without the patience to wait for whistleblowers
--[ 1 ]-- Introduction
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active Oct 20, 2019
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
View nodejs-cheatsheet.js
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
View VopCrew Multi Scanner v5.0 Final Release
#!/usr/bin/perl
############################################
# VopCrew Multi Scanner v5.0 Final Release #
# Moded by bjork #
# Copyleft © 2010 #bjork@byroe.net #
############################################
# Dipersilahkan yang Ingin Menambah Engine #
############################################
You can’t perform that action at this time.