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
/*! | |
* OS.js - JavaScript Cloud/Web Desktop Platform | |
* | |
* Copyright (c) 2011-2015, Anders Evenrud <[email protected]> | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright notice, this |
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
(function(Application, GUI, Dialogs, Utils, API, VFS) { | |
'use strict'; | |
///////////////////////////////////////////////////////////////////////////// | |
// APPLICATION | |
///////////////////////////////////////////////////////////////////////////// | |
function ApplicationFooBar(args, metadata) { | |
Application.apply(this, ['ApplicationFooBar', args, metadata, { | |
src: 'data/index.html', |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<!-- YOUR MARKUP HERE --> | |
<div> | |
<button id="Test">Test</button> | |
</div> |
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 | |
# tested with OpenSSL 1.0.1e-fips on Centos 6 | |
# Note hardcoded Keycloak URL and credentials. | |
# Keycloak public key is in ATS-ci.key.pem with -----BEGIN PUBLIC KEY----- (etc) | |
assert() { if [[ $1 != $2 ]]; then echo "assert" $3; exit; fi } | |
url=http://192.168.10.221:8088/auth/realms/ATS-ci/protocol/openid-connect/token | |
resp=$(curl -X POST $url \ |
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 | |
PID_FILE=/var/run/mailcatcher.pid | |
NAME=mailcatcher | |
PROG="/usr/bin/env mailcatcher" | |
USER=mailcatcher | |
GROUP=mailcatcher | |
start() { | |
echo -n "Starting MailCatcher" |