Skip to content

Instantly share code, notes, and snippets.

View mariopce's full-sized avatar
🎯
Focusing

Mariusz Saramak mariopce

🎯
Focusing
View GitHub Profile
{
"routesList": [
{
"startTime": {
"hour": 10,
"minute": 1,
"second": 0,
"nano": 0
},
"finishTime": {
@mariopce
mariopce / app|build.gradle
Created December 14, 2015 15:18
android workshop depedencies
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
//android
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
//library guava
adb shell screencap -p /sdcard/$1.png
adb pull /sdcard/$1.png
adb shell rm /sdcard/$1.png
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Program to delete sound from mp4 please put filename as a param"
echo "deletesound.sh input.mp4"
exit 1;
fi
ffmpeg -i $1 -vcodec copy -an "no_sound"$1