Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ein-stein-chen on github.
  • I am alexdegenhart (https://keybase.io/alexdegenhart) on keybase.
  • I have a public key ASAzjE0NnkZ7nKUFVxyb0S_8HvnFg-rjtf6L9FkBqrOkuQo

To claim this, I am signing this object:

@ein-stein-chen
ein-stein-chen / _contactfields.css
Last active March 6, 2019 22:06
Fix for MonicaHQ not loading the font awesome icons
# How to use:
# Place file at: monica/css/_contactfields.css
# Add the line `@import url("./_contactfields.css");` at the top of monica/css/app-ltr.css [or app-rtl.css]
.fa-envelope-open-o:before {content:"\F2B7"}
.fa-volume-control-phone:before {content:"\F2A0"}
.fa-facebook-official:before {content:"\F230"}
.fa-twitter-square:before {content:"\F081"}
.fa-telegram:before {content:"\F2C6"}
.fa-whatsapp:before {content:"\F232"}
@ein-stein-chen
ein-stein-chen / Doc_ExportVCard.php
Created February 9, 2019 23:30
Allow Monica to export tags -- not good code
/**
* @param Contact $contact
* @param VCard $vcard
*/
private function exportTags(Contact $contact, VCard $vcard)
{
$vCardTag = '';
foreach ($contact->tags()->get() as $tag) {
$vCardTag .= ($tag->name).",";
}