Skip to content

Instantly share code, notes, and snippets.

View reginaldosnunes's full-sized avatar

Reginaldo Nunes reginaldosnunes

View GitHub Profile
@nrk
nrk / command.txt
Created April 2, 2012 19:19
Using ffprobe to get info from a file in a nice JSON format
ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json"
@erkobridee
erkobridee / nodejs-windows-empresas.md
Last active September 13, 2024 17:26
Utilizando o Node.js em um Windows sem Administrador

Utilizando o Node.js em um Windows sem Administrador

Cenário: ambiente corporativo, máquinas Windows XP e usuário sem permissão de administração.

Observação: embora o cenário descrito seja o Windows XP, os passos para o Windows 7 são bem parecidos.

--

TODO: observar Yeoman behind a (corporate) proxy

@lazywinadmin
lazywinadmin / PowerShellVoice.ps1
Created December 10, 2014 21:20
Show how to use the Speech feature in Windows using PowerShell
# Technique one: COM Object Version
$s = New-Object -ComObject SAPI.SPVoice
$s.Speak("You are Re-Hired!")
# Technique two: NET Object Version
Add-Type -AssemblyName System.speech
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer
# Play a sound
$speak.Speak("Pomme de terre")
@PrateekKumarSingh
PrateekKumarSingh / Get-MP3MetaData.ps1
Last active May 10, 2024 20:14
Get MetaData from a .MP3 or .MP4 file
Function Get-MP3MetaData
{
[CmdletBinding()]
[Alias()]
[OutputType([Psobject])]
Param
(
[String] [Parameter(Mandatory=$true, ValueFromPipeline=$true)] $Directory
)
@yangxuan8282
yangxuan8282 / emoji-info.sh
Last active January 24, 2025 18:39
Emoji❤bash
#!/bin/bash
# run this scripts with `bash emoji-info.sh` or `./emoji-info.sh`
usage() {
cat << EOF
usage: $0 [options] <emoji>
Options:
-h Show this message
-o Octal Escape Sequence
@DarthJahus
DarthJahus / whois.ps1
Created November 2, 2017 23:52
Whois command for PowerShell
<#
.SYNOPSIS
Domain name WhoIs
.DESCRIPTION
Performs a domain name lookup and returns information such as
domain availability (creation and expiration date),
domain ownership, name servers, etc.
.PARAMETER domain
@fnky
fnky / ANSI.md
Last active July 20, 2026 11:49
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@sveggiani
sveggiani / djying.md
Last active August 12, 2024 07:25
[DJ / Music mixing] #dj #study-notes #masscode

DJ

1. Concepts

1.1. Cue

Differences between Hot Cues and Memory Cues

  • Memory Cues: cannot be set on the fly and are always sequential. Requires the track to be paused and to mark it with the Cue button. Can be saved with an active loop (rekordbox). Useful when the exit in a song is very short, you could set a Memory Cue with an active loop and keep the track looping.
  • Hot Cues: can be set on the fly and in any order (non sequential). They allow to keep the song playing after jumping to them (depending on the configuration)
@andreasbotsikas
andreasbotsikas / Vob2Mp4.bat
Last active September 8, 2025 10:38
Convert DVD to mp4 using ffmpeg
REM Download ffmpeg from https://www.ffmpeg.org/download.html.
REM Place ffmpeg.exe in the folder with the vob files
REM Merge all vob files into one
REM VTS_01_0.VOB is usually the menu which you may not want
if exist VTS_01_7.VOB (
copy /b VTS_01_1.VOB+VTS_01_2.VOB+VTS_01_3.VOB+VTS_01_4.VOB+VTS_01_5.VOB+VTS_01_6.VOB+VTS_01_7.VOB ConCat.vob
) else if exist VTS_01_6.VOB (
copy /b VTS_01_1.VOB+VTS_01_2.VOB+VTS_01_3.VOB+VTS_01_4.VOB+VTS_01_5.VOB+VTS_01_6.VOB ConCat.vob
) else if exist VTS_01_5.VOB (
@ppoffice
ppoffice / README.md
Last active May 26, 2026 13:00
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y