Skip to content

Instantly share code, notes, and snippets.

View icq4ever's full-sized avatar
๐ŸŒ
127.0.0.1

Yi donghoon icq4ever

๐ŸŒ
127.0.0.1
View GitHub Profile
@icq4ever
icq4ever / howto.md
Last active October 16, 2023 07:19
manjaro update fail - linux header , grub fix
  1. boot with USB
  2. chroot
sudo manjaro-chroot -a
  1. install missing linux and linux header
pacman -S linux515 linux515-header
  1. update grub
@icq4ever
icq4ever / static_eModbusEthernet.cpp
Last active September 20, 2023 11:07
W5500 static ip
// =================================================================================================
// eModbus: Copyright 2021 by Michael Harwerth, Bert Melis and the contributors to ModbusClient
// MIT license - see license.md for details
// =================================================================================================
// Includes: <Arduino.h> for Serial etc.
#include <Arduino.h>
#include "ModbusServerEthernet.h"
// Define Ethernet-based server
ModbusServerEthernet MBserver;
@icq4ever
icq4ever / TTGOModbusDemo.ino
Last active October 18, 2022 16:33 — forked from bungernut/TTGOModbusDemo.ino
Modbus ESP32 TTGO LCD Demo
/*
The device I'm using is https://myduino.com/product/tgo-007/
Before compiling make a WPA_secrets.h file with the following two lines
const char* SECRET_SSID = "your ssid";
const char* SECRET_WIFI_PASS = "your WPA pass";
Libraries:
modbus: https://github.com/eModbus/eModbus (and it's dependencies)
display: https://github.com/Xinyuan-LilyGO/TTGO-T-Display
@icq4ever
icq4ever / mazeHelper.pde
Last active June 14, 2020 09:17
6/14 ๋ฏธ๋กœ์ฐพ๊ธฐ ์งˆ๋ฌธ ์†Œ์Šค
int gameScreen;
float timeStart;
float score;
float time;
float duration=5; //๊ฒŒ์ž„ ์‹œ๊ฐ„ 60์ดˆ ์„ค์ •
boolean isFailed = false;
void setup() {
size(500, 500);
}
@icq4ever
icq4ever / _10print_processingExample.pde
Created May 28, 2020 06:10
10print ์‹ค์Šต ์˜ˆ์ œ
int x;
int y;
int size;
float posibility;
void setup() {
size(600, 600);
background(0);
reset();
@icq4ever
icq4ever / iptime_setting.md
Last active November 6, 2019 15:40
iptime ๊ณต์œ ๊ธฐ ์„ค์ •

๊ณต์œ ๊ธฐ ์ดˆ๊ธฐ ์„ค์ •

๊ณต์œ ๊ธฐ ๊ด€๋ฆฌ์ž ํŽ˜์ด์ง€ ์ ‘์†

  • ๋…ธํŠธ๋ถ๊ณผ ๊ณต์œ ๊ธฐ๋ฅผ ๋žœ์„  (WANํฌํŠธ๊ฐ€ ์•„๋‹Œ ๋…ธ๋ž€์ƒ‰ 4๊ฐœ์ค‘ ํ•˜๋‚˜)์œผ๋กœ ์ง์ ‘ ์—ฐ๊ฒฐํ•œ ๋’ค, ์›น๋ธŒ๋ผ์šฐ์ €๋กœ http://192.168.0.1 ์ฃผ์†Œ๋กœ ์ ‘์†ํ•ฉ๋‹ˆ๋‹ค.
  • ๊ด€๋ฆฌ์ž ๊ธฐ๋ณธ ๋น„๋ฒˆ์€ admin / admin์ž…๋‹ˆ๋‹ค.
  • ๋กœ๊ทธ์ธ ํ›„ "๊ด€๋ฆฌ๋„๊ตฌ"๋ฅผ ๋ˆŒ๋Ÿฌ ๊ด€๋ฆฌํŽ˜์ด์ง€๋กœ ๋“ค์–ด๊ฐ‘๋‹ˆ๋‹ค.

์•„์ดํ”ผ ๋Œ€์—ญ๋Œ€ ๋ณ€๊ฒฝ

๋‚ด๋ถ€ ip ์„ค์ • ์ฐธ๊ณ  ์ด๋ฏธ์ง€

@icq4ever
icq4ever / guide.md
Last active July 29, 2019 13:12
majaro on thinkStation OF setup guide

setup OF on thinkStation Tiny Series

burn majaro distros DISK

  • download from manjaro.org
  • burn ISO to USB disk with rufus (windows)

boot with ISO live media

  • disable secure boot option
  • change boot order, press F12 when boot

install manjaro distro

  • setup TZ / keyboard layout / language

Node.js ๋กœ db๋‹ค๋ฃจ๊ธฐ, application ๋งŒ๋“ค๊ธฐ

MySQL

Mysql ์ ‘์† : mysql -uroot -p

db๋งŒ๋“ค๊ธฐ : create database something;

@icq4ever
icq4ever / body text.md
Last active January 11, 2018 03:33
scattering lights, gliding sounds body text

scattering lights

SCATTERING LIGHTS

ํฉ์–ด์ง€๋Š” ๋น›

'ํฉ์–ด์ง€๋Š” ๋น›, ๋ฏธ๋„๋Ÿฌ์ง€๋Š” ์†Œ๋ฆฌ'๋Š” ์˜จ๋„, ํ’ํ–ฅ, ํ’์†, ์Šต๋„ ๋“ฑ ์„œ์šธ๊ณผ ํ‰์ฐฝ์˜ ๋‚ ์”จ ์ •๋ณด๋ฅผ ๋น›๊ณผ ์†Œ๋ฆฌ์˜ ์‹ ํ˜ธ๋กœ ์น˜ํ™˜ํ•ด ๋ณดํ–‰์ž๋“ค์ด ๊ณต๊ฐ๊ฐ์  ๊ฒฝํ—˜์„ ํ†ตํ•ด ์ž์—ฐ์˜ ์•„๋ฆ„๋‹ค์›€์„ ๋А๋‚„์ˆ˜ ์žˆ๋„๋ก ํ•˜์˜€๋‹ค. ๊น€๋‹ค์›€, ์ด๋™ํ›ˆ, ํ•ซ์‚ฐ ํ›„์ž์ด๋ฆฌ๊ฐ€ ์ฐธ์—ฌํ–ˆ๋‹ค.

์„œ์šธ๋กœ7017 ์—์„œ 2018๋…„ 2์›” 28์ผ๊นŒ์ง€ ๋งค์ผ ์˜คํ›„ 5:30๋ถ€ํ„ฐ ์˜คํ›„ 11์‹œ ์‚ฌ์ด์— ์‹œ์—ฐ๋œ๋‹ค.