Install homebrew → https://brew.sh
Install beforehand NginX, MariaDB, DnsMasq and PHP7.2 with Composer
$ brew install php nginx mariadb dnsmasq composer
# First create the file version.properties with value VERSION_BUILD=0 | |
# In app/build.gradle: | |
android { | |
def versionPropsFile = file('version.properties') | |
def versionBuild | |
if (versionPropsFile.canRead()) { | |
def Properties versionProps = new Properties() | |
versionProps.load(new FileInputStream(versionPropsFile)) |
Install homebrew → https://brew.sh
Install beforehand NginX, MariaDB, DnsMasq and PHP7.2 with Composer
$ brew install php nginx mariadb dnsmasq composer
#!/usr/bin/env sh | |
# See here first: https://github.com/marcandreappel/xdebug-devilbox-phpstorm-postman | |
cd /home/$USER/.devilbox/ | |
docker-compose stop | |
docker-compose rm -f | |
docker-compose pull |
add-apt-repository -y ppa:daniel-milde/gdu | |
apt-get update | |
apt-get install gdu |
The tutorial got a new home, head over to the newly created repo (for more flexibility and better interaction).
Cheat alert: Install the Gnome version of EndeavourOS first. Gives a perfect base without headache in record time.
/etc/pacman.conf
and disable the repository of EndeavourOS by editing /etc/pacman.conf
and deleting / commenting the [endeavour]
entries.fish
and oh-my-fish with my personal package repositoryomf install ls2exa
omf install htop2bpytop
yay -S appimagelauncher
to launch AppImagesstages: | |
- build | |
- deploy | |
build: | |
stage: build | |
tags: | |
- <tag you provided while registering the token> | |
- <second tag> | |
script: | |
- echo "Building deploy package" |
# Laravel queue worker using systemd | |
# ---------------------------------- | |
# | |
# /lib/systemd/system/queue.service | |
# | |
# run this command to enable service: | |
# systemctl enable queue.service | |
[Unit] | |
Description=Laravel queue worker |
class PeekingLinearLayoutManager : LinearLayoutManager { | |
@Suppress("Unused") | |
@JvmOverloads | |
constructor(context: Context?, @RecyclerView.Orientation orientation: Int = RecyclerView.VERTICAL, reverseLayout: Boolean = false) : super(context, orientation, reverseLayout) | |
@Suppress("Unused") | |
constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int) : super(context, attrs, defStyleAttr, defStyleRes) | |
override fun generateDefaultLayoutParams() = | |
scaledLayoutParams(super.generateDefaultLayoutParams()) |