Problem 1: Nothing but the Truth [Elementary]
trueProblem 2: Simple Math [Elementary]
4| #!/bin/bash | |
| # Run cputhrottle for a list of applications in order to limit their CPU usage. | |
| # This script needs `pidof` and `cputhrottle` installed, which can be installed from homebrew. | |
| # NOTE: This script was tested on MacOS only. | |
| if [[ $EUID > 0 ]]; then | |
| echo "Please run this script as root/sudo" | |
| exit 1 | |
| fi |
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
| git clone https://github.com/juj/emsdk.git | |
| cd emsdk | |
| rd /s /q clang | |
| rd /s /q emscripten | |
| rd /s /q java | |
| rd /s /q node | |
| rd /s /q python | |
| rd /s /q zips | |
| git reset --hard HEAD | |
| git checkout master |
Suppose you have weird taste and you absolutely want:
Your first reflex is probably to put those lines somewhere in your vimrc:
A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.
| #!/bin/bash | |
| # | |
| # I wrapped the code constructed in | |
| # | |
| # http://hacks-galore.org/aleix/blog/archives/2013/01/08/install-emacs-packages-from-command-line | |
| # | |
| # in a single bash script, so I would a single code snippet. | |
| # | |
| # Package to be installed |
Now that Pebble servers are gone, some old components in the SDK need to be patched or replaced so they can fetch what they need from Rebble.
This script downloads and installes everything needed to build projects and also run the emulator.
Was tested on Ubuntu 18.04.2 on WSL.
The objective of these instructions is to build a stock 64bit Linux Kernel for use on the Raspberry Pi 4B on a Debian x64 machine (Windows Subsystem for Linux in my case), and deploy on the Raspberry Pi.
Notes:
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/arm64 5.10.112 Kernel Configuration | |
| # | |
| CONFIG_CC_VERSION_TEXT="real-aarch64-linux-android-gcc (GCC) 4.9.x 20150123 (prerelease)" | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=40900 | |
| CONFIG_LD_VERSION=227000000 | |
| CONFIG_CLANG_VERSION=0 | |
| CONFIG_LLD_VERSION=0 |