This file contains hidden or 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
| { | |
| "user_feedback" : { | |
| "-KVDxmeEV90ikzTrqvcO" : { | |
| "feedbackDetail" : "ลองแปป", | |
| "feedbackTopic" : "เทส", | |
| "feedbackType" : "App problem", | |
| "timestamp" : "29/10/2016 12:43:49", | |
| "email" : "123456@gmail.comm" | |
| }, | |
| "-KVDzbD9Ct0K5sAYJ7V9" : { |
This file contains hidden or 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 tkinter import * | |
| from tkinter.ttk import * | |
| class Application(Frame): | |
| def __init__(self, master): | |
| # initialize frame | |
| Frame.__init__(self, master) | |
| self.grid() | |
| self.create_widgets() | |
This file contains hidden or 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 tkinter import * | |
| from tkinter.ttk import * | |
| class Application(Frame): | |
| def __init__(self, master): | |
| # initialize frame | |
| Frame.__init__(self, master) | |
| self.grid() | |
| self.create_widgets() | |
This file contains hidden or 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
| def decimal2base(num, base): | |
| result = str() | |
| while (num > 0): | |
| old_num = num | |
| num = int(num/base) | |
| # reminder = int(num%base) | |
| reminder = old_num - (num*base) | |
| result = str(reminder) + result | |
| if (base == 2): | |
| print ("0b" + result) |
This file contains hidden or 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
| import math | |
| def base2decimal(num, base): | |
| result = 0 | |
| for i in range(len(str(num))): | |
| if (i < len(str(num))): | |
| result += int(int(str(num)[i]) * math.pow(base, i)) | |
| print (result) | |
| if __name__=="__main__": |
This file contains hidden or 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
| INSERT INTO Players (playerno,pname,initials,Year_of_birthsex,year_jointed,town,leagueno) | |
| VALUES (6,Paramenter,R,1964,M,1977,Stratford,8467); | |
| CREATE TABLE Teams | |
| ( paymentno int, | |
| pdate datetime, | |
| amonut float, | |
| PRIMARY KEY (paymentno) | |
| ) |
This file contains hidden or 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 com.mikkipastel.exoplanet.playlist; | |
| import android.content.Context; | |
| import android.view.LayoutInflater; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.BaseAdapter; | |
| import android.widget.ImageView; | |
| import android.widget.TextView; |
This file contains hidden or 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
| { | |
| "name": "MikkiPastel Portfolio", | |
| "short_name": "MikkiPastel", | |
| "icons": [{ | |
| "src": "images/icons/icon-128x128.png", | |
| "sizes": "128x128", | |
| "type": "image/png" | |
| }, { | |
| "src": "images/icons/icon-144x144.png", | |
| "sizes": "144x144", |
This file contains hidden or 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
| var dataCacheName = 'MikkiPastel-v1'; | |
| var cacheName = 'MikkiPastel-1'; | |
| var filesToCache = [ | |
| '/', | |
| '/favicon.ico', | |
| '/index.html', | |
| '/about.html', | |
| '/BKroute.html', | |
| '/healthMe.html', | |
| '/ipcam.html', |
This file contains hidden or 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 com.mikkipastel.exoplanet.playlist; | |
| import android.view.View; | |
| public interface ItemListener { | |
| void onClick(View v, int position); | |
| } |