- Install
node.js
andyarn
- Clone repo
git clone git@github.com:jellyfin/jellyfin-apiclient-javascript.git
- Install dependencies
yarn install
diff --git a/src/components/apphost.js b/src/components/apphost.js | |
index e67d79522..56763ee4a 100644 | |
--- a/src/components/apphost.js | |
+++ b/src/components/apphost.js | |
@@ -277,7 +277,7 @@ define(["appSettings", "browser", "events", "htmlMediaHelper"], function (appSet | |
features.push("displaymode"); | |
features.push("targetblank"); | |
// allows users to connect to more than one server | |
- //features.push("multiserver"); | |
+ features.push("multiserver"); |
node.js
and yarn
git clone git@github.com:jellyfin/jellyfin-apiclient-javascript.git
yarn install
I hereby claim:
To claim this, I am signing this object:
nvm_update() { | |
for NVM_UPDATE_VER in 0.10 0.12 4 5 | |
do | |
# Install the latest versions of node only if they are already installed | |
nvm which $NVM_UPDATE_VER &>/dev/null && nvm install $NVM_UPDATE_VER | |
done | |
# Switch back to the default version of node | |
echo "Switching to default version of node..." | |
nvm use default | |
} |
% helper predicates | |
square_to_subgrid(Row, Col, Subgrid) :- | |
floor((Row - 1)/3, RowBase), | |
floor((Col - 1)/3, ColBase), | |
Subgrid is 3 * RowBase + ColBase + 1. | |
one_to_nine(X) :- | |
member( X, [1, 2, 3, 4, 5, 6, 7, 8, 9] ). | |
next_square( Puzzle, Row, Col ) :- | |
one_to_nine(Row), | |
one_to_nine(Col), |
#!/bin/bash | |
for file; | |
do | |
echo -e "\033[0;32m>> $file\033[0m" | |
if [ -e $file ]; then | |
_ext=${file##*.} | |
if [[ "gif png jpg jpeg" =~ $_ext ]]; then | |
if [ $_ext == "jpg" ]; then _ext="jpeg"; fi | |
php -r "echo(\"data:image/$_ext;base64,\".base64_encode(file_get_contents(\"$file\")).\"\\n\");" | |
else |
javascript:(function(w){alert((w.jQuery&&w.jQuery.fn.jquery)||'none');})(window); |