Skip to content

Instantly share code, notes, and snippets.

View splex7's full-sized avatar
🎯
Focusing

Hyungju Moon splex7

🎯
Focusing
View GitHub Profile
0xb7cec8f35f8D9C0BE4E07A9B17067E686de86eaa
@splex7
splex7 / about.html
Created January 17, 2019 00:41
about.html for scallop.landing
<div class="Mast Mast--about">
<div class="container">
<h4>브랜드 스토리</h4>
<h1>About Scallop</h1>
</div>
</div>
<section class="Section--about Section--about--1">
<div class="BgRect"></div>
// [1] 클로저
function foo() {
let yabal = [];
return {
addYabal(x) { yabal = [x, ...yabal] },
getYabal() { return yabal }
};
}
const bar = new foo();
bar.addYabal('rom');
@splex7
splex7 / upload.js
Created April 27, 2021 08:12 — forked from acidsound/upload.js
pastebin node.js API
const FormData = require('form-data')
const axios = require('axios')
const getUserKey = async ({
api_dev_key,
api_user_name,
api_user_password,
}) => {
const formData = new FormData()
formData.append('api_dev_key', api_dev_key)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.container {
left: 20px;
outline: 1px aqua solid;
### in each channel page
🚀almost all chat features
send text msg
send images
share msg
reply msg
etc...
🚀search vessel in chat
result 1 : show matched vessel
result 2 : show recent deals realted matched vessel
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
void main() {
GoRouter.setUrlPathStrategy(UrlPathStrategy.path);
runApp(MyApp());
}
class MyApp extends StatelessWidget {
MyApp({super.key});
// Here's a sample Node.js code that you can use to make a collage image with 100 circle cropped images using the Jimp image processing library:
const Jimp = require('jimp');
async function createCollage() {
const width = 1000; // Width of the collage image
const height = 1000; // Height of the collage image
const radius = 200; // Radius of the circles
const images = []; // Array to hold the cropped images
@splex7
splex7 / torch.bat
Created November 1, 2023 14:03 — forked from acidsound/torch.bat
windows pytorch 2.0.1 설정
pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118