Skip to content

Instantly share code, notes, and snippets.

View gvoze32's full-sized avatar
๐Ÿ•“
Busy

Syafa Adena gvoze32

๐Ÿ•“
Busy
View GitHub Profile
@giordanocardillo
giordanocardillo / README.MD
Last active May 8, 2025 18:56
Remove Office 2016 Product Key

Caution

Due to the subject of this Gist there are a lot of spam/scam comments. I try to remove them all as soon as possible. I don't recommend you to click on any link in the comments

How to remove Microsoft Office 2016 Product Key

  1. Open a command prompt as Administrator
  2. In the command prompt, type the following:
  • Office 2016 (32-bit) on a 32-bit version of Windows

cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus

@loretoparisi
loretoparisi / ffmpeg_frames.sh
Last active December 17, 2024 15:17
Extract all frames from a movie using ffmpeg
# Output a single frame from the video into an image file:
ffmpeg -i input.mov -ss 00:00:14.435 -vframes 1 out.png
# Output one image every second, named out1.png, out2.png, out3.png, etc.
# The %01d dictates that the ordinal number of each output image will be formatted using 1 digits.
ffmpeg -i input.mov -vf fps=1 out%d.png
# Output one image every minute, named out001.jpg, out002.jpg, out003.jpg, etc.
# The %02d dictates that the ordinal number of each output image will be formatted using 2 digits.
ffmpeg -i input.mov -vf fps=1/60 out%02d.jpg
@rkttu
rkttu / hvswitch.cmd
Created February 14, 2018 05:38
Windows Hypervisor Switch Tool
@echo off
pushd "%~dp0"
cls
echo This script allows you to easily turn on or off Windows Hypervisor settings at once. This script is useful when you want to use Hyper-V or Docker for Windows with other hypervisors.
echo.
net session >nul 2>&1
if not %errorLevel% == 0 (
echo To run this script, you must run it as a user with administrative privileges.
@craigmaslowski
craigmaslowski / compress-images.ps1
Last active July 1, 2024 21:41
Powershell script to compress all jpg, gif, or png files recursively in the given path with ImageMagick
param([string]$path = ".\", [int]$minSize = 0, [switch]$jpg, [switch]$png, [switch]$gif, [switch]$verbose, [switch]$report)
function Get-Size
{
param([string]$pth)
"{0:n2}" -f ((gci -path $pth -recurse | measure-object -property length -sum).sum /1mb) + " mb"
}
function Get-Size-Kb
{
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active April 30, 2025 05:20
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@abdilahrf
abdilahrf / hosts
Last active May 16, 2024 00:04
Blokir hostname INDIHOM* ke localhost kita biar kapok, untuk linux tambahin di file /etc/hosts & windows /System32/drivers/etc/hosts
# INDIHOM*
127.0.0.1 x-tags.net
127.0.0.1 a01.uadexchange.com
127.0.0.1 cdn.uzone.id
127.0.0.1 cdn3.uzone.id
127.0.0.1 cfs.uzone.id
127.0.0.1 csf.uzone.id
127.0.0.1 d01.notifa.info
127.0.0.1 d31qbv1cthcecs.cloudfront.net
127.0.0.1 d5nxst8fruw4z.cloudfront.net
@ppabcd
ppabcd / sort.php
Created June 2, 2019 09:28
Sort File by Extension Inside Folder Using PHP
<?php
$folder = __DIR__."/experimen/";
$moved_folder = __DIR__."/hasil/";
$extensions = [
"gambar" => ["jpg","png", "jpeg", "JPG", "svg"],
"video" => ["mkv", "mp4"],
"musik" => ["mp3"],
"document" => ["pdf","txt","xls", "epub", "docx", "xlsb"],
"compressed" => ["rar","zip", "tar.gz"],
"programming" => ["php", "py", "sql", "js", "html", "htm", "map", "phar"],
@lantip
lantip / Batch File untuk ubah hosts
Created January 30, 2020 15:50
silakan kopi paste script ini ke notepad, simpan sebagai UpdateHost.bat, tutup notepad, ke explorer, double klik filenya
@echo off
TITLE Mengubah HOSTS file karena indihomesux
COLOR F0
ECHO.
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
@sj14
sj14 / hosts
Created February 5, 2020 19:10
macOS Catalina 10.15 default /private/etc/hosts file
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
@py7hon
py7hon / README.md
Last active July 25, 2022 07:35
Simple Python script for make watermark like windows activate

Watermark

Dependences:

  • python-gobject

Usage:

chmod +x watermark ./watermark

Screenshots: