Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other.
API works through Endpoints, Endpoints are set of codes which runs back and forth in order accomplish a specific task.
| let po = new PerformanceObserver((list) => { | |
| for (const entry of list.getEntries()) { | |
| console.log(entry); | |
| } | |
| }); | |
| po.observe({type: 'layout-shift', buffered: true}); | |
| let po2 = new PerformanceObserver((list) => { | |
| for (const entry of list.getEntries()) { |
| #!/bin/bash | |
| while :; do | |
| verf=$(cat /dev/urandom | tr -dc '0-9' | fold -w 8 | head -n 1) | |
| pin=$(cat /dev/urandom | tr -dc '0-9' | fold -w 5 | head -n 1) | |
| ip=$(printf "%d.%d.%d.%d\n" "$((RANDOM % 256))" "$((RANDOM % 256))" "$((RANDOM % 256))" "$((RANDOM % 256))") | |
| <?php | |
| /** | |
| * Debug HTTP requests in WordPress | |
| * | |
| * Fires after an HTTP API response is received and before the response is returned. | |
| * | |
| * Output in `wp-content\debug.log` file: | |
| * | |
| * [24-Apr-2019 06:50:16 UTC] ------------------------------ | |
| * [24-Apr-2019 06:50:16 UTC] https://downloads.wordpress.org/plugin/elementor.2.5.14.zip |
| #!/bin/bash | |
| sudo apt install -y libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf libxcb-xrm0 libxcb-xrm-dev automake | |
| cd /tmp | |
| # clone the repository | |
| git clone https://www.github.com/Airblader/i3 i3-gaps | |
| cd i3-gaps | |
| # compile & install |
i3-gaps has some packages that are required for it to work so install these things:
sudo apt install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev libtool automake
You also need to install libxcb-xrm-dev, but I got Unable to locate package libxcb-xrm-dev when trying to install from the apt repositories on Ubuntu 16.04. If this happens to you, just install it from source using these commands:
mkdir tmp
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
| ### KERNEL TUNING ### | |
| # Increase size of file handles and inode cache | |
| fs.file-max = 2097152 | |
| # Do less swapping | |
| vm.swappiness = 10 | |
| vm.dirty_ratio = 60 | |
| vm.dirty_background_ratio = 2 |
| [Unit] | |
| Description=memcached daemon for %i | |
| After=network.target | |
| [Service] | |
| ExecStart=/usr/share/memcached/scripts/systemd-memcached-wrapper /etc/memcached_%i.conf | |
| [Install] | |
| WantedBy=multi-user.target |