Skip to content

Instantly share code, notes, and snippets.

View kimyongyeon's full-sized avatar
🏠
Working from home

bigboss kimyongyeon

🏠
Working from home
View GitHub Profile
🌞 Morning 3 commits β–ˆβ–ˆβ–ˆβ–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 17.6%
πŸŒ† Daytime 8 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 47.1%
πŸŒƒ Evening 3 commits β–ˆβ–ˆβ–ˆβ–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 17.6%
πŸŒ™ Night 3 commits β–ˆβ–ˆβ–ˆβ–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 17.6%
<form action="/action_page.php" method="get">
First name: <input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
<input type="submit" value="Submit">
</form>
<script type=text/javascript>
$(function() {
$('a#calculate').bind('click', function() {
$.getJSON($SCRIPT_ROOT + '/_add_numbers', {
a: $('input[name="a"]').val(),
b: $('input[name="b"]').val()
}, function(data) {
$("#result").text(data.result);
});
return false;
<script type=text/javascript>
$(function() {
$('a#calculate').bind('click', function() {
$.getJSON($SCRIPT_ROOT + '/_add_numbers', {
a: $('input[name="a"]').val(),
b: $('input[name="b"]').val()
}, function(data) {
$("#result").text(data.result);
});
return false;
<script type=text/javascript>
$(function() {
$('a#calculate').bind('click', function() {
$.getJSON($SCRIPT_ROOT + '/_add_numbers', {
a: $('input[name="a"]').val(),
b: $('input[name="b"]').val()
}, function(data) {
$("#result").text(data.result);
});
return false;
@kimyongyeon
kimyongyeon / ftp_upload.py
Created June 9, 2016 04:23 — forked from niceaji/ftp_upload.py
python-ftpνŒŒμΌμ—…λ‘œλ“œ
#!/usr/bin/env python
import ftplib
ftp = ftplib.FTP('host','user','password')
fname = "μ—…λ‘œλ“œν•  파일λͺ…(path포함가λŠ₯"
full_fname = "둜컬파일λͺ…(path포함가λŠ₯)"
ftp.storlines('STOR '+ fname, open(full_fname, 'rb'))
ftp.quit()