Skip to content

Instantly share code, notes, and snippets.

@EddyVerbruggen
EddyVerbruggen / AndroidManifest.xml
Last active January 19, 2022 02:55
App links on iOS and Android with NativeScript
/*
Add this to your <activity>, so any link (clicked in fi. an e-mail)
will open your app instead of the website, but only if it matches these whitelisted path patterns
*/
<activity android:launchMode="singleInstance"><!-- set the launchMode property to this value! -->
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
@rdmarsh
rdmarsh / chips.yml
Created March 12, 2016 12:26
Set CHIP up as an airplay server using ansible playbook
---
# Set CHIP up as an airplay server.
# Based on https://www.hackster.io/11798/c-h-i-p-play-speakers-7cebb9
# Note; you will still have to edit shairport-sync.conf to set the name
- name: configure chips for iot shairport use
hosts: shairport-chips
become_user: root
@growse
growse / uploadmaildir.pl
Created June 25, 2012 22:30
A way to incrementally upload a maildir to gmail's IMAP servers. Originally by Andreas Kammlott, with some changes
#!/usr/bin/perl
# by Andreas Kammlott, thanks to perl and its community
use IO::Socket::SSL;
use Data::Dumper;
use HTTP::Date qw(str2time);
use HTTP::Date qw(parse_date);
use Date::Format;
use Mail::IMAPClient;
use Mail::Box::Maildir;