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
let AWS = require('aws-sdk'); | |
let connectionManager = require('./ConnectionManager'); | |
let SL = require('@slappforge/slappforge-sdk'); | |
const rds = new SL.AWS.RDS(connectionManager); | |
exports.handler = function (event, context, callback) { | |
let successfullyLoggedIn = false; | |
let inserts = [event.email, event.password]; | |
// Replace the query with the actual query | |
// You can pass the existing connection to this function. |
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 <pthread.h> | |
#include <stdio.h> | |
/* this function is run by the second thread */ | |
void *inc_x(void *x_void_ptr) | |
{ | |
/* increment x to 100 */ | |
int *x_ptr = (int *)x_void_ptr; | |
while(++(*x_ptr) < 100); |
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/lib/jvm/jdk1.8.0_91/bin/java -Didea.launcher.port=7535 -Didea.launcher.bin.path=/home/rnavagamuwa/Documents/stuff/DevelopmentTools/idea-IU-162.1121.32/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/jdk1.8.0_91/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/deploy.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/dnsns.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/jaccess.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/localedata.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/nashorn.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/sunec.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ext/zipfs.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/javaws.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/jce.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/jfr.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/jfxswt.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.8.0_91/jre/lib/ |
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
git clone https://github.com/rnavagamuwa/che.git && \ | |
cd che && \ | |
mvn clean install && \ | |
.assembly/assembly-main/target/eclipse-che-4.7.0-SNAPSHOT/eclipse-che-4.7.0-SNAPSHOT/bin/che.sh -r:ip |
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
Exception sending context initialized event to listener instance of class org.eclipse.che.inject.CheBootstrap | |
com.google.inject.CreationException: Unable to create injector, see the following errors: | |
1) Invocation error of method public void org.eclipse.jdt.internal.ui.JavaPlugin.start() on org.eclipse.jdt.internal.ui.JavaPlugin@333e9211 | |
at org.eclipse.che.plugin.java.server.inject.JdtGuiceModule.configure(JdtGuiceModule.java:51) | |
while locating org.eclipse.jdt.internal.ui.JavaPlugin | |
1 error | |
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470) ~[guice-4.1.0.jar:na] | |
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:184) ~[guice-4.1.0.jar:na] |
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
Index: node.server/rabbit-connector.js | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- node.server/rabbit-connector.js | |
+++ node.server/rabbit-connector.js | |
@@ -344,6 +344,8 @@ | |
this.configureBroadcast('liveResourceChanged'); | |
this.configureBroadcast('liveMetadataChanged'); |
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
Index: node.server/messages-core.js | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- node.server/messages-core.js | |
+++ node.server/messages-core.js | |
@@ -62,6 +62,8 @@ | |
this.configureBroadcast(socket, 'liveResourceChanged'); | |
this.configureBroadcast(socket, 'liveMetadataChanged'); |
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
Index: node.server/rabbit-connector.js | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- node.server/rabbit-connector.js (revision addaeef5d0a13793514f4e1d39fa1b84ffd13e63) | |
+++ node.server/rabbit-connector.js (revision ) | |
@@ -344,6 +344,8 @@ | |
this.configureBroadcast('liveResourceChanged'); | |
this.configureBroadcast('liveMetadataChanged'); |
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
# This is a comment | |
FROM codenvy/ubuntu_jdk8 | |
MAINTAINER Randika Navagamuwa <randika.12@cse.mrt.ac.lk> | |
RUN sudo apt-get update \ | |
&& sudo apt-get install -y wget \ | |
&& sudo apt-get install -y libgtk2.0-0 libxtst6 \ | |
&& sudo apt-get clean \ | |
&& sudo rm -rf /var/lib/apt/lists/* |
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 code server is ready at http://127.0.0.1:9876/ | |
Code server started in 62193 ms | |
waited 60107 ms for code server to finish | |
Dev Mode initialized | |
GET /recompile/_app | |
Job org.eclipse.che.ide.IDE_1_0 | |
starting job: org.eclipse.che.ide.IDE_1_0 | |
binding: locale=default | |
binding: mobile.user.agent=not_mobile | |
binding: user.agent=safari |