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
# to change to safe mode | |
sudo mysqld_safe --skip-grant-tables | |
# to login to the terminal enter: | |
mysql u - root | |
# run this command to update password | |
UPDATE mysql.user SET Password=PASSWORD('password') WHERE user = 'root'; | |
# dont forget to flush privileges | |
FLUSH PRIVILEGES; |
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
Traceback (most recent call last): | |
File "/Users/igor/cardGame/cardGame/GUI.py", line 46, in <module> | |
app = TexasHoldem() | |
File "/Users/igor/cardGame/cardGame/GUI.py", line 14, in __init__ | |
self.switch_frame(StartPage) | |
File "/Users/igor/cardGame/cardGame/GUI.py", line 19, in switch_frame | |
new_frame = frame_class(self) | |
File "/Users/igor/cardGame/cardGame/GUI.py", line 36, in __init__ | |
tk.Image(self, command = open("img//texas-holdem-poker.png")) | |
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 3498, in __init__ |
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
#! /usr/bin/python | |
from sys import argv | |
from os.path import exists | |
from os import makedirs | |
from os import symlink | |
from os import system | |
import getopt | |
# |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<?import javafx.geometry.*?> | |
<?import javafx.scene.control.*?> | |
<?import java.lang.*?> | |
<?import javafx.scene.layout.*?> | |
<?import javafx.geometry.Insets?> | |
<?import javafx.scene.layout.GridPane?> | |
<?import javafx.scene.control.Button?> | |
<?import javafx.scene.control.Label?> |
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 sample; | |
import eu.hansolo.tilesfx.Tile; | |
import eu.hansolo.tilesfx.TileBuilder; | |
import eu.hansolo.tilesfx.skins.BarChartItem; | |
import javafx.collections.FXCollections; | |
import javafx.collections.ObservableList; | |
import javafx.collections.transformation.FilteredList; | |
import javafx.fxml.FXML; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.TableColumn; |
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 sample; | |
import eu.hansolo.tilesfx.Tile; | |
import eu.hansolo.tilesfx.TileBuilder; | |
import eu.hansolo.tilesfx.skins.BarChartItem; | |
import javafx.collections.FXCollections; | |
import javafx.collections.ObservableList; | |
import javafx.collections.transformation.FilteredList; | |
import javafx.fxml.FXML; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.TableColumn; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<script async src="todo.js"></script> | |
<title>Document</title> | |
</head> | |
<body> |
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 addButton = document.getElementById("addItem"); | |
addButton.addEventListener('click', function(){ | |
var inputEl = document.getElementById('toDoInput'); | |
var input = inputEl.value; | |
if(!input) return; | |
console.log(input); | |
var li = document.createElement('li'); | |
console.log(li); | |
var list = document.getElementById('list'); |
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 sample; | |
import javafx.collections.FXCollections; | |
import javafx.collections.ObservableList; | |
import javafx.fxml.FXML; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.TableColumn; | |
import javafx.scene.control.TableView; | |
import javafx.scene.control.TextField; | |
import javafx.scene.control.cell.PropertyValueFactory; |
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
<script> | |
(function(w, d, s, l, i) { | |
w[l] = w[l] || []; | |
w[l].push({ | |
'marketcall.start': new Date().getTime(), | |
event: 'mccb.js' | |
}); | |
var f = d.getElementsByTagName(s)[0], | |
j = d.createElement(s), | |
dl = l != 'mcLayer' ? '&l=' + l : ''; |
NewerOlder