Skip to content

Instantly share code, notes, and snippets.

View Kuchiriel's full-sized avatar
💭
This is not Orkut

Kuchiriel Kuchiriel

💭
This is not Orkut
View GitHub Profile
@primaryobjects
primaryobjects / readme.md
Last active April 20, 2024 12:11
How to Configure AutoGPT with Azure OpenAI Active Directory Managed Identity

How to Configure AutoGPT with Azure OpenAI Active Directory Managed Identity

AutoGPT is an extension of ChatGPT to automatically run an agent to complete a solution without human intervention.

Normally, an OpenAI API key is used.

For Azure OpenAI, you must use either an API token or an Azure Active Directory account.

Loading an API Key with Azure Managed Identity

@HexedHero
HexedHero / mc_client_performance_guide.md
Last active May 22, 2024 10:36
Performance guide for Minecraft 1.20.6+ Clients

Performance guide for Minecraft 1.20.6+ Clients

📜 Fabric

Fabric is the "modern" Minecraft modding software that is very modular.
We use Fabric in this guide so install it by going to https://fabricmc.net/use/ Download the .jar or .exe and run it.

Below is a list of performance and utility mods to make your Minecraft experience better and most importantly smooth.
The list is in order of most importance and they all work together including what they do with why to use them.

@oofnikj
oofnikj / answerfile
Last active May 23, 2024 20:26
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@ppoffice
ppoffice / README.md
Last active May 16, 2024 05:14
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y
@tdcosta100
tdcosta100 / WSL2GUIXvnc-en.md
Last active May 21, 2024 20:05
A tutorial to use GUI in WSL2 replacing original XServer by Xvnc, allowing WSL to work like native Linux, including login screen

WSL2 with GUI using Xvnc

In this tutorial, we will setup GUI in WSL2, and access it using VNC. No additional software outside WSL (like VcXsrv) is required, except, of course, a VNC Viewer (RealVNC, TightVNC, TigerVNC, UVNC, etc, all of them might work flawlessly).

The key component we need to install is tigervnc-standalone-server.

For this setup, I will use Ubuntu 20.04 LTS (Focal Fossa, unfortunately 22.04 does not work), and install GNOME Desktop. Since the key components aren't bound to Ubuntu or GNOME, you can use your favorite distro and GUI. Check the Sample screenshots section for examples.

So let's go. First, we need a working WSL2 installation.

@onlurking
onlurking / docker.md
Last active November 19, 2018 20:29
Docker Mastery Notes

Docker

First lecture

Verify if cli can talk to Docker engine.

docker version

View Docker engine config values.

@tschubotz
tschubotz / metamask_and_rinkeby_eth.md
Last active February 28, 2023 04:13
Install Metamask and get Rinkeby ETH

This is a brief guide on how to set up Metamask and obtain Rinkeby testnet ETH from the faucet.

Setup Metamask

  • Open Metamask and setup your account
@carlosanders
carlosanders / ssh-server-WSL-10.md
Last active December 30, 2023 18:33
Passos para configurar o servidor sshd no Windows 10, por meio do bash no Ubuntu no Windows (WSL)

Servidor ssh no Windows 10 WSL

A Microsoft fez uma parceria com a Canonical para criar o Bash no Ubuntu no Windows, executando uma tecnologia chamada Windows Subsystem for Linux. Abaixo estão as instruções sobre como instalar e configurar o servidor ssh para ser executado automaticamente na inicialização.

  • Requisitos:
  • Bash do Ubuntu instalado no Windows 10.

Instalando e configruando o Servidor sshd

  1. Desinstale e reinstale o servidor ssh usando os seguintes comandos:
@onlurking
onlurking / aiml.md
Created April 28, 2017 04:01
AIML 2.0 Working Draft

AIML 2.0 Working Draft

Revision 1.0.2.22
March 9, 2014
Richard S. Wallace
ALICE A.I. Foundation
Contact: info@alicebot.org

@levibostian
levibostian / post.md
Last active April 15, 2020 20:31
webpack, Tachyons, pug, Vue.js web app.

Today, single page web apps are driving many websites that we use each and every day. Instead of having your browser request a new web page for each and every action you perform on a web page, single page web apps may load all in one request to smoothly and quickly transition with every action you perform.

When building single page web apps, you may decide to retrieve all of the HTML, CSS and Javascript with one single page load or dynamically load these resources as the user moves about your site. Either way, it can be a pain to bundle all of these assets together for the end user to download from your web server. This is where webpack comes into play.

webpack does all of the heavy lifting bundling all of your HTML, CSS and Javascript together. If you write your site all from scratch or depend on dependencies from npm, webpack takes care of packaging it all together for you. It has the ability to take your single page web app, cut out all of the code you don't need, then packa