Comands Git
- Start git.
git init| // Linked List CPP | |
| #include<iostream> | |
| using namespace std; | |
| class Node | |
| { | |
| public: | |
| int data; | |
| Node *next; |
| [ | |
| { | |
| "url": "http://money.cnn.com", | |
| "rss": "http://rss.cnn.com/rss/money_topstories.rss" | |
| }, | |
| { | |
| "url": "http://thehill.com", | |
| "rss": "http://thehill.com/rss/syndicator/19110" | |
| }, | |
| { |
Converting an SVG animation to a video with the MediaRecorder API and a hidden canvas.
Drawing frames from img elements can introduce an extra delay, so this version generates all the frames upfront and then renders them in a loop with requestAnimationFrame().
See also: Canvas animation to video
When writing a string of multiple utility classes, always do so in an order with meaning. The "Concentric CSS" approach works well with utility classes (i.e,. 1. positioning/visibility 2. box model 3. borders 4. backgrounds 5. typography 6. other visual adjustments). Once you establish a familiar pattern of ordering, parsing through long strings of utility classes will become much, much faster so a little more effort up front goes a long way!
Always use fewer utility classes when possible. For example, use mx-2 instead of ml-2 mr-2 and don't be afraid to use the simpler p-4 lg:pt-8 instead of the longer, more complicated pt-4 lg:pt-8 pr-4 pb-4 pl-4.
Prefix all utility classes that will only apply at a certain breakpoint with that breakpoint's prefix. For example, use block lg:flex lg:flex-col lg:justify-center instead of block lg:flex flex-col justify-center to make it very clear that the flexbox utilities are only applicable at the
| #if DEBUG | |
| /* | |
| This fixes SwiftUI previews not rendering translucent materials correctly by | |
| swizzling a couple of properties on NSWindow. | |
| Just drop into your project and add to the target being previewed (or something it links against). | |
| Notice the #if DEBUG, so this code won't end up in release builds. It also checks for the | |
| XCODE_RUNNING_FOR_PREVIEWS environment variable so that it won't affect regular debug builds of the app. |
| # taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/ | |
| # generate server.pem with the following command: | |
| # openssl req -new -x509 -keyout key.pem -out server.pem -days 365 -nodes | |
| # run as follows: | |
| # python simple-https-server.py | |
| # then in your browser, visit: | |
| # https://localhost:4443 | |
| import http.server |
트위터에 올라온 글을 보고, 재밌어보이기도 하고 마침 심심하던 차라 한번 해보기로 했습니다.
아주 쉽진 않은데 대충 아래 로직을 따라서 추측하실수있습니다:
- AOV(평균결제액) 이 플랫폼마다 어떻게 다를까? 모텔, 생필품, 항공권, 호텔예약, 편의점, 중고명품 등등
- 상품가격대가 고정되어있는 플랫폼은 없을까? (예: 벅스뮤직은 1, 6, 12개월단위로밖에 결제 안됨) -
- 플랫폼마다 피크타임이 다르지 않을까? (예: 티몬은 월요일 티몬데이, 야놀자는 주로 야간시간? 에 결제가 많이 발생함)
> 마케팅이나 커머스 백그라운드 있으신 분들이 좀더 쉽게 맞추실 수 있을 것 같네요
| /* Written in 2017 by Tommy Ettinger (tommy.ettinger@gmail.com) | |
| To the extent possible under law, the author has dedicated all copyright | |
| and related and neighboring rights to this software to the public domain | |
| worldwide. This software is distributed without any warranty. | |
| See <http://creativecommons.org/publicdomain/zero/1.0/>. */ | |
| #include <stdint.h> |
| \version "2.12.3" | |
| % vibrato.ly | |
| % Author: Mark Witmer | |
| % Sets the next trill spanner to draw a waveform with the provided wevelength | |
| % and amplitudes. The waveform will go from one amplitude to the next in a | |
| % linear fashion. | |
| vibrato = #(define-music-function (parser location amplitudes wavelength) (list? number?) #{ | |
| \once \override TrillSpanner #'after-line-breaking = #(lambda (grob) |