CouchDB is a NoSQL database for storing JSON documents. It comes with a REST API out of the box so your client applications can persist data while requiring you to write little or no server-side code. CouchDB's killer feature is its ability to easily replicate, which allows for horizontal scaling, easy backup, and for client adapters to synchronize documents. This is perfect if you want to write an application that is offline-first. It's become my go-to database when creating new
| public static List<Status> findReplies() { | |
| Query query = new Query("iluzcit"); | |
| List<Status> tweets = new ArrayList<Status>(); | |
| Twitter twitter = new TwitterFactory().getInstance(); | |
| try { | |
| QueryResult result; | |
| do { | |
| result = twitter.search(query); |
| import java.util.Arrays; | |
| import java.util.Scanner; | |
| class QuickSort { | |
| private static Scanner sc; | |
| public static void main(String args[]) { | |
| sc = new Scanner(System.in); | |
| System.out.println("Enter no of terms"); |
| function Stats(arr) { | |
| var self = this; | |
| var theArray = arr || []; | |
| //http://en.wikipedia.org/wiki/Mean#Arithmetic_mean_.28AM.29 | |
| self.getArithmeticMean = function() { | |
| var sum = 0, length = theArray.length; | |
| for(var i=0;i<length;i++) { | |
| sum += theArray[i]; | |
| } |
| <?php | |
| /* | |
| * Author: David T. Sadler (http://davidtsadler.com) | |
| * Date: 2013-03-29 | |
| * License: I release this example into the public domain. Use at your own risk. | |
| * | |
| * Example showing how to list an item to the eBay Sandbox using the eBay Accelerator Toolkit New Schema (EbatNS) for PHP. | |
| * | |
| * This example uses version 815 released on the 2013-03-22. | |
| * http://www.intradesys.de/en/system/files/its_downloads/EbatNs_1_0_815_P5_0.zip |
All credits go to by Bryan Roessler for his original post that I followed on how to setup LetsEncrypt wildcard certificate auto-renewal with Namecheap. I highly recommend you read his tutorial first and if you bump into issues, check out this gist next.
Unfortunately the original article is not up-to-date and doesn't have the option to leave comments so I can't communicate with the author for updates so I decided to write the updates in a Gist. I highlighted the sections that required an updated with
Correction #:. I managed to get the correct setup with the help of the amazing guys at LetsEncrypt community. Here's the help thread.
- Download acme-dns from https://github.com/joohoi/acme-dns/releases
- Move the binary somewhere sensible since we will be using
This guide is kept up-to-date as Discord and available resources change!
A basic server template is available here
Hello! I'm jagrosh#4824! I'm writing this guide to try to help new server owners set up and grow their servers, which is a commonly-requested topic. It's very easy to go about this the wrong way, so it's best to be prepared and make smart decisions so that your community can flourish!
