Skip to content

Instantly share code, notes, and snippets.

View widada's full-sized avatar
🎯
Create Amazing Contents

Widada widada

🎯
Create Amazing Contents
View GitHub Profile
@widada
widada / example-be-fe.md
Created April 4, 2024 01:50
Encypt Body Request

Example code in the Frontend

import React from 'react';
import CryptoJS from 'crypto-js';

class App extends React.Component {
  constructor(props) {
    super(props);
    this.state = { data: '' };
@widada
widada / analog-clock.md
Last active July 5, 2023 08:45
Jam analog
<!DOCTYPE html>
<html>
<head>
    <style>
        body {
            height: 100vh;
            margin: 0;
            background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
            overflow: hidden;
@widada
widada / LaravelMinio.md
Last active November 29, 2024 08:53
Cara integrasi minio ke project Laravel

Cara menggunakan Minio Server sebagai Laravel Custom File Storage

Laravel mempunyai konfigurasi file storage yang sangat customizable, Jadi kita bisa mengubah drivernya sesuai kebutuhan. Pada tutorial kali ini kita akan mengimplementasi Minio server untuk memanage file-file di aplikasi kita.

1. Prerequisites

Install Minio Server here.

Install projek Laravel here.

@widada
widada / postman_install.sh
Created September 18, 2018 10:36 — forked from oleg-sh-test/postman_install.sh
Postman install Ubuntu 18.04
#!/bin/bash
# Get postman app
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
sudo ln -s /opt/Postman/Postman /usr/bin/postman
#Create a Desktop Entry
cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
@widada
widada / odoo
Last active January 10, 2018 07:18
python odoo.py -r odoo -s --stop-after-init -c odoocodelab.conf