Skip to content

Instantly share code, notes, and snippets.

View rpfilomeno's full-sized avatar
💭
For Hire

Roger Filomeno rpfilomeno

💭
For Hire
View GitHub Profile
@rpfilomeno
rpfilomeno / get_facebook_insights.py
Created December 2, 2024 09:59 — forked from thiagogds/get_facebook_insights.py
Get facebook insights from posts. Usage: `$ python get_facebook_insights.py > output.csv`
#coding: utf-8
import requests
import csv
from urllib import parse
access_token = ''
endpoint = 'https://graph.facebook.com/v2.5/%s/insights/post_impressions_unique/'
def get_post_id(url):
@rpfilomeno
rpfilomeno / get-discord-token-from-browser.md
Created November 22, 2024 04:16 — forked from MarvNC/get-discord-token-from-browser.md
How to Get Your Discord Token From the Browser Developer Console

How to Get Your Discord Token From the Browser Console

  • Open the browser console with F12 or Ctrl + Shift + I.
  • Go to the network tab
  • Filter by Fetch/XHR
  • Choose a request that isn't an error (if there aren't any, click on a channel or server to trigger some requests.)
  • You'll find your discord token under the request headers -> authorization section. Copy and paste it from there.

image

@rpfilomeno
rpfilomeno / 00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Created October 17, 2024 14:48 — forked from approovm/00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Certificate Pinning Bypassing: Setup with Frida, mitmproxy and Android Emulator with a writable file system
@rpfilomeno
rpfilomeno / php-docker-ext
Created August 8, 2022 10:48 — forked from hoandang/php-docker-ext
Complete list of php docker ext
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
@rpfilomeno
rpfilomeno / twitch_stream.sh
Created July 31, 2022 17:13 — forked from JPLeBreton/twitch_stream.sh
shell script for streaming to twitch.tv
#! /bin/bash
# from
# https://gist.github.com/3178130
# gist created by brodul
# modified for http://twitch.tv/jplebreton
# originaly from http://tinyurl.com/twitch-linux from taladan
# www.youtube.com/user/taladan
@rpfilomeno
rpfilomeno / WSL2-Ruby-Installation.md
Last active December 16, 2021 18:28
WSL2 Ruby Installation

Installation of required libraries

sudo apt-get update sudo apt-get upgrade -y ``

@rpfilomeno
rpfilomeno / ip_in_range.php
Created November 10, 2016 07:10 — forked from tott/ip_in_range.php
php check if IP is in given network range
/**
* Check if a given ip is in a network
* @param string $ip IP to check in IPV4 format eg. 127.0.0.1
* @param string $range IP/CIDR netmask eg. 127.0.0.0/24, also 127.0.0.1 is accepted and /32 assumed
* @return boolean true if the ip is in this range / false if not.
*/
function ip_in_range( $ip, $range ) {
if ( strpos( $range, '/' ) == false ) {
$range .= '/32';
}
@rpfilomeno
rpfilomeno / curl-format.txt
Last active October 11, 2016 02:41
Timing Details With cURL
\n
============= HOST: ==========\n
\n
local_ip: %{local_ip}\n
local_port: %{local_port}\n
remote_ip: %{remote_ip}\n
remote_port: %{remote_port}\n
\n
======= CONNECTION: ==========\n
\n
@rpfilomeno
rpfilomeno / Resize Centos LVM partion on VMWare guest.txt
Last active November 10, 2015 09:18
Resize Centos LVM partion on VMWare guest
1. Add the Gparted CD ISO
2. Change VM Properties -> Options Tab -> Boot Options: Check Force BIOS Setup
3. Boot VM and edit BIOS boot order to CDROM First then Exit setup with Save to reboot
4. Allow VM to Boot GParted
5. ON Gparted, select LVM Partition with Lock Icon then select Partition menu -> Disable
6. Expand the said partition and Apply. Exit Gparted.
7. Run terminal on GParted
8. run "lvm lvdisplay" and take note of the /dev/ path of the partition needing expansion
9. run "lvextend –l +100%FREE /dev/[path]"
10. shutdown Gparted
Extract voice fingerprint from previous customer call recording and store it for future
comparisons when the customer calls again.
Application:
* Fraud detection - detect the person voice print is different from the identity provided
and raise flag for review or detect known fraudulent individuals in calls and alert the agent
to inquire for additional indentification challenges.
* Identification - provide agents with additional feedback for user's authenticity of
his/her claimed identity