Skip to content

Instantly share code, notes, and snippets.

View seedevk8s's full-sized avatar
🎯
Focusing

ho jin chu seedevk8s

🎯
Focusing
View GitHub Profile
@seedevk8s
seedevk8s / MyLoggerConfig.java
Created June 26, 2019 08:40 — forked from darbyluv2code/MyLoggerConfig.java
Spring Logging for Spring 5.1 - XML Configuration
package com.luv2code.springdemo;
import java.util.logging.ConsoleHandler;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
public class MyLoggerConfig {
@seedevk8s
seedevk8s / MyLoggerConfig.java
Created July 1, 2019 14:03 — forked from darbyluv2code/MyLoggerConfig.java
Spring Logging for Spring 5.1 - All Java Configuration
package com.luv2code.springdemo;
import java.util.logging.ConsoleHandler;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Value;
@seedevk8s
seedevk8s / Student.java
Created July 4, 2019 13:37 — forked from darbyluv2code/Student.java
FAQ: How to populate radiobuttons with items from Java class like we did with selectlist?
package com.luv2code.springdemo.mvc;
import java.util.LinkedHashMap;
public class Student {
private String firstName;
private String lastName;
private String favoriteLanguage;
@seedevk8s
seedevk8s / CourseCode.java
Created July 7, 2019 03:06 — forked from darbyluv2code/CourseCode.java
Spring MVC Validation - FAQ: Is it possible to integrate multiple validation string in one annotation?
package com.luv2code.springdemo.mvc.validation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.validation.Payload;
@seedevk8s
seedevk8s / gist:26e71f3a138300e55c8034427842909e
Created January 13, 2020 09:59 — forked from 480/gist:4681b67d2a906db8c6c1321cc678f05f
github 리모트 리포지토리 변경하기

깃 리모트 변경 하기

기존 리포지토리 깔끔하게 pull / push

git pull
git add .
git commit -m "clean push"
git push
@seedevk8s
seedevk8s / 1.md
Created April 2, 2020 05:57 — forked from swyxio/1.md
Learn In Public - 7 opinions for your tech career

1. Learn in public

this essay has been updated on my personal site, together with a followup on how to get started

If there's a golden rule, it's this one, so I put it first. All the other rules are more or less elaborations of this rule #1.

You already know that you will never be done learning. But most people "learn in private", and lurk. They consume content without creating any themselves. Again, that's fine, but we're here to talk about being in the top quintile. What you do here is to have a habit of creating learning exhaust. Write blogs and tutorials and cheatsheets. Speak at meetups and conferences. Ask and answer things on Stackoverflow or Reddit. (Avoid the walled gardens like Slack and Discourse, they're not public). Make Youtube videos or Twitch streams. Start a newsletter. Draw cartoons (people loooove cartoons!). Whatever your thing is, make the thing you wish you had found when you were learni

@seedevk8s
seedevk8s / intro.md
Created April 29, 2020 01:28 — forked from derhuerst/intro.md
Installing Git on Linux, Mac OS X and Windows
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@seedevk8s
seedevk8s / iOS_watchOS_device_types.txt
Created January 9, 2021 12:11 — forked from pschmidtboeing/iOS_watchOS_device_types.txt
List of iOS and Watch OS device codes types a.k.a. machine ids (e.g. iPhone1,1) and their matching product names
i386 : iOS Simulator 32-bit
x86_64 : iOS Simulator 64-bit
iPhone1,1 : iPhone 1st Gen
iPhone1,2 : iPhone 3G 2nd Gen
iPhone2,1 : iPhone 3GS 3rd Gen
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 (GSM) Rev A
iPhone3,3 : iPhone 4 (CDMA)
iPhone4,1 : iPhone 4s
@seedevk8s
seedevk8s / app.js
Created July 4, 2023 15:36 — forked from ibare/app.js
Tiny Redux
import { createStore, actionCreator } from "./redux-middleware";
function reducer(state = {}, { type, payload }) {
switch (type) {
case "init":
return {
...state,
count: payload.count
};
case "inc":