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
import R, { assocPath, apply, compose, flip, reduce, reverse, zip } from 'ramda' | |
const assocPaths = (paths, values, obj) => { | |
const pathsValues = zip(paths, values) | |
const assocPathProxy = (obj, pathValue) => assocPath(pathValue[0], pathValue[1], obj) | |
return reduce(assocPathProxy, obj, pathsValues) | |
} | |
const assocPathsV2 = (paths, values, obj) => | |
reduce( |
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
--- pact_BAK 2015-06-23 11:07:20.000000000 +0200 | |
+++ pact 2016-11-14 17:17:08.459807000 +0100 | |
@@ -33,6 +33,7 @@ | |
echo "" | |
echo "Usage:" | |
echo " \"pact install <package names>\" to install given packages" | |
+ echo " \"pact installprev <package names>\" to install previous versions of given packages" | |
echo " \"pact remove <package names>\" to remove given packages" | |
echo " \"pact update <package names>\" to update given packages" | |
echo " \"pact show\" to show installed packages" |
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
... | |
:DownloadFile | |
rem parameters: TargetFileName Address | |
if NOT "x%HTTP_CLIENT%" == "x" ( | |
%HTTP_CLIENT% %1 %2 | |
goto EOF | |
) | |
REM call wget --help >nul 2>&1 | |
REM if NOT ERRORLEVEL 1 ( | |
REM call wget -O %1 %2 |