I hereby claim:
- I am r3vit on github.
- I am r3vit (https://keybase.io/r3vit) on keybase.
- I have a public key ASBts_haCUWQFEl5jrEg8ZuLTMw-gCO1SuCspFrBT2G3Lgo
To claim this, I am signing this object:
# Steps: | |
# 1. Close Safari. | |
# 2. Open the Safari History.db with sqlite3. | |
cd cd ~/Library/Safari | |
sqlite3 History.db | |
# 2. Remove the url that I have visited less than 5 times (there is no timestamp, so I cannot delete the "older than") | |
# My goal is to remove the ones that I usually don't use and are freezing/lagging Safari. |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"crypto/rand" | |
"fmt" | |
"math/big" | |
) | |
func main() { |
#!/bin/sh | |
#clear | |
docker stop CONTAINER | |
docker rm CONTAINER | |
#start new mysql service at port :3306 with password:root | |
docker run --name CONTAINER -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root -d mysql | |
#start mysql service | |
docker exec CONTAINER service mysql start |
package main | |
import ( | |
"fmt" | |
"log" | |
"os/exec" | |
"strings" | |
) | |
func main() { |
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
) | |
//RandomNumber generate a random number from [min] to [max] | |
func RandomNumber(min, max int) int { |