Skip to content

Instantly share code, notes, and snippets.

View bitsydoge's full-sized avatar
:octocat:

Bitsy bitsydoge

:octocat:
View GitHub Profile
@bitsydoge
bitsydoge / run_powershell_from_pastebin.ps1
Created November 29, 2023 16:55
Run script from Pastebin in Powershell
iex((iwr "http://pastebin.com/raw.php?i=27JX6GqJ").content)
@bitsydoge
bitsydoge / flac_to_mp3.py
Created November 29, 2023 16:48
This script converts FLAC files to MP3 format using ffmpeg-python
#!/usr/bin/env python
# Author: bitsydoge
# Description: This script converts FLAC files to MP3 format using ffmpeg-python
# Usage: flac_to_mp3.py [-h] [--input_folder INPUT_FOLDER] [--output_folder OUTPUT_FOLDER] [--bitrate BITRATE] [--verbose]
import os
import ffmpeg
import argparse
import tqdm
@bitsydoge
bitsydoge / VlcTemplate.lua
Created November 9, 2023 16:37
VlcTemplate.lua
function descriptor()
return {
title = "VlcTemplate",
version = "1.0",
author = "You",
url = "http://",
shortdesc = "Short Description",
description = "Full Description",
capabilities = {"menu", "input-listener", "meta-listener", "playing-listener"}
}
param (
[string]$folderPath,
[string]$destinationPath = $folderPath,
[string]$BLPConverter = "BLPConverter.exe"
)
# Check if folderPath is provided
if ([string]::IsNullOrEmpty($folderPath)) {
Write-Error "Error: folderPath must be provided."
Write-Host "Usage: script.ps1 -folderPath <FolderPath> [-destinationPath <DestinationPath>] [-BLPConverter <ConverterPath>]"
function descriptor()
return {
title = "Shuffle Playlist & Save",
version = "1.0",
shortdesc = "Shuffle Playlist",
description = "Shuffles all items on the playlist and save the playlist",
author = "Doge",
capabilities = {"trigger"}
}
end
@bitsydoge
bitsydoge / one_line_system_info.ps1
Last active November 9, 2023 16:34
One line system info
clear;"OS: $((gcim Win32_OperatingSystem).Caption.Trim()) ($(([System.Environment]::OSVersion.Version).ToString()))";"Host: $env:COMPUTERNAME";"Shell: $PSHOME";"UP: $((gcim Win32_OperatingSystem).LastBootUpTime)";"CPU: $((gcim Win32_Processor).Name)";"GPU: $((gcim Win32_VideoController).Name)";"RAM: $(([math]::Round((gcim Win32_ComputerSystem | select -ExpandProperty TotalPhysicalMemory) / 1GB))) GB"
import os
import requests
import shutil
from bs4 import BeautifulSoup
from zipfile import ZipFile
from tqdm import tqdm
import tempfile
import argparse
import platform
param(
[Parameter(Mandatory=$true)]
[string]
$rootDirectory,
[Parameter(Mandatory=$true)]
[string]
$filePattern,
[Parameter(Mandatory=$false)]
param (
[Parameter(Mandatory = $true)]
[ValidateScript({Test-Path $_ -PathType Leaf})]
[String]$ImagePath,
[Parameter(Mandatory = $true)]
[ValidateRange(1, [int]::MaxValue)]
[Int32]$CasesX,
[Parameter(Mandatory = $true)]

Privacy Policy

Bitsy Dev Studio built the Birdy World app as a Free app. This SERVICE is provided by Bitsy Dev Studio at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Birdy World unless otherwise defined in this Privacy Policy.