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
{ | |
"manifest_version": 1, | |
"type": "WebApp", | |
"meta": { | |
"name": "Demo_App", | |
"version": "1.0.0", | |
"author": "Developer_Name", | |
"icon": "IconMouseOver.png", | |
"icon_gray": "IconMouseNormal.png", | |
"description": "Demo App" |
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
{ | |
"title": "my first schema test for overwolf apps manifest", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"id": "http://overwolf.com/schemas/myschema.json", | |
"required": [ | |
"manifest_version", | |
"type", | |
"meta", | |
"data" |
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
Config config = new Config(); | |
config.useSingleServer() | |
.setAddress("rediss://redis-10928.c10.us-east-1-3.ec2.cloud.redislabs.com:10928") | |
.setSslKeystore(URI.create("file:/C:/Devel/projects/redisson/JedisSSL.p12")) | |
.setSslKeystorePassword("test1234") | |
.setSslTruststore(URI.create("file:/C:/Devel/projects/redisson/keystore.jks")) | |
.setSslTruststorePassword("test1234"); | |
RedissonClient redisson = Redisson.create(config); | |
RBucket<String> bucket = redisson.getBucket("foo"); |
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
using StackExchange.Redis; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace HelloRedis | |
{ | |
//For better modulation of Redis it is recommended to store ConnectionMultiplexer as a static singleton in your application. |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using StackExchange.Redis; | |
using System.Diagnostics; | |
namespace HelloRedis | |
{ |
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 RedisPubSubMulti; | |
import java.util.concurrent.TimeUnit; | |
import redis.clients.jedis.Jedis; | |
public class Publisher extends Thread{ | |
private Thread t; | |
private String h; |