yarn create next-app .
yarn add --dev tailwindcss postcss autoprefixer
yarn tailwindcss init -p
put in tailwind.config.js
content: [
| // No Security | |
| { | |
| "rules": { | |
| ".read": true, | |
| ".write": true | |
| } | |
| } |
| attach to console: | |
| docker exec -it {img name} /bin/bash | |
| or | |
| docker exec -it {img name} /bin/sh | |
| --network=host | |
| docker run --name <name> -d -i -t ubuntu /bin/sh | |
| docker run -i -t lazylion2/ubunto1:2 /bin/bash | |
| docker images |
| jupyter notebook --generate-config | |
| jupyter notebook password | |
| jupyter-lab --ip 0.0.0.0 --port 8888 --no-browser | |
| jupyter-lab --ip 0.0.0.0 --port 8888 --no-browser --allow-root | |
| --ContentsManager.allow_hidden=True | |
| open port 8888: | |
| iptables -I INPUT -p tcp --dport 8888 --syn -j ACCEPT |
| pip 3 install: | |
| wget https://bootstrap.pypa.io/get-pip.py | |
| sudo python get-pip.py | |
| nano ~/.bashrc | |
| // add at the end of file : | |
| alias pip="pip3" | |
| reset terminal | |
| sudo passwd |
| *XButton1:: | |
| GetKeyState, state, Shift | |
| if (state = "D"){ | |
| send {w up} | |
| send {shift up} | |
| } | |
| else{ | |
| send {w down} | |
| send {shift down} |
| "dota_chatwheel_message_antimage_laugh" "Ha ha ha ha ha ha ha ha ha ha ha ha!" | |
| "dota_chatwheel_label_antimage_laugh" "Laugh" | |
| "dota_chatwheel_message_antimage_thank" "I'll give them a drubbing they'll not soon forget!" | |
| "dota_chatwheel_label_antimage_thank" "I'll give them a drubbing..." | |
| "dota_chatwheel_message_antimage_deny" "Are you even trying?" | |
| "dota_chatwheel_label_antimage_deny" "Are you even trying?" | |
| "dota_chatwheel_message_antimage_1" "Magic is an abomination." | |
| "dota_chatwheel_label_antimage_1" "Magic is an abomination." | |
| "dota_chatwheel_message_antimage_2" "A disappointment." | |
| "dota_chatwheel_label_antimage_2" "A disappointment." |
| dp1 "Applause", | |
| "Crash_and_Burn", | |
| "Crickets", | |
| "Party_Horn", | |
| "Rimshot", | |
| "Charge", | |
| "Drum_Roll", | |
| "Frog", | |
| dp2 "Headshake", | |
| "Kiss", |
| "hero_chat_wheel" | |
| { | |
| "dota_chatwheel_message_antimage_laugh" "Ha ha ha ha ha ha ha ha ha ha ha ha!" | |
| "dota_chatwheel_label_antimage_laugh" "Laugh" | |
| "dota_chatwheel_message_antimage_thank" "I'll give them a drubbing they'll not soon forget!" | |
| "dota_chatwheel_label_antimage_thank" "I'll give them a drubbing..." | |
| "dota_chatwheel_message_antimage_deny" "Are you even trying?" | |
| "dota_chatwheel_label_antimage_deny" "Are you even trying?" | |
| "dota_chatwheel_message_antimage_1" "Magic is an abomination." | |
| "dota_chatwheel_label_antimage_1" "Magic is an abomination." |
yarn create next-app .
yarn add --dev tailwindcss postcss autoprefixer
yarn tailwindcss init -p
put in tailwind.config.js
content: [
| import NextAuth from "next-auth"; | |
| import GoogleProvider from "next-auth/providers/google"; | |
| import { MongoDBAdapter } from "@next-auth/mongodb-adapter"; | |
| import clientPromise from "../../../lib/mongodb"; | |
| if (!process.env.GOOGLE_CLIENT_ID){ | |
| throw new Error("Please add GOOGLE_CLIENT_ID to .env.local") | |
| } |