Deleted files

This commit is contained in:
Mahendrata Harpi
2020-08-29 10:57:59 +07:00
parent dbbb10ca64
commit 6d710efad8
2 changed files with 0 additions and 53 deletions

View File

@@ -1,31 +0,0 @@
---
title: Pub Notes
permalink: /notes/
layout: page
excerpt: Catatan Public agar enggak usah pusing-pusing mengingat.
comments: false
---
#### Rails 6 db:system:change --to command
Untuk menggunakan perintah `db:system:change` pada rails 6 perlu menentukan database adapter dengan `--to` option.
```bash
rails db:system:change --to=<adapter>
# <adapter> : postgresql, mysql, sqlite3, oracle, sqlserver, dll...
```
Setelah menjalankan perintah diatas, jangan lupa untuk mengubah versi database adapter di `Gemfile`.
---
#### Mematikan Jekyll Server
Mengehentikan server Jekyll dengan tombol <kbd>CTRL</kbd> + <kbd>Z</kbd> tidak menghentikan proses secara penuh, untuk menangani hal ini matikan `PID` dengan cara ini.
```bash
$ lsof -wni tcp:4000
$ kill -9 <PID of process>
```
Dan lain waktu, gunakan <kbd>CTRL</kbd> + <kbd>C</kbd> untuk menghentikan server.

22
tags.md
View File

@@ -1,22 +0,0 @@
---
title: Tags
permalink: /tags/
layout: page
excerpt: Sorted article by tags.
---
{% for tag in site.tags %} {% capture name %}{{ tag | first }}{% endcapture %}
<h4 class="post-header" id="{{ name | downcase | slugify }}">
{{ name }}
</h4>
{% for post in site.tags[name] %}
<article class="posts">
<span class="posts-date">{{ post.date | date: "%b %d" }}</span>
<header class="posts-header">
<h4 class="posts-title">
<a href="{{ post.url }}">{{ post.title | escape }}</a>
</h4>
</header>
</article>
{% endfor %} {% endfor %}