Skip to content

Instantly share code, notes, and snippets.

View HerXayah's full-sized avatar
🍑
alive and cute awoooo

Sarah | Xayah HerXayah

🍑
alive and cute awoooo
View GitHub Profile
@HerXayah
HerXayah / style.css
Last active April 14, 2022 17:19
Now Playing Widget Animated Spotify OBS
/* used with https://spotify-widget.vercel.app/ */
@import url('https://fonts.googleapis.com/css2?family=Asap+Condensed&display=swap');
body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }
* {
font-family: 'Asap Condensed', sans-serif;
}
.eUpjul {
@HerXayah
HerXayah / meow.md
Last active March 25, 2022 08:53
Mp4 to Gif high quality
  1. ffmpeg -i input.mp4 -vf "palettegen" palette.png

if one doesnt work or loads indefinetly, which is the case by bigger videos

  1. ffmpeg -i input.mp4 -vf "select=eq(n\,1206)" -vframes 1 out.png

then

  1. ffmpeg -i out.png -vf "palettegen" palette.png
  2. ffmpeg -i input.mp4 -i palette.png -filter_complex "paletteuse" out.gif
### Keybase proof
I hereby claim:
* I am princessakira on github.
* I am lisasama (https://keybase.io/lisasama) on keybase.
* I have a public key ASDGX0akNpx1GxAmDanAc78COkbxEPtpXe9u1WFpUYWdngo
To claim this, I am signing this object:
@HerXayah
HerXayah / UserImageChanger.ps1
Created April 28, 2021 17:23
Changes UserImage of Windows 10 Machine via Script and Local JPG File
[CmdletBinding(SupportsShouldProcess=$true)]Param()
function Test-Null($InputObject) { return !([bool]$InputObject) }
Function ResizeImage() {
param([String]$ImagePath, [Int]$Quality = 100, [Int]$targetSize, [String]$OutputLocation = 'C:\Users\Public\Pictures\')
Add-Type -AssemblyName "System.Drawing"
$img = [System.Drawing.Image]::Fromfile((get-item './Input.jpg'))
@HerXayah
HerXayah / cloudSettings
Created March 8, 2020 11:35 — forked from CHEF-KOCH/cloudSettings
My Visual Studio Code Settings
{"lastUpload":"2020-03-06T13:10:13.282Z","extensionVersion":"v3.4.3"}
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions>
<entry name=".+\.(properties|xml|html|dtd|tld)" />
<entry name=".+\.(gif|png|jpeg|jpg)" />
</resourceExtensions>
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.groovy" />
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project
# idea
out
@HerXayah
HerXayah / Labymod Razer Module_.gitignore
Created December 9, 2018 13:17
LabyMod Chroma Razer Integration
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project
# idea
out
@HerXayah
HerXayah / Labymod Razer Module_.gitignore
Created December 9, 2018 13:16
LabyMod Razer Integration
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project
# idea
out