Skip to content

Instantly share code, notes, and snippets.

View gvoze32's full-sized avatar
🕓
Busy

Syafa Adena gvoze32

🕓
Busy
View GitHub Profile
@HimDek
HimDek / Install Android apps or apk files in Windows using Windows Subsystem for Android (No Emulator).md
Last active May 10, 2024 13:33
This Guide will show you how to install and run apk files or Android apps in any Edition of Windows 11 using Windows Subsystem for Android. WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator.

Install Android apps or apk files in Windows using Windows Subsystem for Android

WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator. The problem is Windows Subsystem for Android is currently only available through preview via the Beta Channel of the Windows Insider Program. But if you follow my guide, you don't have to be in Windows Insider Program to try it out. The only thing you need is Windows 11 installed and some patience.

Prerequisites:

  • Windows Subsystem for Android or WSA must be Installed.

Click here to view the guide that shows how to install Windows Subsystem for Android in any Edition of Windows 11 (including Windows 11 Home) non Inider or stable release.

How to Install Android Apps or apk files in Windows Subsystem for Android:

@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:

@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
@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"
@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"],
@abdilahrf
abdilahrf / hosts
Last active October 5, 2023 05:19
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
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active May 8, 2024 07:24
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@craigmaslowski
craigmaslowski / compress-images.ps1
Last active May 28, 2023 16:57
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
{
@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.
@loretoparisi
loretoparisi / ffmpeg_frames.sh
Last active April 19, 2024 05: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