This file contains hidden or 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
global | |
maxconn 10000 # Total Max Connections. This is dependent on ulimit | |
nbproc 2 | |
defaults | |
mode http | |
option redispatch | |
maxconn 2000 | |
contimeout 5000 | |
clitimeout 50000 |
This file contains hidden or 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
package mypackage; | |
import java.net.URL; | |
import java.security.ProtectionDomain | |
import org.mortbay.jetty.Connector; | |
import org.mortbay.jetty.Server; | |
import org.mortbay.jetty.nio.SelectChannelConnector; | |
import org.mortbay.jetty.webapp.WebAppContext; |
This file contains hidden or 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
issuer: | |
uri: http://localhost:8080/uaa | |
login: | |
url: http://localhost:8080/uaa | |
# SAML Key Configuration | |
# # The location and credentials of the certificate for this SP | |
# # See README.md for details on how to create this. | |
serviceProviderKey: | | |
-----BEGIN RSA PRIVATE KEY----- | |
MIICXQIBAAKBgQDHtC5gUXxBKpEqZTLkNvFwNGnNIkggNOwOQVNbpO0WVHIivig5 |
This file contains hidden or 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
UAA_CONFIG_URL=file:///uaa.yml ./gradlew -Dspring.profiles.active=default,mysql run --info |
This file contains hidden or 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 | |
# Since there is no simple drop all tables from a database command in DB2, | |
# this script uses a few unix utilities to accomplish the same result | |
# Note that it assumes that your session is already connected to the database | |
# and that the schema from which you want to drop the tables has the same name | |
# as your current user. | |
db2 "Select 'DROP TABLE', TABLE_NAME from sysibm.tables WHERE TABLE_SCHEMA = UPPER('$USER')" | grep DROP | db2 |
This file contains hidden or 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
# first, login with psql | |
psql -U USERNAME -d databasename | |
# set output for all queries | |
\o FILENAME.sql | |
# run this query | |
select 'drop table ' || tablename || ' cascade;' from pg_tables; | |
# logout from psql |
This file contains hidden or 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 React from 'react'; | |
import asyncPoll from 'react-async-poll'; | |
import * as actions from '../../actions/user'; | |
class KeepCloudAlive extends React.Component { | |
render() { | |
return( | |
<div></div> | |
) |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"io" | |
"net/http" | |
"os" | |
) | |
func init() { |
This file contains hidden or 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
2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api [-] Error calling get_filesystem_stats | |
2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api Traceback (most recent call last): | |
2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api File "/usr/lib/python2.7/site-packages/trove/guestagent/api.py", line 63, in _call | |
2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api result = cctxt.call(self.context, method_name, **kwargs) | |
2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 158, in call | |
2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api retry=self.retry) | |
2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send | |
2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api timeout=timeout, retry=retry) | |
2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api File "/usr/lib/python2.7/site-packages/oslo_messaging/ |
This file contains hidden or 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: 'Afghanistan', code: 'AF'}, | |
{name: 'Åland Islands', code: 'AX'}, | |
{name: 'Albania', code: 'AL'}, | |
{name: 'Algeria', code: 'DZ'}, | |
{name: 'American Samoa', code: 'AS'}, | |
{name: 'AndorrA', code: 'AD'}, | |
{name: 'Angola', code: 'AO'}, | |
{name: 'Anguilla', code: 'AI'}, | |
{name: 'Antarctica', code: 'AQ'}, |
NewerOlder