(smtp.response contains "micro") or (smtp.response contains"yahoo")
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# REF http://effbot.org/tkinterbook/canvas.htm#canvas.Canvas.tag_lower-method | |
# REF https://www.daniweb.com/programming/software-development/threads/325835/tkinter-resize-text-widget-along-with-root-window | |
# REF http://zetcode.com/gui/tkinter/drawing/ | |
# REF http://www.python-course.eu/tkinter_events_binds.php | |
# REF http://www.python-course.eu/tkinter_canvas.php |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<?php | |
$db = mysqli_connect("localhost","root","your@password@1234@5678" , "track" ); |
#Demo/ Test Angular only
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
<?php | |
/****************************************************************** | |
Author/Coder : Thitipong Samranvanich | |
Since : 2017-06-8 | |
github : https://gist.github.com/tps2015gh/89e34a18bac71eb7b0d0f4970528bd6a | |
******************************************************************/ | |
//======= parameter , can edit | |
$month = "Mar"; | |
$year = "2017"; |
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
/****************************************************************** | |
Author: Thitipong Samranvanich | |
Since : 6 June 2017 | |
objective: Demo How to use WebSQL in Google Chrome Console | |
Create Database , Create Table , Insert Data , Select Data to Display as HTML | |
TestWith : Google Chrome version 58.x.x.x | |
Platform : Windows | |
*********************************************************************/ | |
- python.exe -m pip install pyGAME
- python.exe -m pip install pyOPENGL
and then
open notepad.exe
open this url
https://pythonprogramming.net/opengl-rotating-cube-example-pyopengl-tutorial/
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
// Author Thitipong Samranvanich | |
// Since 2017-05-28 | |
// For: Demo Java 2D Painting + Swing GUI | |
// STILL ERROR , CAN NOT MOUSE MOVE , By Mouse Click is OK | |
import javax.swing.JFrame; | |
import javax.swing.JLabel; | |
import javax.swing.JPanel; | |
import javax.swing.JTextField; |
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
#========================================================================================= | |
# Author: Thitipong Samranvanich | |
# Since: 25/05/2017 | |
# Platform: Windows10 + Python27 , Editor notepad | |
# ProgramDesc : DEMO Draw Circle from 1 degree to 360 degree / Simple Animation | |
# NOTE: Upgrade pip by | |
# c:\Python27\python.exe -m pip install --upgrade pip | |
# | |
#========================================================================================= | |
#== REFERENCE |
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
<?php | |
//====================================================================== | |
// Author: Thitipong Samranvanich | |
// Since : 2017-05-25 | |
// UseFor: Parse PHP CodeIgniter log , Display only Error Rows | |
// Copyright 2016 | |
//====================================================================== | |
// create and test pattern online by https://regex101.com/ | |
$a_str = file("logslog-2017-03-09.php"); |