Skip to content

Instantly share code, notes, and snippets.


Evelina Vrabie evelyne24

View GitHub Profile
evelyne24 /
Last active Mar 8, 2022
Bash script to extract the build name and number from `pubspec.yaml` before building your Flutter app
set -e
file=$(cat pubspec.yaml)
BUILD_NAME=$(echo $file | sed -ne 's/[^0-9]*\(\([0-9]\.\)\{0,4\}[0-9][^.]\).*/\1/p')
BUILD_NUMBER=$(git rev-list HEAD --count)
evelyne24 / scrollable_footer.dart
Created Apr 7, 2019
Flutter scrollable footer - a footer that stays at the bottom of the screen and scrolls with its container; also see
View scrollable_footer.dart
evelyne24 / .dockerignore
Last active Sep 4, 2019
Docker-ize Connfa
View .dockerignore
evelyne24 / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import java.util.Arrays;
import java.util.Collections;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicLong;
evelyne24 / README
Last active Nov 24, 2017
I've been using Maven for Android projects quite extensively from command line lately and I found that a colour output is really helpful.I'm using iTerm2 on MacOs Mavericks (10.9). I've found a couple of bash scripts to colorise Maven output but none was quite enough for me :PThe two best I found are and
The blog post explainig how to use this:
source $HOME/
evelyne24 /
Created Sep 28, 2013
Because cats are AWESOME and because programming is AWESOME! Being inspired by the beautiful Cat ASCII Art here I decided to make LogCat behave like its name! This makes my debugging so much fun! :D
import android.util.Log;
import java.text.MessageFormat;
import static java.lang.String.format;
* Created by evelyne24.
evelyne24 /
Last active May 8, 2021
This is how to get the colour from a custom style within a custom style within an Android Theme.
import android.content.Context;
import android.content.res.Resources;
import android.util.AttributeSet;
import android.util.Log;
import android.util.TypedValue;
import android.widget.TextView;