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
sqlite.open(path.join('/', 'Users', 'joshuabrown3', 'Desktop', 'chat.db')).then(db => db.all('SELECT * FROM `chat`').then(chats => { | |
const promises = []; | |
const convos = chats.map(chat => { | |
const convo = new Conversation(chat, db); | |
promises.push(new Promise(resolve => { | |
convo.on("ready", resolve); | |
})); | |
convos.push(convo); | |
}); | |
Promise.all(promises).then(_ => { |
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
db.all('SELECT `chat`.`chat_identifier`,`chat`.`ROWID`,`chat`.`service_name` FROM `chat`').then(chats => { | |
chats.forEach(chat => { | |
db.all(`SELECT message.text,message.\`is_from_me\`,message.service,message.date FROM chat_message_join INNER JOIN message ON chat_message_join.message_id = message.ROWID WHERE chat_message_join.chat_id = ${chat.ROWID} ORDER BY message.date ASC`).then(messages => { | |
addThread(chat.chat_identifier, chat.ROWID, chat.service_name, messages) | |
}); | |
}); | |
}); |
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
106.12.40.233 - - [08/Sep/2019:17:11:25 -0400] "GET / HTTP/1.1" 302 213 | |
106.12.40.233 - - [08/Sep/2019:17:11:25 -0400] "POST /%75%73%65%72%2e%70%68%70 HTTP/1.1" 302 221 | |
106.12.40.233 - - [08/Sep/2019:17:11:25 -0400] "GET /index.php HTTP/1.1" 302 222 | |
106.12.40.233 - - [08/Sep/2019:17:11:26 -0400] "GET /phpmyadmin/index.php HTTP/1.1" 302 233 | |
106.12.40.233 - - [08/Sep/2019:17:11:26 -0400] "GET /phpMyAdmin/index.php HTTP/1.1" 302 233 | |
106.12.40.233 - - [08/Sep/2019:17:11:26 -0400] "GET /pmd/index.php HTTP/1.1" 302 226 | |
106.12.40.233 - - [08/Sep/2019:17:11:26 -0400] "GET /pma/index.php HTTP/1.1" 302 226 | |
106.12.40.233 - - [08/Sep/2019:17:11:27 -0400] "GET /PMA/index.php HTTP/1.1" 302 226 | |
106.12.40.233 - - [08/Sep/2019:17:11:27 -0400] "GET /PMA2/index.php HTTP/1.1" 302 227 | |
106.12.40.233 - - [08/Sep/2019:17:11:27 -0400] "GET /pmamy/index.php HTTP/1.1" 302 228 |
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
!function (t) { | |
var e = {}; | |
function n(r) { | |
if (e[r]) | |
return e[r].exports; | |
var i = e[r] = { | |
i: r, | |
l: !1, | |
exports: {} | |
}; |
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 Download from './Download'; | |
import DownloadItem from './components/DownloadItem/DownloadItem.js'; | |
import React from "react"; | |
import Enum from './enum.js'; | |
const {DownloadStatus} = Enum; | |
const events = window.require('events'); |
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
class Bot { | |
constructor(client){ | |
this.client = client; | |
this.client.otherFunc(); | |
} | |
someFunc(str){ | |
} | |
} |
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
java.util.ArrayList; | |
import javafx.geometry.Pos; | |
import javafx.application.Application; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.stage.Stage; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.scene.layout.Pane; | |
import javafx.scene.layout.HBox; |
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
java.util.ArrayList; | |
import javafx.geometry.Pos; | |
import javafx.application.Application; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.stage.Stage; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.scene.layout.Pane; | |
import javafx.scene.layout.HBox; |