These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
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
add forwarding interface: | |
netsh interface portproxy add v4tov4 listenport={srcPort} listenaddress={srcIp} connectport={DesPort} connectaddress={DesIp} | |
show interface: | |
netsh interface portproxy show v4tov4 | |
delete interface: | |
netsh interface portproxy delete v4tov4 listenport={srcPort} listenaddress={srcIp} | |
----------------------------- |
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
# You can put these in your .bashrc (or .profile or other shell setup) to setup direnv, pyenv, nvm. | |
# pyenv setup hook (install it first) | |
export PYENV_ROOT="$HOME/.pyenv" | |
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" | |
eval "$(pyenv init -)" | |
eval "$(pyenv virtualenv-init -)" | |
# nvm setup hook (install it first) | |
export NVM_DIR="$HOME/.nvm" |
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
-- The below query is used to fetch all the role names from the 'pg_roles' system catalog table. | |
-- It will return a list of all user (role) names in the current PostgreSQL database. | |
SELECT rolname FROM pg_roles; | |
-- This command is used to create a new PostgreSQL user with the specified username and password. | |
-- In this case, the newly created username is 'username' and the password is 'P@55w0rd'. | |
CREATE USER username WITH PASSWORD 'P@55w0rd'; | |
-- This command grants all privileges to the user 'username' on the database 'dbname'. | |
-- These privileges include SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER, CREATE, CONNECT, TEMPORARY, EXECUTE, and USAGE |
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
.
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
// | |
// main.swift | |
// scroll_to_plusminus | |
// | |
// Created by uniqueidentifier on 2021-01-08. | |
// Modified by alex on 2022-07-08 to use modifiers for scrolling | |
// Modified by BalazsGyarmati on 2023-01-04 to use command instead of control + respect any keyboard layout for + and - | |
// | |
import Foundation |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>Activate</key> | |
<string>Normal</string> | |
<key>CreationDate</key> | |
<real>658773622.62719798</real> | |
<key>Macros</key> |
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
# dumps must be in ./xhprof folder, named like uniqid() . 'appname.xhprof'; | |
# use tideways_xhprof extension to generate them https://github.com/tideways/php-xhprof-extension | |
docker run --rm -p 81:8080 -v $(pwd)/xhprof:/mnt/files/private/xhprof -d --name xhprof wodby/xhprof |
- right-click on the playing video, select Copy link
- find Wistia video ID in the copied link e.g.
wvideo=tra6gsm6rl
- alternative: look for e.g.
hashedId=tra6gsm6rl
in the page source
- alternative: look for e.g.
- load
http://fast.wistia.net/embed/iframe/
+ video ID in your browser - look for
"type":"original"
in the page source and copy the URL from the next line e.g."url":"http://embed.wistia.com/deliveries/129720d1762175bcd8e06dcab926ec76ad38ff00.bin"
- alternative: look for
"type":"hd_mp4_video"
NewerOlder