Skip to content

Instantly share code, notes, and snippets.

View ViniciusFXavier's full-sized avatar
👨‍💻
Coding...

Vinícius Francisco Xavier ViniciusFXavier

👨‍💻
Coding...
View GitHub Profile
@amiantos
amiantos / index.js
Last active October 30, 2024 20:12
Zip Multiple Files from S3 using AWS Lambda Function
// Lambda S3 Zipper
// http://amiantos.net/zip-multiple-files-on-aws-s3/
//
// Accepts a bundle of data in the format...
// {
// "bucket": "your-bucket",
// "destination_key": "zips/test.zip",
// "files": [
// {
// "uri": "...", (options: S3 file key or URL)
@Bluscream
Bluscream / freegames.js
Created April 19, 2018 00:48
Free Steam Games
(function(){
if( location.href.match( /^https:\/\/store\.steampowered\.com\/account\/licenses\/?$/ ) === null ){
alert( 'Please run this on Steam\'s account page details: https://store.steampowered.com/account/licenses/' );
window.location = 'https://store.steampowered.com/account/licenses/';
return;
}
var freePackages = [];
var total = freePackages.length;
@netbiosX
netbiosX / FodhelperUACBypass.ps1
Last active May 28, 2025 18:01
Bypass UAC via Fodhelper binary in Windows 10 systems
<#
.SYNOPSIS
This script can bypass User Access Control (UAC) via fodhelper.exe
 
It creates a new registry structure in: "HKCU:\Software\Classes\ms-settings\" to perform UAC bypass and starts
an elevated command prompt.
 
.NOTES
Function : FodhelperUACBypass
File Name : FodhelperUACBypass.ps1
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active February 27, 2025 20:09
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@zh
zh / server.js
Created April 13, 2011 08:16 — forked from sintaxi/server.js
simple reverse proxy with node.js
var http = require("http"),
util = require("util")
http.createServer(function(req, rsp){
var regex = /^\/(v1|v2)/g
var matches = req.url.match(regex)
if((matches && matches[0] === "/v1") || (req.headers["x-api-version"] === "v1"))
var port = 8001