Skip to content

Instantly share code, notes, and snippets.

View smpsnr's full-sized avatar
🔮

sam posner smpsnr

🔮
View GitHub Profile
@smpsnr
smpsnr / signal2vcf.js
Created March 6, 2019 10:55
Export contacts from Signal Desktop as vCard (tested v1.22.0)
/*
* Open View -> Toggle Developer Tools in the Signal desktop app
* Paste Mozilla's ical.js into the console (https://raw.githubusercontent.com/mozilla-comm/ical.js/master/build/ical.min.js)
* Paste the following script:
*/
owsDesktopApp.appView.inboxView.inboxListView.collection.models
.filter(conv => conv.attributes.type != 'group' && conv.attributes.name)
.reduce((acc, cur) => {
project references get stored in both the .sln and .vcxproj files. in .vcxproj, you can do
`<ProjectReference Include="$(OFX_DIR)\...`
in .sln, do
`Project("{...}") = "openframeworksLib", "%OFX_DIR%\...`
then cry.
https://stackoverflow.com/a/909625

Keybase proof

I hereby claim:

  • I am smpsnr on github.
  • I am smpsnr (https://keybase.io/smpsnr) on keybase.
  • I have a public key whose fingerprint is 4C32 C1C1 F2F3 B27C AA33 492A 5282 6E31 ECE7 4BEB

To claim this, I am signing this object: