Skip to content

Instantly share code, notes, and snippets.

Functional Programming Principles in Scala
https://www.coursera.org/learn/progfun1?recoOrder=7&utm_medium=email&utm_source=recommendations&utm_campaign=recommendationsEmail~recs_email_2016_08_07_17%3A57
Data Structures and Performance
https://www.coursera.org/learn/data-structures-optimizing-performance
Cloud Computing Concepts, Part 1
https://www.coursera.org/learn/cloud-computing
Learn to Program: Crafting Quality Code
@peanutpi
peanutpi / learning.md
Created August 15, 2016 16:47
Learning

Academic Learning

Develop logical reasoning and knowledge of discrete math

@peanutpi
peanutpi / nginx_tuning.md
Last active April 26, 2017 18:36
Nginx Tuning

General Tuning

Worker Processes and Worker Connections

nginx uses a fixed number of workers, each of which handles incoming requests. The general rule of thumb is that you should have one worker for each CPU-core your server contains.

You can count the CPUs available to your system by running:

$ grep ^processor /proc/cpuinfo | wc -l
@peanutpi
peanutpi / dns.md
Last active May 8, 2017 15:01
DNS Understanding

DNS Management

Domain Registrars

  • domain registrar is normally the place where you purchased/obtained your domain
  • Your registrar could be a business that only does domain registration or even your web host itself.
  • whenever a request for a domain is made, the registrar is the first place that gets referenced for information.

Nameservers

  • they identify what set of servers any requests should reference in order to obtain a domain’s DNS records.
  • Your domain should have it’s nameservers pointed to wherever you are intending to manage your site’s DNS records.
package com.peanutlabs.cron;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import org.springframework.scheduling.support.CronSequenceGenerator;
public class SpringCronTester {