Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Boddin mike-boddin

View GitHub Profile
@mike-boddin
mike-boddin / convertaudiotoac3.cmd
Created Jan 13, 2018
simple audiostream-converting of mkv-files to ac3 without touching the videostream. Found here: https://gdion.wordpress.com/2016/06/12/simple-dts-to-ac3-using-ffmpeg/
View convertaudiotoac3.cmd
FOR %%f IN (*.mkv) DO C:\ffmpeg\ffmpeg.exe -i "%%f" -map 0 -vcodec copy -scodec copy -acodec ac3 -b:a 640k "%%~nf"-AC3.mkv
View keybase.md

Keybase proof

I hereby claim:

  • I am mike-boddin on github.
  • I am mikeboddin (https://keybase.io/mikeboddin) on keybase.
  • I have a public key ASD5Nas7Oihx3K-UyM96fbXnHAmblzzDPd-uJ3zNkUkYUAo

To claim this, I am signing this object:

@mike-boddin
mike-boddin / base_functions
Last active Dec 16, 2015
Collection of git-hooks
View base_functions
#!/bin/bash
# base_functions
function print_baseline {
echo "#"
echo "########################################################################"
echo "#"
}
function log {
@mike-boddin
mike-boddin / Dockerfile
Created Dec 14, 2015
Codenvy Dockerfile to run Spring Boot Apps
View Dockerfile
FROM java:8
EXPOSE 8080
ENV CODENVY_APP_PORT_8080_HTTP 8080
RUN mkdir -p /home/user/app
WORKDIR /home/user/app
ADD $app$ /home/user/$app$
RUN unzip -q /home/user/$app$ -d /home/user/app && \
rm /home/user/$app$
CMD java -jar application.jar $args$ run
View .vimrc
syntax on
set background=dark
set hlsearch
set nu
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set cursorline
@mike-boddin
mike-boddin / nbactions.xml
Created Dec 8, 2015
NetBeans: nbactions for spring-boot
View nbactions.xml
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<actionName>CUSTOM-spring-boot:run</actionName>
<displayName>spring-boot:run</displayName>
<goals>
<goal>spring-boot:run -Drun.jvmArguments="-Xms128m -Xmx256m"</goal>
</goals>
</action>
<action>
@mike-boddin
mike-boddin / .gitconfig
Last active Mar 13, 2017
Global git config (Windows)
View .gitconfig
[core]
autocrlf = true
editor = gitedit.sh
[user]
name = Mike Boddin
email = dev@autorisiert.net
[push]
default = simple
[alias]
pg = log --graph --decorate=short --date=relative --all
You can’t perform that action at this time.