Skip to content

Instantly share code, notes, and snippets.

View ChangJoo-Park's full-sized avatar
:octocat:
🌱

ChangJoo Park(박창주) ChangJoo-Park

:octocat:
🌱
View GitHub Profile
FORMAT: 1A
HOST: https://api.clickup.com/api/v2
# ClickUp 2.0
Let's make people more productive, together.
Looking for the v1 documentation? Click [here](https://clickup.com/apiv1).
Please use our [feedback board](https://feedback.clickup.com/api-20) to report bugs, feature requests, and collaborate with the community.
@ChangJoo-Park
ChangJoo-Park / update_checker.dart
Created June 4, 2020 03:26
Flutter version checker from google play, app store
import 'dart:convert';
import 'dart:io';
import 'package:html/dom.dart';
import 'package:html/parser.dart';
import 'package:dio/dio.dart';
import 'package:pub_semver/pub_semver.dart';
/// 안드로이드 버전을 가져옵니다
///
/// 구글은 API를 제공하지 않습니다
@ChangJoo-Park
ChangJoo-Park / empty_padding_icon_button.dart
Created August 28, 2023 00:28
IconButton에서 패딩 제거하기
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@ChangJoo-Park
ChangJoo-Park / outlined_toggle_button.dart
Created August 23, 2023 15:51
Custom icon with button
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@ChangJoo-Park
ChangJoo-Park / future_timer.dart
Created January 29, 2020 12:52
make future timer in dart
import 'dart:async';
void main() async {
for (int i = 0; i < 5; i++) {
String result = await makeFutureTimer(
duration: Duration(seconds: 0),
action: () {
print(DateTime.now());
return 'RETURN VALUE $i';
},
@ChangJoo-Park
ChangJoo-Park / Main.java
Created November 1, 2013 06:37
Using JAVE(Java Audio Video Encoder) example add external library jave 1.0.2 version
package jave_example;
import it.sauronsoftware.jave.AudioAttributes;
import it.sauronsoftware.jave.Encoder;
import it.sauronsoftware.jave.EncoderException;
import it.sauronsoftware.jave.EncodingAttributes;
import it.sauronsoftware.jave.InputFormatException;
import java.io.File;
@ChangJoo-Park
ChangJoo-Park / README.md
Created October 7, 2019 08:43 — forked from paumoreno/README.md
Extract all messages from a Vue.js with vue-i18n app, using gettext-extractor.

This script uses the great message extraction library gettext-extractor by lukasgeiter.

The script assumes that the location of the source files is ./src. It parses both .js and .vue files. It writes the PO template file in ./i18n/messages.pot.

Some things to note:

  • It assumes that interpolations in the templates use the delimieters {{}} (it is the most commmon case).
  • It assumes that both the template and the script sections of the .vue single file components are defined inline, and not referenced by a src attribue (it is the most common case).
  • Expressions to extract are hardcoded. Currently they are ['$t', '[this].$t', 'i18n.t'].
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@ChangJoo-Park
ChangJoo-Park / whatssub.dart
Last active July 23, 2021 04:55
왓섭 whatssub 온보딩 UI
import 'dart:async';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override