Skip to content

Instantly share code, notes, and snippets.

View Guillaumez's full-sized avatar
🎨

Guillaume Gonzalez Guillaumez

🎨
View GitHub Profile
@Guillaumez
Guillaumez / ffmpeg.md
Created October 19, 2015 12:34
FFMPEG

Reduce a mp4 video to half size

fmpeg -ss 30 -i video-2015.mp4 -vf scale='iw/2':-1 -c:v libx264 -c:a libfdk_aac video-2015-opt.mp4

Convert mp4 to webm

`ffmpeg -i video.mp4 -c:v libvpx -b:v 1M -c:a libvorbis video.webm``

Convert mp4 to ogg

Git commands

  • Create an archive of updated files git archive --output=<folder_name> HEAD $(git diff --name-only <commit_hash>)
  • Delete a tag from local git tag -d <tag_name>
  • Delete a tag from remote git push origin :refs/tags/<tag_name>
  • Ignore a local file
@Guillaumez
Guillaumez / css-ressources.md
Last active April 2, 2016 11:39
Ressources containing following themes : JS, CSS, Wordpress
@Guillaumez
Guillaumez / Explanation.md
Last active September 4, 2018 15:31
bootstrap dropdown ie7 hack

Bootstrap 2.X Dropdown IE7 hack

I don't have a shiv but i can give you my solution. I dont use the fixed navbar in this case.

Hack IE7

You have to know how to do a IE7 hack in CSS: