블로그
- perl - name: Parse logs using Perl and logical query hosts: target_hosts vars: query: "id=aaaa and (name=bbb or name=ccc)" log_path: "/var/log/sample.log" tasks: - name: Run Perl script to parse logs shell: |
- jQuery 값 가져오기 -id 값 기준으로 가져오기 var valueById = $('#inputId').val(); -name 값 기준으로 가져오기 var valueById = $('input[name=
- JAVASCRIPT 제어문 변수 [ 배열 ] var name = [ 현명, 혜정, 서연, 유민, 선민 ] document.write(name[0]); //현명 document.write(name[1]); //
- Intent { super.onCreate(savedInstanceState) setContentView(R.layout.activity_intent) //var btn_change : Button ) //명시적 인텐트 val intent2 = Intent(this@Intent1, Intent2::class.java) intent2.apply { this.putExtra("NAME
- [js/jqeury] cookie 활용하기 먼저 쿠키 생성은 document.cookie = "name=good"; 만료시간이 있는 쿠키의 생성은 document.cookie="name=good; expires = Fri, Jan 2017 07:00:00 GMT"; 쿠키를 생성하는 함수는 다음과 같습니다. function makeCookie(name, value, expires){ var x = new
- [JSON]stringify() : browser sends data to Web Server with String Stringify a JavaScript ObjectImagine we have this object in JavaScript: var obj = { "name":"John", "age ":30, "city":"New York"};Use the JavaScript function JSON.stringify() to convert it into a string. var
- [JSON]parse() : browser receive data from Web Server with Object Example - Parsing JSONImagine we received this text from a web server: '{ "name":"John", "age":30, "city ":"New York"}'Use the JavaScript function JSON.parse() to convert text into a JavaScript object: var
- [Mysql] MySQL 에러 MySQL server through socket '/tmp/mysql.sock' (2)Can't connect to local MySQL server through socket '/var ;(yum 으로 설치했으면 /usr/bin/에 mysqld_safe가 있을듯) 또는/etc/init.d/mysqld start 이 모두 실행파일이 없다며 안된다면 find / -name
- JQuery SelectBox 정리 JQuery SelectBox 정리 1. jQuery로 선택된 값 읽기 $("#selectBox option:selected").val(); $("select[name=name]") 선택된 위치 var index = $("#test option").index($("#test option:selected")); 4.
- [EXTJS 3.2.1] 콤보박스 Autocomplete를 remote로 구현 :'string' }, {name :'r_object_id', type:'string' }, {name :'title' , type:'string' }, {name :'old_last_rev }, {name :'purpose' , type:'string' }, {name :'fbs_cd' , type:'string' }, {name :'unit_cd' , type:'string
1 페이지
다음 →