Elasticsearch’s build system is an important part of the project which facilitates stable testing and distribution. While unseen by normal users it is at the foundation of any successful software. Late last year Elasticsearch switched to use Gradle. This talk will explore the history and motivations behind the switch as well as what continued improvements to the robustness of Elasticsearch have been made possible.
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
Polynomial Time Taking Algorithms | |
- Linear Search O(n) | |
- Binary Search O(logn) | |
- Matrix Mul O(n^x) | |
- Insertion Sort O(n^2) | |
- Merge Sort nlogn | |
Exponential Time Taking Algorithms {*=rough range } |
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
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader | |
== Shell |
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 boto | |
from boto.s3.connection import S3Connection | |
s3 = boto.connect_s3() | |
mybucket = s3.get_bucket("YOUR_BUCKET_NAME") | |
print mybucket | |
page_id = "/PAGE_NAME_OR_ID" | |
key_name = "prefix_or_subfolder"+ page_id | |
uploaded_file = mybucket.get_key(key_name) | |
uploaded_file.get_contents_to_filename('downloaded-file.html') |