Skip to content

Instantly share code, notes, and snippets.

@mcjoi
mcjoi / py1.ipynb
Last active October 18, 2023 00:18
python note #1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mcjoi
mcjoi / main.dart
Created July 17, 2023 01:17
where to put Multiprovider..... maybe is not answer...
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
late var counter;
datainit() async {
await Future.delayed(Duration(seconds: 5), () {
print('5 seconds passed');
counter = 0;
});
}
@mcjoi
mcjoi / asset_image.dart
Created March 14, 2023 10:07
container : asset_image
import 'package:flutter/material.dart';
void main() => runApp(MaterialApp(
home: MyApp(),
));
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
@mcjoi
mcjoi / link.txt
Last active August 12, 2022 00:08
windows10 folder link
@mcjoi
mcjoi / pppalette.bas
Last active July 7, 2022 01:00
[ppt] pal at slidemaster
Sub pal()
Dim mySlideMaster As Master
Dim left As Integer
Dim top As Integer
Dim size As Integer
Dim colarrRed(8) As Integer
Dim colarrGreen(8) As Integer
@mcjoi
mcjoi / Videojs.html
Last active June 8, 2022 09:15
Videojs
<div class="vid"><video id="my-player" class="video-js vjs-default-skin vjs-big-play-centered" poster="//vjs.zencdn.net/v/oceans.png" preload="auto" controls="controls" width="820," data-setup="{}">
<source src="//vjs.zencdn.net/v/oceans.webm" type="video/webm" />
</video></div>
@mcjoi
mcjoi / KERNING.VB
Created February 10, 2022 03:51
[파워포인트VBA] 자간수정하기
Sub tt()
Dim shp As Shape
Dim activeshape As Shape
'현재 선택된 SHAPE
'Determine Which Shape is Active
If ActiveWindow.Selection.Type = ppSelectionShapes Then
'Loop in case multiples shapes selected
For Each shp In ActiveWindow.Selection.ShapeRange
@mcjoi
mcjoi / const.dart
Created October 18, 2021 04:24
ignore const constructors
// ignore_for_file: prefer_const_constructors
// ignore: prefer_const_constructors
@mcjoi
mcjoi / StringToClassName.dart
Created January 31, 2020 00:00
usage of classbuilder(make string to classname)
///
/// ##string 값을 class 이름으로 사용하기##
/// ClassBuilder Package 사용
///
/// class 이름을 list<string> 으로 선언
/// 초기화 할때, class builder 사용
/// ClassBuilder.fromString으로 사용
///
import 'package:class_builder/class_builder.dart';
@mcjoi
mcjoi / fileMove2.bas
Last active January 20, 2020 03:39
VBA : File move to folder by extension - unstable version v0.2
Sub makeFolderMoveFileToFolderByExt()
Dim sht As Worksheet
Dim strDir As String
Dim strFile As String
Dim fso
Dim myFile
Dim ext As String
Dim extList() As String
' 생성을 원하는 폴더리스트를 만들어줌 ==> 요거만 수정해주면 됨