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 sys | |
| import subprocess | |
| import re | |
| import os | |
| # Edit the following variables as needed | |
| usesExtraHour = True | |
| systemTimebase = 44100 | |
| fps = 24 |
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
| >>>>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>[-]++++++++++++++++++++++++++++++++.>[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
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 time | |
| class GameOfLife: | |
| def __init__(self): | |
| self.length = 6 | |
| self.board = self.create_board() | |
| self.generation = 0 | |
| self.segmentLength = 3 | |
| self.run() |
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
| .containerMain { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 100%; | |
| height: 80%; | |
| } | |
| .centered { | |
| border: 1px solid #8080803f; |
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
| func savePNG(image: NSImage, path:String) { | |
| let imageRep = NSBitmapImageRep(data: image.tiffRepresentation!) | |
| let pngData = imageRep?.representation(using: .png, properties: [:]) | |
| do { | |
| try pngData!.write(to: URL(fileURLWithPath: path)) | |
| } catch { | |
| print(error) | |
| } |
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 requests | |
| class faceData: | |
| def __init__(self): | |
| pass | |
| def getData(self, url, filename): | |
| headers = { | |
| 'accept': 'application/json', |
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
| william@Williams-MBP bot47 % node . | |
| internal/modules/cjs/loader.js:968 | |
| throw err; | |
| ^ | |
| Error: Cannot find module 'Users/william/Documents/yes/bot47/config.json' | |
| Require stack: | |
| - /Users/william/Documents/yes/bot47/commands/ticket/ticket.js | |
| - /Users/william/Documents/yes/bot47/node_modules/require-all/index.js | |
| - /Users/william/Documents/yes/bot47/node_modules/discord.js-commando/src/registry.js |
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
| - /Users/william/Documents/yes/bot47/index.js | |
| at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) | |
| at Function.Module._load (internal/modules/cjs/loader.js:841:27) | |
| at Module.require (internal/modules/cjs/loader.js:1025:19) | |
| at require (internal/modules/cjs/helpers.js:72:18) | |
| at Object.<anonymous> (/Users/william/Documents/yes/bot47/commands/ticket/ticket.js:3:15) | |
| at Module._compile (internal/modules/cjs/loader.js:1137:30) | |
| at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10) | |
| at Module.load (internal/modules/cjs/loader.js:985:32) | |
| at Function.Module._load (internal/modules/cjs/loader.js:878:14) |