python3
Python 3.6.8 (v3.6.8:3c6b436a57, Dec 24 2018, 02:04:31)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ๐
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
| import java.time.LocalDate | |
| import java.time.LocalTime | |
| import java.time.ZoneId | |
| fun main() { | |
| val nowDate = LocalDate.now() | |
| val nowTime = LocalTime.now() | |
| val zoneId = ZoneId.of("Asia/Seoul") | |
| val instant = nowDate |
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
| import click | |
| import os | |
| from glob import glob | |
| from pydub import AudioSegment | |
| @click.command() | |
| @click.argument('src') | |
| @click.argument('dst') |
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
| #canvas-wrapper { | |
| background: #d3d3d3; | |
| height: 500px; | |
| width: 300px; | |
| } | |
| h1 { | |
| margin: 10px 0; | |
| } |
RPS ํจ์น ๋ด์ฉ: https://github.com/torvalds/linux/commit/0a9627f2649a02bea165cfd529d7bcb625c2fcad
RFS ํจ์น ๋ด์ฉ: https://github.com/torvalds/linux/commit/fec5e652e58fa6017b2c9e06466cb2a6538de5b4
/*
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
| import time | |
| import RPi.GPIO as GPIO | |
| GPIO.setmode(GPIO.BCM) | |
| GPIO.setup(27, GPIO.OUT) | |
| GPIO.setup(23, GPIO.IN, pull_up_down=GPIO.PUD_UP) | |
| print('Press the button') | |
| try: |
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
| import UIKit | |
| import Foundation | |
| import Alamofire | |
| class MyFriendsController: UITableViewController { | |
| var refresher: UIRefreshControl! | |
| var myFriendsInfo: [PersonInfo] = [] | |
| @IBOutlet weak var navigationBar: UINavigationItem! | |
| var myActivityIndicator = UIActivityIndicatorView(activityIndicatorStyle:UIActivityIndicatorViewStyle.gray) |
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
| set ai | |
| set si | |
| set sm | |
| set nu | |
| set title | |
| set expandtab | |
| set tabstop=4 | |
| set cursorline | |
| set shiftwidth=4 |
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
| class ChildrensPrice extends Price | |
| { | |
| int getPriceCode() | |
| { | |
| return Movie.CHILDRENS; | |
| } | |
| double getCharge(int daysRented) | |
| { | |
| double result = 1.5; |
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
| import java.util.Enumeration; | |
| import java.util.Vector; | |
| public class Customer | |
| { | |
| private String _name; | |
| private Vector _rentals = new Vector(); | |
| public Customer(String name) | |
| { |