This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workspace "pathfinder"{ | |
model { | |
shopCustomer = person "Shop Customer" "An authenticated shop user who has accessn to storefront" "Customer" | |
ctp = softwareSystem "Commercetools" "Software System" { | |
ctpBackend = container "Backend" | |
ctpPersistance = container "Persistance" "Some kind of internal persistance, exact details aren't really relevant" "Persistance layer" "Database" | |
} | |
erp = softwareSystem "Dolibarr ERP system" "Software System" | |
crm = softwareSystem "Customer Relation Management System" "Software System" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "LoRaWan_APP.h" | |
#include "Arduino.h" | |
#include <CayenneLPP.h> | |
#include <Display.h> | |
/*LoRaWan related params */ | |
// Helium OTAA params | |
// uint8_t devEui[] = {_SECRET_STUFF_}; | |
// uint8_t appEui[] = {_SECRET_STUFF_}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: Tooling Cluster Worker Scaling Group Template | |
Parameters: | |
ClusterName: | |
Type: String | |
ClusterRegion: | |
Type: String | |
ClusterApiEndPoint: | |
Type: String | |
ClusterCAAuth: | |
Type: String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### With input ELXIR - 5000 ##### | |
Name ips average deviation median 99th % | |
downcase_ascii_patternMatch 6.82 K 146.64 μs ±88.38% 133 μs 390 μs | |
downcase_ascii_iodata 6.14 K 162.75 μs ±161.78% 133 μs 564 μs | |
Comparison: | |
downcase_ascii_patternMatch 6.82 K | |
downcase_ascii_iodata 6.14 K - 1.11x slower | |
Memory usage statistics: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### With input ELXIR - 5000 ##### | |
Name ips average deviation median 99th % | |
downcase_ascii_patternMatch 7.50 K 133.42 μs ±22.23% 133 μs 269 μs | |
downcase_ascii_iodata 7.28 K 137.39 μs ±19.84% 133 μs 258 μs | |
Comparison: | |
downcase_ascii_patternMatch 7.50 K | |
downcase_ascii_iodata 7.28 K - 1.03x slower | |
Memory usage statistics: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### With input ELXIR - 500 ##### | |
Name ips average deviation median 99th % | |
downcase - pattern_match 61.44 K 16.28 μs ±342.71% 12 μs 63 μs | |
downcase - stdlib 17.55 K 56.98 μs ±215.80% 39 μs 266 μs | |
Comparison: | |
downcase - pattern_match 61.44 K | |
downcase - stdlib 17.55 K - 3.50x slower | |
Memory usage statistics: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:28:58] | |
> cmake ../wdt -DBUILD_TESTING=1 | |
-- The C compiler identification is AppleClang 8.0.0.8000042 | |
-- The CXX compiler identification is AppleClang 8.0.0.8000042 | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!//usr/local/bin/python | |
# Author: tckb <[email protected]> | |
# A python client to simulate device pushes into GeoLocator service | |
# Usage: | |
# ./GeoLocator-sim.py --show (-s) [devices/clusters]: shows devices or clusters available in server | |
# ./GeoLocator-sim.py --reset (-r) : resets the simulation devices | |
# ./GeoLocator-sim.py --addDevice : registers new device | |
# ./GeoLocator-sim.py --start (-S) : starts simulation | |
# ./GeoLocator-sim.py --help (-h) : prints this message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package com.chemspider.www.examples; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void sendSMS(){ | |
Intent smsIntent; | |
// Check the version of the android | |
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) | |
{ | |
// Get default sms package, if exists | |
String smsPackage = Telephony.Sms.getDefaultSmsPackage(this); | |
smsIntent = new Intent(Intent.ACTION_SEND); | |
smsIntent.setType("text/plain"); |
NewerOlder