Skip to content

Instantly share code, notes, and snippets.

View jifanchn's full-sized avatar

jifan jifanchn

  • Fudan Unviersity
  • Shanghai China
  • 14:35 (UTC +08:00)
View GitHub Profile
@jifanchn
jifanchn / ABOUT.md
Created February 4, 2022 06:51 — forked from laobubu/ABOUT.md
A very simple HTTP server in C, for Unix, using fork()

Pico HTTP Server in C

This is a very simple HTTP server for Unix, using fork(). It's very easy to use

How to use

  1. include header httpd.h
  2. write your route method, handling requests.
  3. call serve_forever("12913") to start serving on port 12913
@jifanchn
jifanchn / ca.md
Created January 21, 2021 03:02 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@jifanchn
jifanchn / ca.md
Created January 21, 2021 03:01 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

'''This script goes along the blog post
"Building powerful image classification models using very little data"
from blog.keras.io.
It uses data that can be downloaded at:
https://www.kaggle.com/c/dogs-vs-cats/data
In our setup, we:
- created a data/ folder
- created train/ and validation/ subfolders inside data/