개소리 왈왈/자전거2017. 6. 11. 22:36

수요일인가 온거 같은데 꽤 늦게 올려봄

올해는 스머프의 해! ㅋㅋ



Posted by 구차니
Programming/php2017. 6. 10. 16:48

세션 관련 함수니까

당연히(?) session_start()를 호출해주고 써야 한다.


그걸 모르고 그냥 했으니 당연히 안되었구나 ㅠㅠ


[링크 : http://php.net/manual/kr/function.session-destroy.php]

'Programming > php' 카테고리의 다른 글

php 명령줄 실행에 post / get 인자 넘기기  (0) 2017.07.23
캐시 제어  (0) 2017.07.23
sql injection 방어  (0) 2017.04.26
망할 php define()  (0) 2017.04.25
php hidef?  (0) 2017.04.24
Posted by 구차니

이름없는 함수를 이용해서 자바스크립트를 바로 실행이 가능한데

이걸 이용해서 jquery를 실행하고

jquery에서는 특정 class의 내용을 비워버린다.


<script type="text/javascript">

$(function(){

  $('.hello').empty();

}); 


[링크 : http://www.everdevel.com/kr/jquery/val_empty_remove.php]

[링크 : http://www.nextree.co.kr/p4150/]



+

구현해보는데 깔끔한건지 모르겠으나..

대충 아래같이 구현해봄

<html>

<head>

<script src="./jquery-3.1.1.min.js"></script>

</head>

<?php

        include('./func_db.php');


        if( isset($_POST['id']))

        {

                $db = db_conn();

                $ret = login($db, $_POST['id'], $_POST['pw']);

                if($ret == 1)

                {

                        echo "

<script>

$(function(){

        $('.login_form').empty();

        $('.login_form').append('<input type=submit value=logout>');

})();

</script>";

                }

        }


?>


<body>

<form method="post" action="login_form.php">

        <fieldset style="width: 200px;">

                <legend>login</legend>

                <div class="login_form">

                        <p>

                                id :&nbsp;

                                <input type="text" name="id">

                        </p>

                        <p>

                                pw :&nbsp;

                                <input type="password" name="pw">

                        </p>

                        <p>

                                <input type="submit" value="login">

                        </p>

                </div>

        </fieldset>

</form>

</body>

</html> 


'Programming > javascript & HTML' 카테고리의 다른 글

jquey ajax 테스트  (4) 2018.09.03
jquery 복수 속성 선택하기  (0) 2018.08.30
javascript toString() 진법변환  (0) 2017.05.25
div slide 애니메이션  (0) 2017.01.14
div margin: 0 -200px 0 auto  (0) 2016.01.21
Posted by 구차니
프로그램 사용2017. 6. 9. 19:56

잘은 모르겠으나..

0.91의 경우 한글로 시스템 언어를 변경해도 한글이 안나온다.


0.48의 경우 실행파일에 기본 내장이었으나

0.48 다음 릴리즈인 0.91에서는 한글이 누락된듯?

[링크 : http://rdsong.com/59]



일단.. 버전이 갑자기 확 뛰었다?

[링크 : https://inkscape.org/en/release/0.91/]


[링크 : http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head:/po/]

    [링크 : http://gimp.kr/xe/inkscape_board/435]

Posted by 구차니
회사일2017. 6. 9. 18:48

핸드폰 부품 되면 PCB랑 F-PCB가 같이 하나로 붙어있는데

정작 수리할때는 별로 신기하다고 생각을 안했는데

PCB가 대부분이고 일부 케이블을 F-PCB로 대체한 녀석을 보니 신기해서 검색


구분을 위해서

flex-PCB와

rigid-PCB로 용어를 표기하는 듯


[링크 : http://www.f-pcb.com/html/product_3.php]

[링크 : http://www.samsungsem.com/kr/product/pcb/rigid-flex/index.jsp]

[링크 : http://www.lginnotek.co.kr/products/mobile_riqid.jsp]

[링크 : http://www.newflex.co.kr/sub.aspx?menu=2&sub=2]

'회사일' 카테고리의 다른 글

CAGE code / ECCN  (0) 2018.02.06
HSTL  (0) 2017.07.01
이미지 센서 VDI VDO  (0) 2017.02.11
sdi bt.1120  (0) 2016.12.07
ldo - linear drop out  (0) 2016.12.07
Posted by 구차니

구역을 보다 보니 덕소 - 하남은 제한이 안되는 구역!


150m 상공 이내, 해떠있는 동안은 상관없으니

미사대교(서울-춘천 고속도로 한강쪽 다리 이름) 에서 신호만 도달한다면

덕소에서 날려서 한강 넘겨서 하남까지 날려도 문제 될게 없다 라는건가?!


[링크 : https://www.anadronestarting.com/drone-legal-guide/]

'개소리 왈왈 > 쿼드콥터(RC)' 카테고리의 다른 글

드론 도착!  (0) 2017.06.17
RC 주파수 관련 조사  (0) 2017.06.16
시마 드론 x5 구매 ㅋㅋㅋ  (0) 2017.06.16
시마 드론 관련 검색  (0) 2017.06.16
드론 이론(?)  (0) 2017.06.13
Posted by 구차니
개소리 왈왈2017. 6. 9. 15:23

웬지 탑 사진을 보니 이게 문득 떠오르네 ㅋㅋㅋ

조현아는 오래된(?) 기사들이라 원본은 못 찾음


[링크 : http://v.entertain.media.daum.net/v/20170609151933277]

[링크 : http://www.hani.co.kr/arti/society/society_general/669922.html]

'개소리 왈왈' 카테고리의 다른 글

인터넷 뱅킹 이해할수 없는 백신 정책  (6) 2017.08.07
안녕 01410  (8) 2017.06.30
19대 대선 유권자 수  (0) 2017.05.09
잘 지내고 있냐 후배야  (2) 2017.04.06
대전 현충원 안장자 검색  (0) 2017.01.07
Posted by 구차니

노트2 킷캣 자꾸 죽어서 귀찮은데

더 귀찮게 확 다운그레이드 해봐?



[링크 : http://samsung-updates.com/device/?id=SHV-E250S] 펌웨어

     [링크 : http://pastimelife.com/374]

[링크 : http://anikorea.tistory.com/62] 오딘


'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글

vr 미디어 플레이어  (0) 2017.06.12
다이소 카드보드 vr  (0) 2017.06.12
와이브로 없애려고 밑장까네  (0) 2017.06.04
에그 업데이트  (0) 2017.05.30
egg+ 교체...?  (0) 2017.05.30
Posted by 구차니
파일방2017. 6. 7. 16:06

CLOC (Count Lines of Code)

[링크 : https://sourceforge.net/projects/cloc]

    [링크 : http://onjo.tistory.com/1996]

    [링크 : http://iamaman.tistory.com/1578]


VS2010은 ultimate / premium 부터 

[링크 : https://stackoverflow.com/.../how-do-you-count-the-lines-of-code-in-a-visual-studio-solution]


VS2013은 기본 내장?

[링크 : http://pseg.or.kr/pseg/qna/3922]


Linecounter

[링크 : http://shaeod.tistory.com/370]

'파일방' 카테고리의 다른 글

roundcube - 웹 메일 클라이언트  (0) 2017.07.20
draftsight free 버전  (0) 2017.06.14
gaussian (화학)  (0) 2017.05.10
ANT+ 프로토콜  (0) 2017.04.11
챗봇 관련 링크  (2) 2017.03.28
Posted by 구차니
Linux2017. 6. 7. 15:33



[링크 : https://stackoverflow.com/.../how-to-retrieve-the-gcc-version-used-to-compile-a-given-elf-executable]

'Linux' 카테고리의 다른 글

taint kernel?  (0) 2017.12.03
limits.conf와 ulimit  (0) 2017.08.24
top VIRT?  (0) 2017.05.10
cpulimit 백그라운드 실행 이유  (0) 2017.05.10
wget 로그인 정보 설정  (0) 2017.04.17
Posted by 구차니