Skip to content

Instantly share code, notes, and snippets.

View thangnc's full-sized avatar

Thang Nguyen thangnc

View GitHub Profile
@thangnc
thangnc / chatgpt.md
Created March 26, 2023 16:52 — forked from veekaybee/chatgpt.md
Everything I understand about chatgpt

ChatGPT Resources

Context

ChatGPT appeared like an explosion on all my social media timelines in early December 2022. While I keep up with machine learning as an industry, I wasn't focused so much on this particular corner, and all the screenshots seemed like they came out of nowhere. What was this model? How did the chat prompting work? What was the context of OpenAI doing this work and collecting my prompts for training data?

I decided to do a quick investigation. Here's all the information I've found so far. I'm aggregating and synthesizing it as I go, so it's currently changing pretty frequently.

Model Architecture

@thangnc
thangnc / install_mysql_5_5_centos.md
Last active January 7, 2016 16:09 — forked from jhjguxin/install_mysql_5_5_centos.md
Install MySQL Database 5.5.37 on CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10

#Install MySQL Database 5.5.37 on CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10

Install Remi repository

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

Check Available MySQL versions

#Installing Taiga on CentOS 6 (x64)

##Dependencies ...

yum update -y
yum groupinstall "Development Tools" -y
yum install libxslt-devel libxml2-devel libXt-devel curl git tmux -y
yum install setuptool system-config-network-tui vim libtool make autoconf automake htop wget curl gcc gcc-c++ -y

yum install libjpeg-turbo-devel openssl-devel bzip2-devel libcurl-devel freetype-devel libpng-devel gd-devel libtiff-devel -y

@thangnc
thangnc / set_up_clean_osx_el_capitan.md
Last active October 16, 2018 10:13 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences

Most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12