npm install -g prettier
which prettier
-> ^ remember the path
IDEA: settings -> external tools -> add new
For the lack of a nail, | |
throw new HorseshoeNailNotFoundException("no nails!"); | |
For the lack of a horseshoe, | |
EquestrianDoctor.getLocalInstance().getHorseDispatcher().shoot(); | |
For the lack of a horse, | |
RidersGuild.getRiderNotificationSubscriberList().getBroadcaster().run( | |
new BroadcastMessage(StableFactory.getNullHorseInstance())); |
const password = 'kuikka' | |
const keyIv = cryptoUtils.deriveAES256KeyAndIv(password.replace(/\s/g, '')) | |
const maxFileSize = 2 * 1024 * 1024 * 1024 | |
const isMeb = fileName => /\.meb$/.test(fileName) | |
const isZip = fileName => isMeb(fileName) || /\.zip$/.test(fileName) | |
const isEncryptedZip = fileName => /\.zip\.bin$/.test(fileName) | |
const isEncryptedJson = fileName => /\.json\.bin$/.test(fileName) | |
const readZipContents = (zipFileName, zipContents) => { |
days = 16 | |
current_body_count = 400 | |
body_count = current_body_count | |
for d in range(1, days+1): | |
if d % 3 == 0: | |
body_count = body_count * 2 | |
print("body count: ", body_count) | |