Skip to content

Instantly share code, notes, and snippets.

View VADemon's full-sized avatar
💬
What is this, a social network? Just move to GitLab 🍪

VADemon VADemon

💬
What is this, a social network? Just move to GitLab 🍪
View GitHub Profile
@passcod
passcod / gist:4158973
Created November 28, 2012 04:08
in no particular order
  • 4Chan: Community where everything matters but everyone is anonymous.
  • StackOverflow: Geek community where only knowledge matters and anonymity is optional.
  • Imgur: Community where the username is most often part of the message.
  • IRC: Not a community. The common room of your community's lodgings.
  • Twitter: Nobody's really sure what exactly it is.
  • Facebook: Originally made by a douchebag, now home to many more.
  • MySpace: Where bands hang out before they die.
  • Bandcamp: Where the rest of the bands are.
  • YouTube: One of the rare things that has gotten better after Google bought it.
  • Github: Code. Code-code-code. Octopuses. Lolcats.
@niksumeiko
niksumeiko / git.migrate
Last active November 10, 2024 18:26
Moving git repository and all its branches, tags to a new remote repository keeping commits history
#!/bin/bash
# Sometimes you need to move your existing git repository
# to a new remote repository (/new remote origin).
# Here are a simple and quick steps that does exactly this.
#
# Let's assume we call "old repo" the repository you wish
# to move, and "new repo" the one you wish to move to.
#
### Step 1. Make sure you have a local copy of all "old repo"
### branches and tags.
@protrolium
protrolium / ffmpeg.md
Last active November 12, 2024 21:27
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

function remove-docker-containers
echo "Stop running shit"
docker stop (docker ps -q)
echo "Remove the whale shit"
docker rm (docker ps -a -q)
end
function remove-docker-images
remove-docker-containers