Skip to content

Instantly share code, notes, and snippets.

View kwhandy's full-sized avatar
🍉
sharing-is-caring

Handy Wardhana kwhandy

🍉
sharing-is-caring
View GitHub Profile
@kwhandy
kwhandy / index.html
Created December 18, 2020 05:58 — forked from pxwee5/index.html
Static Vue SFC
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello World</title>
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/http-vue-loader"></script>
</head>
<body>
<h1>Static HTML With Vue.js Single File Component</h1>
@kwhandy
kwhandy / Part1. Basic
Created September 29, 2020 12:42 — forked from DerevenetsArtyom/Part1. Basic
[Upload Images with AJAX] #django #ajax
# Ajax jQuery
function upload(event) {
event.preventDefault();
var data = new FormData($('#ajax').get(0));
console.log(data)
$.ajax({
url: '/image_load/', // same url 'action' in form
type: 'POST',
data: data,
@kwhandy
kwhandy / lightsail-ssh.md
Last active September 28, 2020 06:56
How to EASILY FUCKIN CONNECT YOUR MACHINE to LIGHTSAIL INSTANCE(S)

Download Default Key

Setup your Machine(Mac/ Linux) for working with fuckin AWS Lightsail

Generate a RSA Key on Your Machine

Skip this if you have sensitive auth previously with your existing Key(id_rsa or id_ed..)

ssh-keygen -t rsa -b 4096 -N '' -C "<your fuckin email according AWS IAM>" -f ~/.ssh/id_rsa
@kwhandy
kwhandy / outline-server-setup.md
Created June 10, 2020 22:38 — forked from okeehou/outline-server-setup.md
How to setup an Outline VPN Server on Ubuntu 16.04

How to setup an Outline VPN Server on Ubuntu 16.04 Server

This guide will show you how to install Outline Server on an Ubuntu 16.04 Server, use Outline Manager for Windows and connect to your Outline Server on Windows and Anroid.

Install Outline Manager

Outline Manager supports Windows, macOS and Linux.

Outline Manager for Windows