This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ์ด๊ฒ๋ง ๊ธฐ์ตํ์ | |
// @State | |
// $ | |
@State private var name = "" | |
$name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// StateBindingExample | |
// | |
// Created by Jรจwon Bong on 2020/07/01. | |
// Copyright ยฉ 2020 Appetizer. All rights reserved. | |
// | |
import SwiftUI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Text(String(post.content?.rendered ?? "Loading..")) | |
.padding(.all) | |
.multilineTextAlignment(.leading) | |
.onAppear(){ | |
print("appeared") | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// HTMLView.swift | |
// | |
// Created by Jรจwon Bong on 2020/06/17. | |
// Copyright ยฉ 2020 Appetizer. All rights reserved. | |
// | |
import SwiftUI | |
import WebKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo wp_trim_words( preg_replace('/^https?:\/\/(?:www\.)?youtu\.be\/*[a-zA-Z0-9_-]*/','',get_the_content()), 20 ); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: | |
<link rel="stylesheet" href="owl/assets/owl.theme.default.min.css"> | |
: | |
<div class="owl-carousel owl-theme"> | |
<div>content1</div> | |
<div>content2</div> | |
<div>content3</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.something { | |
-webkit-appearance: none; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function remove_dashboard_widgets() { | |
remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' ); // Right Now | |
} | |
add_action('wp_dashboard_setup', 'remove_dashboard_widgets'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.run(function($ionicPlatform, $ionicPopup) { | |
$ionicPlatform.registerBackButtonAction(function(event) { | |
if (true) { | |
$ionicPopup.confirm({ | |
title: '์ข ๋ฃํ์ธ', | |
template: '์ฑ์ ์ข ๋ฃํ ๊น์?' | |
}).then(function(res) { | |
if (res) { | |
ionic.Platform.exitApp(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="arr"><div class="v">a</div></div> | |
<div class="arr"><div class="v">b</div></div> | |
<div class="arr"><div class="v">c</div></div> | |
<style> | |
div { | |
background: gray; | |
height: 200px; | |
width: 200px; | |
} |
NewerOlder