Skip to content

Instantly share code, notes, and snippets.

View rscarrera27's full-sized avatar
👊
Keep Going

Sunghyun Kim rscarrera27

👊
Keep Going
View GitHub Profile
@HubCodes
HubCodes / main.c
Last active July 9, 2020 00:31
kqueue example
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/event.h>
https://archive.is/llRty#selection-1131.0-1504.0
우선 국내.
1.레오폴드. http://www.leopold.co.kr/
키캡을 사면 본체를 주는 국내 최고의 키캡 판매 회사.
2. 펀키스. http://funkeys.kr/
바밀로, 더키 키보드 유통 회사. 키캡 세트도 판매 중.
기본적으로 충분한 값어치는 하는 듯.
@hazcod
hazcod / wgcf.sh
Created October 16, 2019 06:10
Connect to Cloudflare Warp from macOS.
#!/usr/bin/env bash
set -euo pipefail
shopt -s inherit_errexit 2>/dev/null || true
# this script will connect macOS to Cloudflare Warp using Wireguard
# note: this is *absolutely not* an official client from Cloudflare
# Copyright (C) 2019 Jay Freeman (saurik)
# Zero Clause BSD license {{{

Foreward

This document was originally written several years ago. At the time I was working as an execution core verification engineer at Arm. The following points are coloured heavily by working in and around the execution cores of various processors. Apply a pinch of salt; points contain varying degrees of opinion.

It is still my opinion that RISC-V could be much better designed; though I will also say that if I was building a 32 or 64-bit CPU today I'd likely implement the architecture to benefit from the existing tooling.

Mostly based upon the RISC-V ISA spec v2.0. Some updates have been made for v2.2

Original Foreword: Some Opinion

The RISC-V ISA has pursued minimalism to a fault. There is a large emphasis on minimizing instruction count, normalizing encoding, etc. This pursuit of minimalism has resulted in false orthogonalities (such as reusing the same instruction for branches, calls and returns) and a requirement for superfluous instructions which impacts code density both in terms of size and

@darjeeling
darjeeling / personal--CFP-GUIDE.md
Last active April 17, 2019 10:22
지극히 개인적인 파이콘 발표에 좋을만한 주제들 !

파이콘 발표는 누구나 할수 있습니다.

개발자가 아니어도 되고! 개발자여도 되고!
남성이 아니어도 되고! 또 다른 성이어도 되고!
나이가 많지 않아도 되고! 많아도 되고!
한국어여도 되고! 영어도 되고! \ 다만 파이썬을 사용한 경험을 남과 나누고 싶다는 마음 이면 다 가능합니다!!
발표자는 첫 발표를 해야 다음에는 익숙한 발표를 할수 있겠죠?
사람들을 배려해서 준비는 해야겠지만 여러분이 첫 발표라고 포기할 필요는 없습니다. 누구나 처음은 있으니까요.

@luncliff
luncliff / cmake-tutorial.md
Last active July 16, 2024 13:09
CMake 할때 쪼오오금 도움이 되는 문서

CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자

주의

  • 이 문서는 CMake를 주관적으로 서술합니다
  • 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
    https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
@cecilemuller
cecilemuller / 2019-https-localhost.md
Last active July 20, 2024 14:39
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@whenyd
whenyd / inception_v1
Created February 10, 2018 09:13
Keras implementation of inception v1
from keras.layers import Conv2D, MaxPooling2D, Input, concatenate
def inception(input,
filters_1x1,
filters_3x3_reduce, filters_3x3,
filters_5x5_reduce, filters_5x5,
filters_pool_proj):
"""
:param input:
@WKBae
WKBae / mnist-tester.html
Last active November 9, 2017 13:19
MNIST tester using Flask
<html>
<head><title>MNIST Tester</title></head>
<style>
#number-pad {
padding: 0;
margin: 0;
border-collapse: collapse;
border: 1px solid #000;
}
#number-pad tr {
@anabastos
anabastos / solidIsFp.md
Last active October 16, 2022 22:09
Solid is FP - Luiz Stangarlin

SOLID is FP!

So, I decided to write a little thing, only to practice writing, it's about SOLID being compared between class-based-OO and FP, and there will be grammar errors and there will be a lot of formatting errors, 'bear' with me as I type this as fast as I can. Also correct if I'm wrong. Warning, wall of text in English.

Single responsibility principle

" a class should have only a single responsibility "

A pure function is something with a single responsibility, turning its input into an output. What could be simpler?.