Skip to content

Instantly share code, notes, and snippets.

View alphonse92's full-sized avatar

Alejandro Molina alphonse92

View GitHub Profile
@alphonse92
alphonse92 / Exploitation.md
Created May 21, 2025 18:14 — forked from yezz123/Exploitation.md
Pentesting-Exploitation
@alphonse92
alphonse92 / README.md
Created December 10, 2020 15:00 — forked from madslundt/README.md
My Counter-Strike: Global Offensive config

My CS:GO Config

Put autoexec.cfg in ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg or take what you want from it and add to your autoexec config!

After the Wild West Simulator 2015 update, video.txt needs to be put in ...\Steam\userdata\<Steam3 ID>\730\local\cfg

Launch Options

-novid -freq 144 -refresh 144 -tickrate 128 -maxplayers_override 50 -nojoy -nod3d9ex1 +exec autoexec.cfg
@alphonse92
alphonse92 / seleniumbGoogleImagesScraperScript.js
Last active August 21, 2020 02:22
Script to scrap the results of a search of google images.
// Keywords: Google chrome, chromium, puppeter, selenium, web scrapping
// You can use this script to download all google images
// as far Google allows
// 1. Go to google images
// 2. Do a search. I.e : casa
// 3. Copy the code below and wait until it finish
// To see all the urls of all the images visit this: window.__GoogleImagesFullRessImages__
function scrollToTheEndOrToMax(opts = {}) {
@alphonse92
alphonse92 / getTreeFromArray.js
Last active May 4, 2020 17:35
Create a tree from array JS - This function takes advantage of the javascript references and creates and tree data structure from an array.
/**
* This function takes adventage of the Javascript references.
* It just create a object to map the parent ids with it children.
* After it just filter the values of the object map
* Note: this function does not modify the original object, its inmutable
* @param {*} arr Array with the no structured children
* @param {*} key Attribute name that are been usisng as id
* @param {*} parentKey Attribute name that are been usisng to relating to a parent row
* @return {Object with root and nodes} This function returns a object with the root and
* a map of nodes by key
@alphonse92
alphonse92 / Update remote repo
Created November 10, 2019 22:21 — forked from mandiwise/Update remote repo
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket