Skip to content

Instantly share code, notes, and snippets.

View erycamel's full-sized avatar
💭
I may be slow to respond.

Ery Camel erycamel

💭
I may be slow to respond.
View GitHub Profile
D:\xampp\mysql\bin>mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.5.16 MySQL Community Server (GPL)
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
D:\xampp\mysql\bin>mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.5.16 MySQL Community Server (GPL)
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
package main
import (
"github.com/gin-gonic/gin"
"github.com/jinzhu/gorm"
_ "github.com/mattn/go-sqlite3"
)
type Users struct {
Id int `gorm:"AUTO_INCREMENT" form:"id" json:"id"`
@erycamel
erycamel / Windows
Created December 28, 2019 05:18 — forked from JerryLokjianming/Crack Sublime Text Windows and Linux.md
Crack Sublime Text 3.2.2 Build 3211
# Subscribe to my YouTube Channel -> https://lokjianming.page.link/CVLm #
How to Crack Sublime Text 3 with Hex Editor (without license) ↓
1. Download & Install Sublime Text 3.2.2 Build 3211
2. Visit Hexed.it
3. Open file sublime_text.exe
4. Search address: 97 94 0D -> 00 00 00
5. Offset 0x8545: Original 84 -> 85
6. Offset 0x08FF19: Original 75 -> EB
@erycamel
erycamel / README.md
Created February 8, 2020 02:20 — forked from talon/README.md
Install Docker On Windows 10 Home

Install Docker On Windows 10 Home

"Windows Home Docker Desktop requires Windows 10 Pro or Enterprise version 15063 to run." So says the Docker Installer however, the Docker forums beg to differ

The workaround is to manually image the Hyper-V and Containers features, then trick the installer into thinking you're using Windows Pro.

TL;DR

  1. Run windows_home_containers.ps1 in an Administrative Powershell
  2. Restart your computer
@erycamel
erycamel / install_mysql_in_wsl.md
Created January 20, 2024 14:35 — forked from zhensongren/install_mysql_in_wsl.md
Set up MySQL on local machine (Windows Subsystem for Linux, WSL2)

Upgrade the Repositories

sudo apt update sudo apt upgrade

Install MySQL 5.7

sudo apt install mysql-server

Secure MySQL Installation

sudo apt install mysql-server #To do the high security provide all answers to yes

@erycamel
erycamel / go-wsl.md
Created January 21, 2024 11:42 — forked from renevo/go-wsl.md
Easily update/install Go in wsl

Updating/Installing Go in WSL

Remove

Removes older versions

sudo rm -rf /usr/local/go* && sudo rm -rf /usr/local/go