Peter Naur's classic 1985 essay "Programming as Theory Building" argues that a program is not its source code. A program is a shared mental construct (he uses the word theory) that lives in the minds of the people who work on it. If you lose the people, you lose the program. The code is merely a written representation of the program, and it's lossy, so you can't reconstruct
sysctl -w fs.file-max=12000500
sysctl -w fs.nr_open=20000500
# Set the maximum number of open file descriptors
ulimit -n 20000000
# Set the memory size for TCP with minimum, default and maximum thresholds
sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000'
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
| """ | |
| HR: https://www.hackerrank.com/contests/projecteuler/challenges/euler003/problem | |
| PE: https://projecteuler.net/problem=3 | |
| Discussion: https://www.hackerrank.com/contests/projecteuler/challenges/euler003/forum/comments/1195942 | |
| Some hints: | |
| * Search backwards from what you think the largest prime factor might be. | |
| * Start with the base case: | |
| * If `n` is even, then you know the largest prime factor will be `<= n/2`. |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>A simple clock</title> | |
| </head> | |
| <body translate="no" > |
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
| Version 2009-08-22 | |
| =========================== | |
| FREE USB-IDs FOR SHARED USE | |
| =========================== | |
| Objective Development has reserved a set of USB Product-IDs for use according | |
| to the guidelines outlined below. For more information about the concept of | |
| USB IDs please see the file USB-ID-FAQ.txt. Objective Development guarantees | |
| that the IDs listed below are not used by any USB compliant devices. |
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
| Debian GNU/Linux buster/sid linaro-alip ttyMSM0 | |
| linaro-alip login: root (automatic login) | |
| [ 31.614180] msm 900000.mdss: loaded qcom/a530_pm4.fw from legacy location | |
| [ 31.614511] msm 900000.mdss: loaded qcom/a530_pfp.fw from legacy location | |
| [ 31.614919] msm 900000.mdss: loaded qcom/a530v3_gpmu.fw2 from legacy location | |
| [ 31.615665] msm 900000.mdss: loaded qcom/a530_zap.mdt from legacy location | |
| Linux linaro-alip 4.14.0-qcomlt-arm64 #1 SMP PREEMPT Thu Apr 12 15:54:10 UTC 2018 aarch64 |