Two possibilities well known: https://github.com/ohmybash/oh-my-bash and https://github.com/nojhan/liquidprompt
- clone the repo
cd ~
git clone https://github.com/nojhan/liquidprompt.git ~/liquidprompt
Two possibilities well known: https://github.com/ohmybash/oh-my-bash and https://github.com/nojhan/liquidprompt
cd ~
git clone https://github.com/nojhan/liquidprompt.git ~/liquidprompt
Linux high IOwait is a common Linux performance issue. Today we will look at what iowait means and what contributes to this problem. Hope this can give you more ideas about high IOwait issue.
IO wait is related to the CPU resource on the server.
The iowait column on top command output shows the percentage of time that the processor was waiting for I/O to complete. It indicates that the system is waiting on disk or network IO. Because the system is waiting on those resources, it can not fully utilize the CPU.
Error
The authenticity of host 'github.com (140.82.113.4)' can't be established.
Fix
ssh-keyscan github.com >> ~/.ssh/known_hosts
// See the polkit(8) man page for more information | |
// about configuring polkit. | |
// SAVE IT ON: /etc/polkit-1/rules.d/ | |
// replace the ntfs-3g package: ntfs-3g-fuse | |
// Allow udisks2 to mount devices without authentication | |
// for users in the "wheel" group. | |
polkit.addRule(function(action, subject) { | |
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" || | |
action.id == "org.freedesktop.udisks2.filesystem-mount") && |
/// RepeatingTimer mimics the API of DispatchSourceTimer but in a way that prevents | |
/// crashes that occur from calling resume multiple times on a timer that is | |
/// already resumed (noted by https://github.com/SiftScience/sift-ios/issues/52 | |
class RepeatingTimer { | |
let timeInterval: TimeInterval | |
init(timeInterval: TimeInterval) { | |
self.timeInterval = timeInterval | |
} |
import org.mockito.Mock; | |
import static org.mockito.Mockito.when; | |
@Mock | |
private Context mockApplicationContext; | |
@Mock | |
private Resources mockContextResources; | |
@Mock | |
private SharedPreferences mockSharedPreferences; |
--- | |
# Notes: | |
# Sample project C code is not presently written to produce a release artifact. | |
# As such, release build options are disabled. | |
# This sample, therefore, only demonstrates running a collection of unit tests. | |
:project: | |
:use_exceptions: FALSE | |
:use_test_preprocessor: TRUE |