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
<LoginScreen@LoadScreen>: | |
id: login_screen | |
name: "login_screen" | |
MDTextField: | |
id: password_textfield | |
name: 'password_textfield' | |
hint_text: "Enter Password" | |
helper_text: "(or click on forgot forgot)" |
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 hotsun; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.bukkit.Bukkit; | |
import org.bukkit.ChatColor; | |
import org.bukkit.Material; | |
import org.bukkit.event.Listener; | |
import org.bukkit.inventory.ItemStack; |
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 hotsun; | |
import org.bukkit.plugin.java.JavaPlugin; | |
public class HotSun extends JavaPlugin | |
{ | |
@Override | |
public void onEnable() | |
{ | |
Timers.timer(this); |
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
yearOne = 0 | |
yearTwo = -1 | |
def getYears(): | |
global yearOne, yearTwo | |
prompt = "Enter the years you would like movies for: " |
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
import dpkt | |
from socket import inet_ntoa | |
try: | |
import cPickle as pickle | |
except: | |
import pickle | |
from multiprocessing import Process, Queue | |
data = {'source':set([]), | |
'destination':set([]), |
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 pomegranate import * | |
import dpkt, traceback, random, time | |
# Small test, 1 for all data, 0 for none | |
def log(text): | |
fileName = "HMM-output.txt" | |
with open(fileName, "a+") as output: | |
output.write(text) |
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
import dpkt | |
from socket import inet_ntoa | |
import traceback | |
import datetime | |
import sys | |
import csv | |
myAddress = '10.0.0.3' | |
badFrames = 0 |
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
import dpkt | |
from socket import inet_ntoa | |
import traceback | |
import datetime | |
import multiprocessing | |
import sys | |
try: | |
import cPickle as pickle | |
except: | |
import pickle |
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
import dpkt | |
from socket import inet_ntoa | |
import traceback | |
import datetime | |
import multiprocessing | |
try: | |
import cPickle as pickle | |
except: | |
import pickle |
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
import UIKit | |
// Assuming this is the values, not the even indexes | |
func sumOfEvens(array: [Int]) -> Int | |
{ | |
var total = 0 | |
for value in array | |
{ | |
if value % 2 == 0 | |
{ |
NewerOlder