วันเสาร์ที่ 13 กุมภาพันธ์ พ.ศ. 2559

วิธีการติดตั้ง Visual SVN Server สำหรับเก็บ Version Control

Visual SVN Server เก็บ Version Control 



วิธีติดตั้ง Visual SVN Server

1. เลือกไฟล์ VisualSVN-Server โดยสามารถโหลดได้จาก download


 2.คลิก Next


3.เลือก I accept the terms in the ..... และ คลิก Next

4.คลิก Next

5.คลิก  ที่  Standard Edition

6.กำหนดค่าต่างๆ และ คลิก Next

7.คลิก Install

8.รอการ ติดตั้งสัครู่

9.เลือก Start VisualSVN Server.... และ คลิก Finish

10.ตัวอย่าง Visual SVN Server

สามารถติดตามการใช้งาน Visual SVN Server และ Tortoise SVN Client ได้จากลิ้งด้านล่างครับ



วันศุกร์ที่ 11 กันยายน พ.ศ. 2558

แปลงข้อความเป็น ไบนารี่ โค้ด


วันนี้ว่างมากครับเลย มาเขียนโค๊ดสำหรับแปลงข้อความเป็น ไบนารี่โค๊ดครับ   ^ ^
ใช้โค๊ด HTML กับ JavaScript เผื่อจะเป็นประโยชน์สำหรับใครสักคนอิอิ เห็น เด็กคอมชอบ ใช้คุยกัน

ใส่ข้อความ

ผลลัพธ์ จากการแปลง


 


หากอยากแปลง จากไบนารี่เป็นข้อความ เข้าที่ลิ้งนี้นะครับ แปลงไบนารี่ โค๊ด เป็นข้อความ

โค๊ด ที่ใช้

<br />
ใส่ข้อความ <br />
<textarea autofocus="" class="inputBinary" id="inputBinary" style="heigth: 250px; width: 350px;">ผม รัก คุณ</textarea>

<br />

ผลลัพธ์ จากการแปลง <br />

<textarea class="outputBinary" id="outputText" readonly="" style="heigth: 250px; width: 350px;"></textarea>

<input onclick="TextToBin()" type="button" value="Convert" />
<script type="text/javascript">

 function TextToBin() {

  

  var input = document.getElementById("inputBinary").value.toString();

  if(input =="")

  {  

   document.getElementById("inputBinary").focus();

   retrun ;

  } 

  var str ="";    

   for (i=0; i < input.length; i++) {

      str+=input[i].charCodeAt(0).toString(2) + " ";

    }

  document.getElementById("outputText").value = str;

 }
 </script>

วันพฤหัสบดีที่ 10 กันยายน พ.ศ. 2558

แปลงไบนารี่ โค๊ด เป็นข้อความ

จากบทความที่ แปลงข้อความเป็นไบนารี่  บทความนี้จะกลับกันนะครับ เป็นการแปลงไบนารี่เป็นข้อความ

ใส่ไบนารี่โค๊ด


ผลลัพท์จากการแปลง



โค๊ด ที่ใช้

<br />
Input Binary Code<br />
<textarea autofocus="" class="inputBinary" id="inputBinary" style="heigth: 250px; width: 350px;">01001000 01100101 01100001 01110010 01110100</textarea>

<br />
Output String <br />
<textarea class="outputBinary" id="outputText" readonly="" style="heigth: 250px; width: 350px;"></textarea>
  <br />
<input onclick="BinToText()" type="button" value="Convert" />


<script type="text/javascript">
 function BinToText() {
  
  var input = document.getElementById("inputBinary").value.toString().split(' ');
  if(input =="")
  {
   alert("ใส่ไบนารี่โค๊ด");
   document.getElementById("inputBinary").focus();
   retrun ;
  } 
  var str =""
  for(var i=0 ;i<input.length;i++)
  {
   str= str+ String.fromCharCode(parseInt(input[i], 2).toString(10))+"";
  }
  document.getElementById("outputText").value = str;
 }
 </script>