nash --env-file $(pwd)/foo.senv -- printenv
Normal env file support.
PORT=80
#include "uv.h" | |
#include <iostream> | |
#include <memory> | |
#include <mutex> | |
#include <optional> | |
#include <semaphore> | |
#include <thread> | |
#include <unistd.h> | |
#include <vector> |
struct sigaction { | |
union __sigaction_u __sigaction_u; /* signal handler */ | |
sigset_t sa_mask; /* signal mask to apply */ | |
int sa_flags; /* see signal options below */ | |
}; |
pub unsafe fn sigaction(signal: Signal, sigaction: &SigAction) -> Result<SigAction> |
process.on('SIGINT', () => console.log('I captures sigint')) | |
process.on('SIGTERM', () => console.log('I captures sigterm')) |
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/osx --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
/** | |
* curry | |
* | |
* var curried = curry(function(a, b, c) { | |
* console.log(a+b+c); | |
* }); | |
* | |
* | |
* curried(2)(2)(2); // => 6 | |
* curried(2,2)(2); // => 6 |