Change User To Run Plex On Ubuntu
Paid
Members
Public
1. Update etc config /etc/default/plexmediaserver # default script for Plex Media Server # the number of plugins that can run at the same time export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 # ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE export PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000 # where the
Back Online
Paid
Members
Public
This web site has been down for more than a year and I have not been putting any time to maintain it and put it back online. These days I finally spent some time to make it happen. There is a new theme, new backbone using Ghost and I am
SSH into Your CircleCI Server
Paid
Members
Public
1. Generate a set of SSH key pair in your serverYou would need a public and private of SSH key, theoretically it can be generated in any computer as you like. The following is a sample to generate the key. ssh-keygen -t rsa -b 4096 -C "nicholas@example.com"2.
0/1 Knapsack Problem Dynamic Programming
Paid
Members
Public
Given a set of items, each with a weight and a value, determine the number of each item to include in a collection so that the total weight is less than or equal to a given limit and the total value is as large as possible. Drawing graphint[] plot(int[
Dynamic Programming
Paid
Members
Public
Come up with a recursive functionMemorize the intermediate resultsMake it bottom up
Palindrome
Paid
Members
Public
Definition of Palindromeleft-to-right, and right-to-left, and it’s the same. For examples: Abba A man, a plan, a canal - Panama!SolutionYou need 2 pointers, one at the beginning, another one in the end. Move them one by one towards the center and check if it's palindrome. boolean check(String
SSL/TLS Cipher Suite
Paid
Members
Public
A cipher suite specifies one algorithm for each of the following tasks: Key exchangeBulk encryptionMessage authenticationSo you may see something like: PSK-AES-SHA256 Key exchange algorithmsKey exchange algorithms protect information required to create shared keys. These algorithms are asymmetric (public key algorithms) and perform well for relatively small amounts of data.
Difference Between SSL and TLS
Paid
Members
Public
SSL is the predecessor to TLS SSL 1.0 was never released to publicSSLv2 in 1995, deprecated in 2011 (link)SSL v3 in 1996, deprecated in 2015 (link)TLS 1.1 in 1999TLS 1.2 in 2008TLS 1.3 currently in draft (link)Referenceshttps://www.globalsign.com/en/blog/ssl-vs-tls-difference/