Skip to content

Instantly share code, notes, and snippets.

View jeffersonvventura's full-sized avatar

Jefferson Ventura jeffersonvventura

View GitHub Profile
@jeffersonvventura
jeffersonvventura / Office 2019 ISO Links at Microsoft.md
Created February 1, 2025 01:31 — forked from Issykul/Office 2019 ISO Links at Microsoft.md
Office 2019 ISO Download Links at Microsoft
@jeffersonvventura
jeffersonvventura / AdbCommands
Created December 27, 2023 21:22 — forked from ernestkamara/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeffersonvventura
jeffersonvventura / INIFile.cs
Created March 4, 2022 15:29 — forked from Sn0wCrack/INIFile.cs
A simple way to read INI Files with C#
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace <INSERT_NAMESPACE_HERE>
{
public class INIFile
{
public string path { get; private set; }
@jeffersonvventura
jeffersonvventura / AdbCommands
Created February 22, 2022 23:49 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@jeffersonvventura
jeffersonvventura / automatic_invoice.gs
Created February 4, 2022 14:20 — forked from automagictv/automatic_invoice.gs
Apps Script code to automatically replace template variables in your invoice document.
///////////////////////////////////////////////////////////////////////////////////////////////
// BEGIN EDITS ////////////////////////////////////////////////////////////////////////////////
const TEMPLATE_FILE_ID = 'YOUR_TEMPLATE_FILE_ID_HERE';
const DESTINATION_FOLDER_ID = 'YOUR_DESTINATION_FOLDER_ID_HERE';
const CURRENCY_SIGN = '$';
// END EDITS //////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
// WARNING: EDITING ANYTHING BELOW THIS LINE WILL CHANGE THE BEHAVIOR OF THE SCRIPT. //////////
@jeffersonvventura
jeffersonvventura / AES_sample_code
Created June 15, 2021 02:14 — forked from RichardHan/AES_sample_code
C# AES sample code
using System;
using System.IO;
using System.Security.Cryptography;
namespace AES
{
class Program
{
static string aes_key = "AXe8YwuIn1zxt3FPWTZFlAa14EHdPAdN9FaZ9RQWihc=";
static string aes_iv = "bsxnWolsAyO7kCfWuyrnqg==";
@jeffersonvventura
jeffersonvventura / jpg-png-optimize.md
Created January 24, 2020 14:05 — forked from VirtuBox/jpg-png-optimize.md
Optimize your jpg & png images with jpegoptim and optipng on linux

JPG and PNG image bulk optimization

Install jpegoptim and optipng

sudo apt update && apt install jpegoptim optipng -y

compile the latest release of optipng

Install dependencies

@jeffersonvventura
jeffersonvventura / ffmpeg.md
Created December 9, 2019 16:16 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz: