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
class Bot { | |
constructor(client){ | |
this.client = client; | |
this.client.otherFunc(); | |
} | |
someFunc(str){ | |
} | |
} |
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 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 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 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 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 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 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
const {workerData: code, parentPort} = require('worker_threads'); | |
async function done(error, result) { | |
parentPort.postMessage({error: error, result: result, logged: console._items}); | |
} | |
/* most extra functions could be possibly unsafe*/ | |
const whitey = { | |
Array: 1, | |
Boolean: 1, |
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
Intimus pacmaster s, The PacMaster S packaging material shredders allow businesses to recycle their cardboard packaging in a unique way., https://nonagon-paddlefish-5ywp.squarespace.com/s/IS_PacMasterS_VS_01-18_en.pdf, TECHNOLOGY | |
Shreds old and obsolete cardboard to robust packaging material, Well designed controls: lockable power switch is also an emergency stop switch, Single pass operation, Lockable master switch, Size guide on the work surface to ensure accurate cutting of the cardboard to customise the stuffing mats to required format | |
Extremely robust steel plate housing for heavy duty use at the packing station, SPECIFICATIONS, Dimensions (H x W x D): 37.4" x 27.1" x 18.5", Cutting Speed: 7.1 in/sec | |
Supply Voltage: 400 V, Noise level (dB(A)): 62-68.5, Weight: 308.6 lbs | |
HSM SHREDSTAR S10, DOCUMENT SHREDDER, Data protection for everyone., This modern and compact strip cut document shredder with a separate CD cutting unit destroys your data reliably and quietly, both at home or in a small office., https:// |
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
return ( | |
(body['adult-tickets'] && body['student-ticket']) // make sure that the number of tickets are there (we use this to calculate price) | |
&& (/^\d+$/.test(body["adult-tickets"]) && /^\d+$/.test(body["student-tickets"])) // make sure they are numbers | |
&& (body["adult-tickets"] = parseInt(body["adult-tickets"])) // parse em and make sure it worked | |
&& (body["student-tickets"] = parseInt(body["student-tickets"])) | |
&& (body["adult-tickets"] > 0 || body["student-tickets"] > 0) // check that either student or adult ticket forms were included | |
&& (body["adult_tickets"].length === body["adult-tickets"] || body["student_tickets"].length === body["student-tickets"]) // check that we have all the forms and no more | |
&& [body["adult_tickets"], body["student_tickets"]].every( | |
b => keys.every(e => Object.keys(b).includes(e) && b[e].length < 255)) // make sure all the keys in the above array are in the all of the inputs for each | |
&& [body["adult_tickets"], |
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
$ journalctl -xe | |
-- Unit mysql.service has begun starting up. | |
Nov 15 14:03:29 webserver-tt audit[16495]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name=" | |
Nov 15 14:03:29 webserver-tt kernel: audit: type=1400 audit(1573826609.473:118): apparmor="DENIED" operation="open" | |
Nov 15 14:03:29 webserver-tt audit[16501]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name=" | |
Nov 15 14:03:29 webserver-tt kernel: audit: type=1400 audit(1573826609.533:119): apparmor="DENIED" operation="open" | |
Nov 15 14:03:29 webserver-tt mysqld[16501]: Initialization of mysqld failed: 0 | |
Nov 15 14:03:29 webserver-tt systemd[1]: mysql.service: Control process exited, code=exited status=1 | |
Nov 15 14:03:29 webserver-tt systemd[1]: mysql.service: Failed with result 'exit-code'. | |
Nov 15 14:03:29 webserver-tt systemd[1]: Failed to start MySQL Community Server. |