baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

Know-How / Wissenswertes

LinPhone VOIP client softphone: Importing SIP contacts from Google Contacts via commandline using PHP on GNU/Linux

The following command will add contact “Demo” to your linphone contact database using sqlite3: sqlite3 ~/.var/app/com.belledonnecommunications.linphone/data/linphone/friends.db “INSERT INTO friends (friend_list_id, sip_uri, subscribe_policy, send_subscribe, ref_key, vCard, vCard_etag, vCard_url, presence_received) VALUES (1, ‘sip:+436641234567@fairytel.at’, 1, 0, NULL, ‘BEGIN:VCARD’ || char(10) || ‘VERSION:4.0’ || char(10) || ‘IMPP:sip:+4366412346567@fairytel.at’ || char(10) || ‘FN:Demo’ || char(10) || ‘IMPP:sip:+4366412346567@213.185.165.102’ || char(10) || ‘END:VCARD’, […]

Syncthing: force local network sync

A couple of years ago i set up an owncloud server for myself. While it’s nice for small amount of files, owncloud had some disturbing limitations. I tried syncing more than a million files, and it miserably failed. The search feature would take forever, etc … Also, you always need a server to be running. […]

Currency exchange rates

https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html Euro foreign exchange reference rates + historical data XML today: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml XML 90 days: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml?7ef8b5118e49d5f61068417d070c68db XML since 1999: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml

Free historic stock data

1. Register free API key for https://www.alphavantage.co/ 2. API documentation: https://www.alphavantage.co/documentation/ 3. Download data: curl “https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=TSLA&interval=5min&apikey=YOURAPIKEYHERE&datatype=csv” –output tsla.csv

LENOVO Thinkpad X1 Carbon 2018 (Gen6, G6) 20KHCTO1WW

AC Geekbench Result: (BIOS setting: max power, max power) https://browser.geekbench.com/v4/cpu/8741282 Single Core Score: 5132 Multi-Core Score: 16230 Battery Geekbench Result (BIOS setting: battery optimized, thermal optimized) https://browser.geekbench.com/v4/cpu/8741341 Single Core Score: 2508 Multi-Core Score: 9378

WPA3: What we know …

Press Release: https://www.wi-fi.org/news-events/newsroom/wi-fi-alliance-introduces-security-enhancements Press Release analysis: http://www.mathyvanhoef.com/2018/03/wpa3-technical-details.html RFC8110: Opportunistic wireless encryption https://tools.ietf.org/html/rfc8110 802.11ax Task Group Timelines: http://grouper.ieee.org/groups/802/11/Reports/tgax_update.htm http://www.ieee802.org/11/Reports/802.11_Timelines.htm#tgax WPA3 Hardware news: http://www.guru3d.com/news-story/qualcomm-introduces-atheros-wcn3998-with-802-11axwpa3-and-bluetooth-5-1.html http://gagadget.com/en/33070-qualcomms-mobile-chip-wcn3998-is-the-first-to-support-the-standard-wi-fi-80211ax/ https://meraki.cisco.com/blog/2018/03/wi-fi-standards-on-the-move-again/ — What WPA is based on: http://community.arubanetworks.com/t5/Technology-Blog/WPA3-The-Next-Generation-in-Secure-Mobility/ba-p/410832 gives a list (i have added links where available): –Harkins, D. and W. Kumari, “Opportunistic Wireless Encryption”, RFC 8110, March 2017 –IEEE 802.11-2016 –Harkins, […]

Linux toolchain test builds (e.g. gcc versions)

https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test This might be required for VMware workstation 12, 14, … If you see vmware suck at “Waiting for connection”, try running “sudo vmware” this did fix it for me and others. (Source: https://communities.vmware.com/thread/573634)

Linux on LENOVO Thinkpad Carbon X1 2018 G6 Gen6 6th Gen (hiDPI changes, BIOS upgrade, Spectre/Meltdown, synaptics touchpad driver, wifi, etc.)

Login Screen: i don’t want the hidpi scaling here, because it’s getting to big, thus: sudo vi /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml change <key name=”scaling-factor” type=”u”> <default>0</default> to <key name=”scaling-factor” type=”u”> <default>1</default> Touchpad / Trackpad I’m using the synaptics driver, same settings as with my T450s. I had to disable the Trackpoint in BIOS to make it work, please […]

Previous Posts Next posts