*** SECURITY WARNING *** Contextual escaping is not yet implemented in Angular 2. This will be fixed in the upcoming RC. In the meantime make sure to correctly escape all values that go into the DOM. *** SECURITY WARNING ***
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/bash | |
## DESCRIPTION: | |
## AUTHOR: $USER_FULLNAME | |
declare -r SCRIPT_NAME=$(basename "$BASH_SOURCE" .sh) | |
## exit the shell(default status code: 1) after printing the message to stderr | |
bail() { |
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
FROM openjdk:8 | |
MAINTAINER mickael.baye@gmail.com | |
# MuleSoft EE installation: | |
# This line can reference either a web url (ADD), network share or local file (COPY) | |
ADD https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/distributions/mule-standalone/4.1.1/mule-standalone-4.1.1.tar.gz /opt/ |
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
<html> | |
<head> | |
<script src="https://s3.amazonaws.com/stitch-sdks/js/bundles/4/stitch.js"></script> | |
<script> | |
// Initialize the App Client | |
const client = stitch.Stitch.initializeDefaultAppClient("<APP-ID>"); | |
// Get a MongoDB Service Client | |
const mongodb = client.getServiceClient( | |
stitch.RemoteMongoClient.factory, | |
"mongodb-atlas" |
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
<html> | |
<head> | |
<!-- Load TensorFlow.js --> | |
<!-- Get latest version at https://github.com/tensorflow/tfjs --> | |
<!-- From https://dzone.com/articles/getting-started-with-tensorflowjs --> | |
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@0.11.2"></script> | |
</head> | |
<body> | |
<div id="output_field"></div> | |
</body> |
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
chrome.app.runtime.onLaunched.addListener(function() { | |
chrome.app.window.create('index.html', { | |
'bounds': { | |
'width': 400, | |
'height': 500 | |
} | |
}); | |
}); |
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
{ | |
"name": "Name", | |
"description": "Description", | |
"version": "0.1", | |
"app": { | |
"background": { | |
"scripts": ["background.js"] | |
} | |
} | |
} |
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 MIT License (MIT) | |
Copyright (c) <year> <copyright holders> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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 java.io.IOException; | |
import java.util.logging.Logger; | |
import java.util.logging.FileHandler; | |
import java.util.logging.Level; | |
import java.util.logging.SimpleFormatter; | |
public class Foo { | |
private static Logger logger ; |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.example.application</groupId> | |
<artifactId>application</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>application</name> |