If you want resources offline to learn about programming and web technologies MDN is for you! and I recommend to use MDN over w3school because w3school is outdated.
Download it offline (2.1gb) at https://mdn-downloads.s3-us-west-2.amazonaws.com/developer.mozilla.org.tar.gz
This worked on 14/May/23. The instructions will probably require updating in the future.
llama is a text prediction model similar to GPT-2, and the version of GPT-3 that has not been fine tuned yet. It is also possible to run fine tuned versions (like alpaca or vicuna with this. I think. Those versions are more focused on answering questions)
Note: I have been told that this does not support multiple GPUs. It can only use a single GPU.
It is possible to run LLama 13B with a 6GB graphics card now! (e.g. a RTX 2060). Thanks to the amazing work involved in llama.cpp. The latest change is CUDA/cuBLAS which allows you pick an arbitrary number of the transformer layers to be run on the GPU. This is perfect for low VRAM.
- Clone llama.cpp from git, I am on commit
08737ef720f0510c7ec2aa84d7f70c691073c35d
.
// ==UserScript== | |
// @name Youtube adblock | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description enough with the ads! | |
// @author 4v3ngR | |
// @match https://*.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant none | |
// @run-at document-start |
#!/bin/bash/ | |
# usage : ./imagebam-dl.sh <URL> | |
for i in `curl -s "$1" |grep 'a href'| egrep -o "http.*" |grep /image/ | cut -d "'" -f1 | cut -d '"' -f1` ; do FOLDER=$(echo $1 | cut -d '/' -f 5) ; curl -s "$i" | grep 'img id' | grep -o "http.*" | cut -d '"' -f1 | xargs wget -nv -nc -P imagebam_"$FOLDER"/ ; done |
- Install the app "Sports DV" and change WiFi SSID and password
- Wifi and Cam settings are seperated and have different port numbers.
- Wifi-Settings (just login withoug username and password): http://192.168.25.1
- Cam LiveStream: http://192.168.25.1:8080/?action=stream
- Not sure how the configuration is made really... Would need a Man-In-The-Middle-Attack or send the initial ICMP package
#!/bin/bash | |
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7 | |
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n | |
# Install Oracle JDK 8 | |
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install -y oracle-java8-installer | |
apt-get install -y unzip make # NDK stuff |
#!/usr/bin/env bash | |
# idea: https://novall.net/itnews/bash-skript-dlya-skachivaniya-fajlov-s-mail-ru-cherez-konsol-linux.html | |
for link in "$@" ; | |
do URL="$link" | |
FILENAME=$(curl -A "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0" -s "$URL" | grep -E '"name":' | tac | head -1 | sed -e 's|.*"name":\ "||' -e 's|",.*||') | |
URLPART0=$(wget -U "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0" --quiet -O - "$URL" | grep -o '"weblink_get":\[[^]]\+\]' | sed 's/.*"url":"\([^"]\+\)".*/\1/') | |
URLPART1=$(echo "$URL" | awk -F '/public/' '{print $2}') |
#!/bin/bash | |
while read line ; | |
do newname=$(echo "$line" | cut -d '/' -f2 | sed 's|\ |_|g') ; | |
parentdir=$(echo "$line" | cut -d '/' -f2) ; | |
VIDEOTS=$(echo "$line" | cut -d '/' -f-3 | sed 's|\./||g') ; | |
echo "cat "$line/VTS_01_*.VOB" | ffmpeg -i - -vcodec libx264 -acodec libmp3lame -threads 12 $newname.mp4" ; | |
cat "$VIDEOTS"/VTS_01_*.VOB | ffmpeg -i - -vcodec libx264 -acodec libmp3lame -threads 12 "$newname.mp4" ; | |
done < <(find . -type d -name VIDEO_TS | grep -v "tape w SternWWOR 58 2of3 baked\|tape w SternZE 12 3of3\|tape w SternWWOR 48_49 1of3\|tape w SternWWOR 41_42 1of3\|tape w SternZE 02 1of3\|tape w SternWWOR 53_54 1of3 baked\|z_Remnants 1\|tape w SternWWOR 44 2of3 baked\|tape w SternWWOR 51_52 2of3\|z_Remnants 2\|tape w SternWWOR 55 3of3 baked\|tape w SternWWOR 59 1of2 baked") |