Some time ago I started using ProtonMail. OK, I didn’t start, I tried to start. But hard to use this when address book is empty :/
So, we need to export contacts from Gmail, and import in ProtonMail. Help in PM says that we need to export it in Outlook format, and then import it. Do not listen them - it will break non-ascii letters in your contacts. Export contacts as .vcf (Apple Mail) from Gmail, and then import them to the PM - your UTF-8 characters are saved ;)
Second problem is you can’t have contacts without email address :( Bad idea, this can be useful only if you use your address book for sending emails, but you can’t save any contact for other purposes.
There are also some minor bugs related to address book and importing, but I reported them, and I hope they fix them soon :)
In Ubuntu (I don’t know how in other distros) there is very old version of supervisord in repo. This version has few very annoying bugs, and I can’t live with them ;)
So, below is easy path to upgrade supervisord from system one to newest version in few simple steps:
Stop service:
service supervisor stop
Backup current configuration:
mkdir ~/supervisor
cp -r /etc/supervisor ~/etc-supervisor
cp /etc/default/supervisor ~/supervisor/etc-default-supervisor
cp /etc/init.d/supervisor ~/supervisor/etc-init.d-supervisor
Remove current installation:
apt-get purge supervisor
rm -fr /etc/supervisor
Install new supervisor:
pip install supervisor
Restore configs:
cp ~/supervisor/etc-default-supervisor /etc/default/supervisor
cp ~/supervisor/etc-init.d-supervisor /etc/init.d/supervisor
cp -r ~/etc-supervisor /etc/supervisor
ln -s /etc/supervisor/supervisor.conf /etc/supervisor.conf
Start new supervisor:
service supervisor start
Verify:
supervisorctl
Set to run at startup:
update-rc.d supervisor defaults
I installed Android 5.0.1 (Lollipop) on my Samsung Galaxy S4 (I9505). I’m using Omega Droid rom v41 (i’m using OmegaDroid roms some time now, i don’t remember exact version).
Works great, but had one issue: freezing/lagging when playing videos/youtube. I found info on XDA, that library libDivxDrm.so should be available under other name also: libdivxdrm.so (yes, just lowercase it).
I done that using IMHO best file manager on Android (Solid Explorer), and all lags gone away :) Just remember about restart your phone :)
Short tutorial:
Open Terminal, then type:
openssl s_client -showcerts -connect ADDR:443
Replace ADDR with your address (without “http://” ;) ). Then press CTRL-C and next copy to clipboard part from ’-----BEGIN CERTIFICATE-----’ to ’-----END CERTIFICATE-----’ (including them). Place it in some file, for example:
pbpaste > ~/cert.pem
And “run” that file: doubleclick it from Finder or enter in terminal:
open ~/cert.pem
In popup click ‘Always Trust’, enter your password, and voila :)
After release of git 1.9, I want to update it in my environments. On mac, it’s easy: brew update && brew upgrade git. For Ubuntu, there is short manual: https://launchpad.net/~git-core/+archive/ppa.
So… should be easy, yeah?
I have few virtual machines (vagrant rocks!), on most of them I should install python-software-properties, and then:
sudo apt-add-repository ppa:git-core/ppa
That’s all. But one of my VM’s, after installing python-software-properties, still lacks of apt-add-repository :/ Strange…
Long story short: the solution is to install also software-properties-common. After that, we can now use apt-add-repository.
If you use Safari on mac (I don’t usually), and when reading PDFs documents show garbled text (PDF file content), it may be Adobe Reader fault.
Go to /Library/Internet Plug-ins, and rename/remove files:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
After that, restart Safari and enjoy…
I spent 2 hours today to find why my provisioning doesn’t start with vagrant up or vagrant reload :/ In documentation is that it should be run, but it’s past.
Now, provisioning is run once, at first vagrant up. Every next reload or up will not run it. To run provisioning at startup or reload, you must explicit show it:
vagrant reload --provision
vagrant up --provision
or explicit rub provisioning:
vagrant provision
Przez lata bardzo intensywnie wykorzystywałem SVN. Znam mocne, znam słabe jego strony. Przez lata nim zarządzałem, wdrażałem ludzi do pracy na nim, nauczyłem zarówno siebie, jak i innych jak obchodzić problemy jakie rodzą się przy intensywnej pracy z tym narzędziem, czego unikać. Znajomi dziwnie się patrzą, jak mówię że pracowałem na tym VCS na kilkunastu branchach równocześnie, a w historii poprzedniej firmy - na kilkuset.
Od kilku lat, a szczególnie intensywnie od kilku miesiący (niecały rok), używam Gita. W większości przypadków używam go nie jak DVCS - zazwyczaj jest jeden serwer (github/bitbucket), tam trzeba zrobić pusha, stamtąd zrobić pulla i tyle.
Przez ostatnie miesiące (4-5) nie używałem praktycznie SVNa - w nowej firmie nie jest w użyciu, a swoje rzeczy dawno już przerzuciłem na Gita. Ostatnio jednak muszę znów pracować trochę na SVN…
I obym szybko przestał musieć. 2 rzeczy powodują, że mam alergię na Subversion, mam uraz, nie chcę go widzieć na oczy ;)
1. Commity lokalne, a później push
2. git add -p / git checkout -p
Szczególnie ten drugi motyw - czyli możliwość pracy nad różnymi częściami kodu, a później commitowanie po kawałku… Jak można było bez tego żyć? :/ Przecież nie da się inaczej. Masakra.
Przez to że SVN nie ma tej drugiej featury, puszczam jakieś masakrycznie duże commity z dziesiątkami zmian. Zamiast małych, konkretnych commiciątek, trzeba napier* z grubej rury, albo tracić godziny na ręczną zabawę z tym… Ech :(
Broniłem się przed używaniem git-svn, ale chyba nie będzie wyjścia…