Skip to content

Instantly share code, notes, and snippets.

View felixfong227's full-sized avatar
😏
Hunting Source Code

FeliΞ felixfong227

😏
Hunting Source Code
View GitHub Profile
document.write("Hello Gits");
const body = document.body;
body.innerHTML = "<h1>Hello Mate</h1>";
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
# Lunix /etc/
# Windows \WINDOWS\system32\drivers\etc
@felixfong227
felixfong227 / gulpfile.js
Last active February 18, 2017 09:47
ES5, SCSS build script
const gulp = require("gulp")
,uglify = require('gulp-uglify')
,babel = require('gulp-babel')
,scss = require("gulp-sass")
,browserify = require("gulp-browserify")
,rename = require('gulp-rename')
;
const paths = {
scripts: ['bin/js/**/*.js']
{
"packageInstaller": "yarn",
"routerdirectory": "app/router"
}
This is a simple text file that contain useless information that we are not going to use it anyways lol
@felixfong227
felixfong227 / file_upload.cr
Created May 29, 2017 17:58
A web server that uploads file
require "kemal"
sha256 = OpenSSL::Digest.new("sha256")
get "/:name" do |env|
name = env.params.url["name"]
render "public/index.ecr"
end
post "/upload" do |env|
@felixfong227
felixfong227 / gist:24ebfaffb519d0cdd6fa0a5c99e6265e
Created August 20, 2018 14:01
Install The Latest Version Of Docker And Docker Compose 1.22.0
echo "== Installing Docker And Docker Compose =="
echo ""
echo "Step 1: Update yum"
sudo yum update
echo "DONE: Update yum"
echo "Step 2: Install Docker via yum"
sudo yum install -y docker
echo "DONE: Install Docker via yum"

Keybase proof

I hereby claim:

  • I am felixfong227 on github.
  • I am felixfong227 (https://keybase.io/felixfong227) on keybase.
  • I have a public key whose fingerprint is C7BD E515 D8BC 8002 47F8 B8BF B2B1 D62A A8EB 3212

To claim this, I am signing this object:

@felixfong227
felixfong227 / README.md
Created January 24, 2019 18:38 — forked from cocoastorm/README.md
rexray/s3fs Docker Plugin Install with Minio

Getting Started

Make sure Docker is installed!

Get your Minio endpoint url, accesskey, and secretkey ready!

Install Docker Plugin

docker plugin install rexray/s3fs \