# Anchor
click_link 'Save'
# Button
click_button 'awesome'
# Both above
Discover gists
The PATH
is an important concept when working on the command line. It's a list
of directories that tell your operating system where to look for programs, so
that you can just write script
instead of /home/me/bin/script
or
C:\Users\Me\bin\script
. But different operating systems have different ways to
add a new directory to it:
- The first step depends which version of Windows you're using:
- If you're using Windows 8 or 10, press the Windows key, then search for and
from transformers import AutoModelForCausalLM, AutoTokenizer | |
import torch | |
models = { | |
"stablelm": "stabilityai/japanese-stablelm-base-gamma-7b", | |
"chatntq": "NTQAI/chatntq-ja-7b-v1.0", | |
"mistral": "mistralai/Mistral-7B-v0.1", | |
"starling": "Nexusflow/Starling-LM-7B-beta", | |
"antler": "Elizezen/Antler-7B", | |
} |
An guide how to activate Windows 11 Pro for free
Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet
The answer is yes! You can switch from almost any edition to Pro completely for free!
People which already have Pro, but not activated, can skip to this step.
What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:
Docker logo | |
## . | |
## ## ## == | |
## ## ## ## === | |
/""""""""""""""""\___/ === | |
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~ | |
\______ o __/ | |
\ \ __/ |
'use strict'; | |
exports.handler = (event, context, callback) => { | |
// Get request and request headers | |
const request = event.Records[0].cf.request; | |
const headers = request.headers; | |
// Configure authentication | |
const authUser = 'user'; | |
const authPass = 'pass'; |
sudo PATH=/opt/chef-server/embedded/bin:$PATH /opt/chef-server/embedded/service/erchef/bin/reindex-chef-server reindex |
#cloud-config | |
users: | |
- name: nytint | |
coreos-ssh-import-url: https://s3.amazonaws.com/newsdev-ops/keys.json | |
groups: | |
- docker | |
write_files: | |
- path: /etc/nginx/nginx.conf |
#cloud-config | |
coreos: | |
update: | |
reboot-strategy: etcd-lock | |
etcd: | |
discovery: https://discovery.etcd.io/<TOKEN> | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 | |
key-file: /etc/etcd-ssl/key.pem |
#!/bin/bash | |
echo "127.0.0.1 `hostname`" >> /etc/hosts | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install openjdk-7-jre | |
cd /tmp | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.0.deb | |
dpkg -i elasticsearch-1.1.0.deb | |
echo 'ES_HEAP_SIZE=6g' >> /etc/default/elasticsearch | |
echo 'cluster.name: awesomecluster |