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
from moviepy.editor import * | |
from moviepy.video.fx.all import crop, fadeout | |
import cv2 | |
def get_image_clip(): | |
images_list = ["frame79.jpg"] * 30 | |
print(images_list) | |
clip = ImageSequenceClip(images_list, fps=30) | |
clip = fadeout(clip, 1, final_color=[32, 32, 32]) | |
return clip |
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
from moviepy.editor import * | |
clip = AudioFileClip("잊어야 한다는 마음으로 - 아이유.mp3") | |
clip = clip.cutout(0, 20) | |
clip.write_audiofile("test.mp3") |
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
from moviepy.editor import * | |
from moviepy.video.fx.all import crop, fadeout | |
import cv2 | |
def get_image_clip(): | |
images_list = ["frame79.jpg"] * 30 | |
print(images_list) | |
clip = ImageSequenceClip(images_list, fps=30) | |
clip = fadeout(clip, 1, final_color=[32, 32, 32]) | |
return clip |
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
쌀통닭-신천점 | 589793 | |
---|---|---|
피자샵-잠실점 | 605949 | |
더바스켓-순살치킨-국물떡볶이 | 521977 | |
홍대칼국수와족발보쌈 | 545526 | |
덕뽀리-오리바베큐-삼전점 | 670622 | |
프레쉬수제뉴욕버거치킨코리아 | 683315 | |
호식이두마리치킨-잠실1호점 | 595906 | |
동대문엽기떡볶이-송파점 | 407710 | |
울엄마식당 | 444417 | |
굽네치킨-가락점 | 600463 |
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 random, sys | |
def bubblesort(a): | |
swaps = 0 | |
for x in range(1, len(a)): | |
for i in range(0, len(a) - x): | |
if(a[i] > a[i + 1]): | |
swaps += 1 | |
buf = a[i] | |
a[i] = a[i + 1] |
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
document.addEventListener("DOMContentLoaded", function(event) { | |
console.log("DOM fully loaded and parsed"); | |
var dots = document.querySelectorAll(".slides_pagination a"); | |
console.log(dots.length); | |
var main_slides_lst = document.querySelectorAll(".main_slides_lst li"); | |
console.log(main_slides_lst.length); |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>배달의민족 슬라이딩~</title> | |
<style> | |
.main_slides_wrap { |
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
document.addEventListener("DOMContentLoaded", function(event) { | |
console.log("DOM fully loaded and parsed"); | |
}); | |
function copyConstructor(obj) { | |
for(var key in obj) { | |
this[key] = obj[key]; | |
} | |
} |
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
document.addEventListener("DOMContentLoaded", function(event) { | |
console.log("DOM fully loaded and parsed"); | |
var dots = document.querySelectorAll(".slides_pagination a"); | |
console.log(dots.length); | |
var main_slides_lst = document.querySelectorAll(".main_slides_lst li"); | |
console.log(main_slides_lst.length); |
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
const BlogHandler = class { | |
constructor(blogbutton, templatetext, url) { | |
this.blogbutton = blogbutton; | |
this.url = url; | |
this.template = Handlebars.compile(templatetext); | |
this.blogbutton.addEventListener("click", this.getJsonData.bind(this)); | |
} | |
getJsonData(template) { |
NewerOlder