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
# All credit: http://stackoverflow.com/questions/4006324/how-to-atomically-delete-keys-matching-a-pattern-with-redis | |
redis-cli [options] KEYS "prefix:*" | xargs redis-cli [options] DEL |
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
var express = require('express') | |
var app = express() | |
var cors = require('cors') | |
// start http server | |
var server = app.listen(process.env.VCAP_APP_PORT, function () { | |
var host = server.address().address | |
var port = server.address().port |
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
I, [2015-09-15T13:43:32.832986 #2184] INFO -- : Started PUT "/v2/service_instances/98b708fa-957a-49ed-bff3-c58c7c463cee?accepts_incomplete=true" for 10.0.2.15 at 2015-09-15 13:43:32 +0000 | |
I, [2015-09-15T13:43:32.834906 #2184] INFO -- : Processing by V2::ServiceInstancesController#update as JSON | |
I, [2015-09-15T13:43:32.835009 #2184] INFO -- : Parameters: {"service_id"=>"e72113ed-fde7-45fd-8758-aff41e6c5507", "plan_id"=>"5218782d-7fab-4534-92b8-434204d88c7b", "organization_guid"=>"6c3b720c-24b3-484b-9714-968243dabea5", "space_guid"=>"8ffcb1a1-fbdd-4dc9-b160-fb90c15866ed", "accepts_incomplete"=>"true", "id"=>"98b708fa-957a-49ed-bff3-c58c7c463cee"} | |
I, [2015-09-15T13:43:32.846327 #2184] INFO -- : Request: {"headers":{"REMOTE_ADDR":"10.0.2.15","REQUEST_METHOD":"PUT","REQUEST_PATH":"/v2/service_instances/98b708fa-957a-49ed-bff3-c58c7c463cee","PATH_INFO":"/v2/service_instances/98b708fa-957a-49ed-bff3-c58c7c463cee","QUERY_STRING":"accepts_incomplete=true","REQUEST_URI":"/v2/service_instances/98b708fa-957a-49ed |
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 -x | |
## REST API JIRA KEY check | |
#List of projects that do not require strict JIRA KEY commits | |
#list in space and case-insensitive | |
#NON_STRICT="" | |
# Authentication credentials | |
username=kayode |
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
[www] | |
ping.path = /ping |
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
<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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.yookos.utils</groupId> | |
<artifactId>yookos-utils</artifactId> | |
<packaging>jar</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>yookos-utils</name> | |
<url>http://maven.apache.org</url> | |
<properties> |
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
<?xml version="1.0"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.google.code</groupId> | |
<artifactId>google-closure-templates</artifactId> | |
<version>20120815</version> |
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
<bean id="welcomeGroupsAndPagesTip" class="com.jivesoftware.community.tips.impl.DefaultTip" scope="prototype"> | |
<property name="selector" value="#navCreate"/> | |
<property name="templateName" value="jive.tips.invitation.welcomeGroupsAndPagesReco"/> | |
</bean> | |
<bean id="placeRecoWelcomeTip" class="com.jivesoftware.community.util.spring.MergeableCollection" scope="prototype" parent="welcomeTips"> | |
<property name="source"> | |
<util:list value-type="com.jivesoftware.community.tips.Tip" scope="prototype"> |
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
<div id="js-join-tip" class="j-pop js-pop popover j-qtip js-onboarding-tip" style="position: fixed; top: 25px; right: 105px; visibility: visible; z-index: 100;" data-location="places" data-fromq="-1790695889"> | |
<div class="j-tips d-places-tip j-pop-main"> | |
<div id="jive-tips-partnerActionLeftNavTip" data-group-id="partnerTipGroup" style="display: block;" class="j-tips j-pop-main"><span class="j-508-label a11y-boundary">Menu begins</span><h4 class="font-face-deco">Join other contributors</h4><p>Other contributors are waiting for you. Accept group invitations and connection requests to start participating now.</p><!-- BEGIN tip footer --><div class="j-tips-footer"><div class="j-tips-footer-overlay"></div><ul class="j-tips-actions"><li><a href="#" class="js-ignore-tips close" title="Show this tip the next time you view this page">Skip for now</a></li><li><a href="#" class="js-close-tips close" title="Hide these tips now and don't show them again">Don't show again</a></li></ul></div><!-- END tip footer --><span |
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
CREATE TABLE jivevideoviewhistory | |
( | |
objectid integer NOT NULL, | |
objecttype integer NOT NULL, | |
dateviewed bigint NOT NULL, | |
viewcount bigint DEFAULT 0, | |
userid bigint, | |
expirydate bigint NOT NULL, | |
CONSTRAINT jivevideoviewhistory_pkey PRIMARY KEY (objectid, objecttype) | |
) |