Skip to content

Instantly share code, notes, and snippets.

View bonaxcrimo's full-sized avatar
🎯
Focusing

bona tua bonaxcrimo

🎯
Focusing
View GitHub Profile
@bradtraversy
bradtraversy / docker_wordpress.md
Last active April 23, 2024 20:57
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
@Jonalogy
Jonalogy / handling_multiple_github_accounts.md
Last active April 22, 2024 08:04
Handling Multiple Github Accounts on MacOS

Handling Multiple Github Accounts on MacOS

The only way I've succeeded so far is to employ SSH.

Assuming you are new to this like me, first I'd like to share with you that your Mac has a SSH config file in a .ssh directory. The config file is where you draw relations of your SSH keys to each GitHub (or Bitbucket) account, and all your SSH keys generated are saved into .ssh directory by default. You can navigate to it by running cd ~/.ssh within your terminal, open the config file with any editor, and it should look something like this:

Host *
 AddKeysToAgent yes

> UseKeyChain yes

@Loupeznik
Loupeznik / DashboardController.php
Last active September 17, 2022 12:21
Laravel Visitor Counter - data visualization
// app/Http/Controllers/DashboardController.php
<?php
namespace App\Http\Controllers;
use App\Models\Visitor;
use Illuminate\Support\Facades\DB;
class DashboardController extends Controller
{
@bonaxcrimo
bonaxcrimo / index.html
Created October 7, 2016 05:02
todo with localstorage
<div id="todo" class="container col-md-4 col-md-offset-4">
<h1>TODO APP</h1>
<ul id="listTodo" class="list-group">
</ul>
<input id="nama" type="text" name="add" class="form-control" placeholder="Enter to add TODO">
</div>