Skip to content

Instantly share code, notes, and snippets.

View kimdwkimdw's full-sized avatar
๐Ÿƒโ€โ™‚๏ธ
Running & Learning

Arthur Kim kimdwkimdw

๐Ÿƒโ€โ™‚๏ธ
Running & Learning
View GitHub Profile
@kimdwkimdw
kimdwkimdw / whooing-hide-fiugre.user.js
Last active December 10, 2019 08:06 — forked from huntrax11/whooing-hide-fiugre.user.js
whooing-hide-fiugre.user.js
// ==UserScript==
// @name ํ›„์ž‰ hide figures
// @namespace http://tampermonkey.net/
// @version 0.1
// @description ํ›„์ž‰ ์ˆซ์ž๋ฅผ ๊ฐ€๋ ค๋“œ๋ฆฝ๋‹ˆ๋‹ค.
// @author Robert Park
// @match https://whooing.com/
// @match https://new.whooing.com/
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @grant none

๋ง›์ง‘ ๋ฆฌ์ŠคํŠธ (์ „๋ถ€ ๋ชจ์•„์„œ ๋‹ค์‹œ ์—…๋กœ๋“œ)

; ์ œ๋ชฉ๋ณ„๋กœ ๊ฒ€์ƒ‰ํ•˜๋ฉด ๋น ๋ฅด๋‹ค.

  1. ํ‰์–‘๋ƒ‰๋ฉด
  2. ๋ฉ”๋ฐ€๊ตญ์ˆ˜ (์†Œ๋ฐ”)
  3. ๋ง‰๊ตญ์ˆ˜
  4. ์ฝฉ๊ตญ์ˆ˜
  5. ๊ตญ๋ฐฅ, ํ•ด์žฅ๊ตญ
  6. ์„ค๋ ํƒ•
  7. ๊ฐ์žํƒ•
import PhotosUI
extension AVAsset {
func videoOrientation() -> (orientation: UIInterfaceOrientation, device: AVCaptureDevice.Position) {
var orientation: UIInterfaceOrientation = .unknown
var device: AVCaptureDevice.Position = .unspecified
let tracks :[AVAssetTrack] = self.tracks(withMediaType: AVMediaType.video)
import {
Canvas,
DataSourceParam,
dist,
ImageShader,
rect,
RoundedRect,
rrect,
Shader,
Skia,