org.elasticsearch.index.settings.IndexDynamicSettingsModule
org.elasticsearch.cluster.settings.ClusterDynamicSettingsModule
org.elasticsearch.node.settings.NodeSettingsService.Listener
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
// ==UserScript== | |
// @name Hide Toggl announcement bar | |
// @namespace https://ofavre.dev/ | |
// @version 1.0.0 | |
// @description Hides the annoying Toggl announcement bar that wants you to upgrade to a paid plan. | |
// @author Olivier Favre (of.olivier.favre@gmail.com) | |
// @match https://toggl.com/app/* | |
// @grant none | |
// ==/UserScript== |
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
Processing wonderpush-android-demo/app/app-release.apk | |
Read in 14152 method IDs. | |
<root>: 14152 | |
<default>: 1 | |
a: 2288 | |
a: 2288 | |
a: 2288 | |
a: 2288 | |
a: 88 | |
b: 240 |
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
<!-- With tags put inside the switch --> | |
<div> | |
Follow: | |
<div class="wonderpush-tag-switch" style="display: inline-block;" data-tag-field="string_categories" data-tag-value="music" data-on="Music" data-off="Music"></div> | |
<div class="wonderpush-tag-switch" style="display: inline-block;" data-tag-field="string_categories" data-tag-value="sport" data-on="Sport" data-off="Sport"></div> | |
</div> | |
<!-- Or with tags put outside the switch --> | |
<div> | |
<div class="wonderpush-tag-switch" style="display: inline-block;" data-tag-field="string_categories" data-tag-value="music" data-sentence="Music"></div> | |
<div class="wonderpush-tag-switch" style="display: inline-block;" data-tag-field="string_categories" data-tag-value="sport" data-sentence="Sport"></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
#import <WonderPush/WonderPush.h> | |
// [...] | |
// Here is how you would use automatic AppDelegate forwarding (recommended): | |
// | |
//- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
// [WonderPush setClientId:@"YOUR_CLIENT_ID" secret:@"YOUR_CLIENT_SECRET"]; | |
// [WonderPush setupDelegateForApplication:application]; |
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
/* | |
* Push notification subscription switch | |
*/ | |
.hide { | |
/* Use whichever definition suits you most */ | |
display: none; | |
/*visibility: hidden*/ | |
} |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building elasticsearch-action-updatebyquery 2.5.2-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ elasticsearch-action-updatebyquery --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ elasticsearch-action-updatebyquery --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building elasticsearch-analysis-combo 1.5.2-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ elasticsearch-analysis-combo --- | |
[INFO] Deleting file set: /data/Yakaz/elasticsearch-analysis-combo/target (included: [**], excluded: []) | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ elasticsearch-analysis-combo --- |
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/sh | |
curl -XPOST 'localhost:9200/index' -d '{index:{number_of_shards:1,number_of_replicas:0}}' | |
curl -XPUT 'localhost:9200/index/parent/_mapping' -d '{parent:{properties:{}}}' | |
curl -XPUT 'localhost:9200/index/child/_mapping' -d '{child:{"_parent":{type:"parent"}}}' | |
curl -XPUT 'localhost:9200/index/parent/parent1' -d '{name:"super shay"}' |
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 | |
# Install ES 0.90.0.Beta1 | |
[ -f elasticsearch-0.90.0.Beta1.tar.gz ] || wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.0.Beta1.tar.gz -O elasticsearch-0.90.0.Beta1.tar.gz | |
mkdir es-combo-demo | |
tar xf elasticsearch-0.90.0.Beta1.tar.gz -C es-combo-demo | |
cd es-combo-demo/elasticsearch-0.90.0.Beta1 | |
# Configure it | |
cat >config/elasticsearch.yml <<EOF | |
cluster.name: elasticsearch-demo-combo |
NewerOlder