vim:fdl=2:
Mainly for Google Pixel phones.
I mostly use Google's backup to Google Drive (which is freaking amazing). It backs up the following:
- App data
- Call history
| #=======================================================================# | |
| # extract_data.py # | |
| #=======================================================================# | |
| # usage: extract_data.py [-h] [-i INPUT_DIR] [-o OUTPUT_DIR] | |
| # | |
| # This program extracts provision numbers from a set of documents. | |
| # | |
| # optional arguments: | |
| # -h, --help show this help message and exit | |
| # -i INPUT_DIR, --input_dir INPUT_DIR |
Since Golang version 1.11 this process is finally (almost) as easy as it should (!!). You can see full docs here. For older guides see here.
These are my notes, not a generic solution. They are not meant to work anywhere outside my machines. Update version numbers to whatever are the current ones while you do this.
| if [ $# -eq 0 ]; then | |
| echo "No arguments supplied" | |
| else if [ -f "$1" ]; then | |
| echo " Creating different dimensions (dips) of "$1" ..." | |
| mkdir -p drawable-xxhdpi | |
| mkdir -p drawable-xhdpi | |
| mkdir -p drawable-hdpi | |
| mkdir -p drawable-mdpi | |
| if [ $1 = "ic_launcher.png" ]; then |
| #!/bin/bash | |
| # You should tweak this section to adapt the paths to your need | |
| export ANDROID_HOME=/home/jeremy/Android/Sdk | |
| export NDK_ROOT=/home/jeremy/Android/Sdk/ndk-bundle | |
| ANDROID_PLATFORM="android-21" | |
| # In my case, FindJNI.cmake does not find java, so i had to manually specify these | |
| # You could try without it and remove the cmake variable specification at the bottom of this file |
| # Reference: https://github.com/github/gitignore | |
| # From: https://gist.github.com/edesdan/6bb43343740bcd54ef0f56a384a2f66f | |
| ###################### | |
| ###### Mac OS X ###### | |
| ###################### | |
| # Folder view configuration files | |
| .DS_Store | |
| Desktop.ini |
I recently switched over to neovim (see my screenshots at the bottom). Below is my updated config file.
It's currently synchronized with my .vimrc config except for a block of neovim-specific terminal key mappings.
This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.
These days I primarily develop in Go. I'm super thrilled and grateful for fatih/vim-go,
| # .conkyrc | |
| background yes | |
| use_xft yes | |
| xftfont Droid:normal:size=10 | |
| xftalpha 1 | |
| update_interval 1.0 | |
| top_cpu_separate true | |
| total_run_times 0 | |
| own_window yes |
| $ git remote rm origin | |
| $ git remote add origin git@github.com:aplikacjainfo/proj1.git | |
| $ git config master.remote origin | |
| $ git config master.merge refs/heads/master |