Skip to content

Instantly share code, notes, and snippets.

View j2doll's full-sized avatar
💭
1️⃣ 😄 2️⃣ 😭

Jay Two j2doll

💭
1️⃣ 😄 2️⃣ 😭
View GitHub Profile
@j2doll
j2doll / kim.md
Last active February 6, 2020 11:30
김연우 아름다운지

김연우 : 여전히 아름다운지

여전히 아름다운지

@j2doll
j2doll / build.yml
Created December 10, 2019 16:24
Qt github action
jobs:
windows:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Prepare
working-directory: build
run: |
@j2doll
j2doll / FirstExample.java
Created October 28, 2019 12:47
FirstExample (JDBC)
//STEP 1. Import required packages
import java.sql.*;
public class FirstExample {
// JDBC driver name and database URL
static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
static final String DB_URL = "jdbc:mysql://localhost/EMP";
// Database credentials
static final String USER = "username";
@j2doll
j2doll / find-something.cmd
Last active October 15, 2019 05:59
find-something
@echo off
:1
if exist %1 (
echo The file is ready
pause
) else (
goto :1
)
@j2doll
j2doll / 001.png
Last active October 11, 2019 12:34
test.dmp
001.png
@j2doll
j2doll / ScreenOrientation.md
Last active October 5, 2019 06:59
Screen.orientation : Qt::ScreenOrientation

Screen.orientation : Qt::ScreenOrientation

  • This contains the current orientation of the screen, from the accelerometer (if any). On a desktop computer, this value typically does not change.

  • If primaryOrientation == orientation, it means that the screen automatically rotates all content which is displayed, depending on how you hold it. But if orientation changes while primaryOrientation does NOT change, then probably you are using a device which does not rotate its own display. In that case you may need to use Item.rotation or Item.transform to rotate your content.

  • Note: This property does not update unless a Screen::orientationUpdateMask is set to a value other than 0.

  • https://doc.qt.io/qt-5/qml-qtquick-window-screen.html#orientation-attached-prop

@j2doll
j2doll / r.md
Created September 23, 2019 13:08
see later
@j2doll
j2doll / ConvertU-remark.md
Last active August 23, 2019 14:00
ConvertU

[ConvertU] UTF-8 과 URL 인코딩 동시 변환 유틸리티

ConvertU

주요 기능

  • 문자열 UTF-8 과 URL 인코딩 동시 변환 기능
@j2doll
j2doll / ConvertU.0.3.zip
Last active August 23, 2019 13:53
convertu-image
This file has been truncated, but you can view the full file.
@j2doll
j2doll / qt-polymorphism.md
Last active August 22, 2019 12:02
Qt Polymorphism

Qt Polymorphism

a

  • a.h
#ifndef A_H
#define A_H
#include