Skip to content

Instantly share code, notes, and snippets.

View frama21's full-sized avatar

Fajar Ramdani A frama21

  • Bandung, Indonesia
  • 21:50 (UTC +07:00)
  • LinkedIn in/frama21
View GitHub Profile
@frama21
frama21 / meta-tags.md
Created August 7, 2018 03:29 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@frama21
frama21 / embedded-file-viewer.md
Created August 3, 2021 06:50 — forked from tzmartin/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links

@frama21
frama21 / docker compose mysql & postgres
Last active January 3, 2023 08:57
Mysql, Postgree docker compose
# for pull mysql compose
curl -LO https://gist.githubusercontent.com/frama21/170c1dbabe2338f8fd3c4eee9c26b873/raw/6daba068b1661d416292782cb7bbb551f024636e/docker-compose-mysql.yml
# for pull postgres compose
curl -LO https://gist.githubusercontent.com/frama21/170c1dbabe2338f8fd3c4eee9c26b873/raw/6daba068b1661d416292782cb7bbb551f024636e/docker-compose-postgre.yml
@frama21
frama21 / regex number validation
Last active December 6, 2021 10:48
except dash (-) in first char, except string
/^[0-9|-]+$/g
@frama21
frama21 / renderHTML.vue
Created November 30, 2022 07:30
Render Component Via HTML in Vue JS
<script>
// vue
import Vue from 'vue/dist/vue.esm';
// lodash
import unescape from 'lodash/unescape';
// component
import AppBaseParameterEditor from './AppBaseParameterEditor';
@frama21
frama21 / .wslconfig
Last active June 29, 2024 04:47
My personal WSL setting
[wsl2]
memory=6GB # set ram
processors=2 # set VM processor
swap=2GB # set swap 0 for disable
@frama21
frama21 / deploy-project.md
Last active May 29, 2024 04:24
Step by Step Deploy Project in VPS

1. Clone the project into server & install it

2. install nginx

$ sudo apt install nginx

3. Config nginx file

$ sudo nano /etc/nginx/sites-available/your_domain