This file contains 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
a = document.querySelectorAll('a[data-tooltip]');for(var i=0;i < a.length; i++){a[i].click();} | |
b = document.querySelectorAll('li[data-label="Delete this photo"]>a');for(var i=0;i < b.length; i++){b[i].click();} | |
c = document.querySelectorAll('div[class*=uiLayer] button[type="submit"]');for(var i=0;i < c.length; i++){c[i].click();} |
This file contains 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 django.db import models | |
from django.utils.translation import ugettext_lazy as _ | |
# Create your models here. | |
class ShipmentMethod(models.Model): | |
name = models.CharField(_('วิธีจัดส่ง'), max_length=100) | |
cost = models.FloatField(_('ค่าจัดส่ง')) |
This file contains 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
package model; | |
import database.Column; | |
import database.ORM; | |
import database.SQL; | |
import java.sql.ResultSet; | |
import java.util.List; | |
/** |
This file contains 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
package model; | |
import database.Column; | |
import database.ORM; | |
import database.SQL; | |
import java.sql.ResultSet; | |
import java.util.List; | |
/** |
This file contains 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
package model; | |
import database.Column; | |
import database.ORM; | |
import database.SQL; | |
import java.sql.ResultSet; | |
import java.util.List; | |
/** |
This file contains 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
package model; | |
import java.util.List; | |
/** | |
* Created by Falook Glico on 5/14/2015. | |
*/ | |
public class Student { | |
private String name; | |
private String email; |
This file contains 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
package model; | |
import java.util.List; | |
public class Customer { | |
private String name; | |
private String email; | |
private String password; | |
private String[] qoute; | |
private boolean isAdmin; |
This file contains 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
//สร้างตาราง PhoneList | |
CREATE TABLE PhoneList( | |
Friend_Name VARCHAR2(100) PRIMARY KEY, | |
Phone_Number VARCHAR2(20) | |
); | |
//แทรกข้อมูลลลงไป | |
INSERT INTO PHONELIST VALUES('Bill Gates','088-000-1144'); | |
INSERT INTO PHONELIST VALUES('Steve Jobs','089-123-5555'); | |
COMMIT; |
This file contains 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
package controller.document; | |
import model.Document; | |
import model.DocumentType; | |
import model.ResponseMessage; | |
import javax.naming.NamingException; | |
import javax.servlet.ServletException; | |
import javax.servlet.annotation.WebServlet; | |
import javax.servlet.http.HttpServlet; |
This file contains 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
private void RecDetection(Image<Gray, Byte> img, Image<Bgr, Byte> showRecOnImg, int areaV) | |
{ | |
Image<Gray, Byte> imgForContour = new Image<Gray, byte>(img.Width, img.Height); | |
CvInvoke.cvCopy(img, imgForContour, System.IntPtr.Zero); | |
IntPtr storage = CvInvoke.cvCreateMemStorage(0); | |
IntPtr contour = new IntPtr(); | |
CvInvoke.cvFindContours( |
NewerOlder