Skip to content

Instantly share code, notes, and snippets.

andriyudatama / docker_compose.yml
Created Nov 24, 2020
Wordpress Docker for Raspberry Pi
View docker_compose.yml
version: '3'
# Database
image: biarms/mysql
- db_data:/var/lib/mysql
restart: always
andriyudatama /
Created Nov 23, 2020 — forked from bradtraversy/
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
andriyudatama / docker-compose.yml
Created Nov 23, 2020
Docker Compose Wordpress + Mysql + PhpMyAdmin
View docker-compose.yml
version: '3'
# Database
image: mysql:5.7
- db_data:/var/lib/mysql
restart: always
View gist:b9e1eb5e1472638474247a96c51cad14
# fix error when importing wordpress database
View Rollback AMD GPU Driver on

Clean up

sudo apt-add-repository -r ppa:graphics-drivers/ppa &&
sudo apt update &&
sudo apt upgrade &&
sudo apt autoremove &&
sudo apt autoclean


View Fix file system error linux
Using FSCK to repair file system error (initframs)
fsck /dev/mapper/vgubuntu-root -y
andriyudatama / VS Code Disable GPU Acceleration
Last active Apr 8, 2020
Disable Hardware Acceleration (GPU) on Visual Studio Code
View VS Code Disable GPU Acceleration
Visual Studio Code frequently crashes linux. Using NVIDIA GPU
1. Open command pallete (Ctrl + Shift + P)
2. Enter "Preferences: Configure Runtime Arguments"
3. Add config: "disable-hardware-acceleration": true
4. Restart VS Code
andriyudatama / dabblet.css
Created Aug 2, 2012 — forked from cahnory/dabblet.css
Clear float, technique définitive
View dabblet.css
/* Clear float, technique définitive */
li { float: left }
ul { *zoom: 1 }
ul:after {
clear: left;
content: ' '; /* Attention, c'est un espace insécable (alt+space) */
display: block;
height: 0;
andriyudatama / gist:3194010
Created Jul 28, 2012
HTML: Basic HTML Page
View gist:3194010
<!DOCTYPE html>
<script type="text/javascript" src=""></script>
<link rel="stylesheet/less" type="text/css" href="assets/css/styles.less">
<script src="assets/js/less-1.3.0.min.js" type="text/javascript"></script>