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
<!-- Step 1. Link tracking snippet --> | |
<script> | |
// Initialize SDK | |
!function(){var o=window.tdl=window.tdl||[];if(o.invoked)window.console&&console.error&&console.error("XP Affiliate snippet has been included more than once.");else{o.invoked=!0,o.methods=["init","identify","convert"],o.factory=function(n){return function(){var e=Array.prototype.slice.call(arguments);return e.unshift(n),o.push(e),o}};for(var e=0;e<o.methods.length;e++){var n=o.methods[e];o[n]=o.factory(n)}o.init=function(e){var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://js.go2sdk.com/v2/tune.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t),o.domain=e}}}(); | |
tdl.init("https://tracking.xpaffiliate.com"); | |
// Identify user based on request params | |
tdl.identify(); | |
</script> |
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
import 'dart:ffi'; | |
import 'dart:io'; | |
final sqliteUrl = 'https://github.com/powersync-ja/powersync-sqlite-core/releases/download/v0.1.7'; | |
void main() async { | |
final flutterPath = await _getFlutterInstallationPath(); | |
if (flutterPath != null) { | |
print('Flutter is installed at: $flutterPath'); | |
} else { |
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
``` | |
version: "3" | |
services: | |
db: | |
image: postgres:16.2 | |
restart: always | |
ports: | |
- "15432:5432" | |
environment: |
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
import 'package:appspector/appspector.dart'; | |
import 'package:flutter/material.dart'; | |
class AppSpectorWidget extends StatefulWidget { | |
final String iosApiKey; | |
final String androidApiKey; | |
final Widget child; | |
AppSpectorWidget( | |
{@required this.iosApiKey, |
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
{ | |
"Cluster": "arn:aws:ecs:us-west-2:&ExampleAWSAccountNo1;:cluster/default", | |
"TaskARN": "arn:aws:ecs:us-west-2:&ExampleAWSAccountNo1;:task/default/febee046097849aba589d4435207c04a", | |
"Family": "query-metadata", | |
"Revision": "7", | |
"DesiredStatus": "RUNNING", | |
"KnownStatus": "RUNNING", | |
"Limits": { | |
"CPU": 0.25, | |
"Memory": 512 |
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
{ | |
"DockerId": "c7a6b9b237934e9999f319ea3ccc9da4query-metadata", | |
"Name": "query-metadata", | |
"DockerName": "query-metadata", | |
"Image": "mreferre/eksutils", | |
"ImageID": "sha256:1b146e73f801617610dcb00441c6423e7c85a7583dd4a65ed1be03cb0e123311", | |
"Labels": { | |
"com.amazonaws.ecs.cluster": "arn:aws:ecs:us-west-2:&ExampleAWSAccountNo1;:cluster/default", | |
"com.amazonaws.ecs.container-name": "query-metadata", | |
"com.amazonaws.ecs.task-arn": "arn:aws:ecs:us-west-2:&ExampleAWSAccountNo1;:task/default/c7a6b9b237934e9999f319ea3ccc9da4", |
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
extension Array { | |
func inserted(_ element: Element, at index: Int) -> Array<Element> { | |
return updated({$0.insert(element, at: index)}) | |
} | |
func appended(_ element: Element) -> Array<Element> { | |
return updated({$0.append(element)}) | |
} | |
func appended(contentsOf elements: Array<Element>) -> Array<Element> { |
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
public protocol Notifier { | |
associatedtype Event | |
init() | |
func send(_ : Event) -> Void | |
func map<ChildNotifier, ChildEvent>(_ : (Event) -> (ChildEvent)) -> ChildNotifier where ChildNotifier : Notifier, ChildNotifier.Event == ChildEvent | |
} |
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
[!] The Podfile contains framework or static library targets (App-Metrics), for which the Podfile does not contain host targets (targets which embed the framework). | |
If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target). | |
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Metrics` to `Target Support Files/Pods-App-Metrics/Pods-App-Metrics.debug.xcconfig` or include the `Target Support Files/Pods-App-Metrics/Pods-App-Metrics.debug.xcconfig` in your build configuration (`Metrics/Sources/ios.xcconfig`). | |
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base |
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
#!/bin/sh | |
set -e | |
if [ "$(elm --version)" != "0.19.1" ]; then | |
echo "Globally installed elm 0.19.1 is required" | |
exit 1 | |
fi | |
export packages=~/.elm/0.19.1/packages |
NewerOlder