When you start a clean Linode, it isn't secured in the following aspects:
- Allows root SSH login
- Uses password authentication on SSH
- Doesn't have a firewall
| # Copyright (C) 2013 Wesley Baugh | |
| """Tools for text classification. | |
| Extracted from the [infer](https://github.com/bwbaugh/infer) library. | |
| """ | |
| from __future__ import division | |
| import math | |
| from collections import defaultdict, namedtuple, Counter | |
| from fractions import Fraction |
| console.info('Hello'); |
| const fs = require("fs-extra"); | |
| const path = require("path"); | |
| const klaw = require("klaw"); | |
| const through2 = require("through2"); | |
| function run(newBuildFolder = "./dist", staticFolderName = "statiz") { | |
| fs.remove("./dist").then(() => | |
| fs.copy("./build", newBuildFolder).then(() => { | |
| const updateFolderBuildFile = through2.obj(function(item, enc, next) { | |
| if (/\.(js|css|json|html)$/.test(path.extname(item.path))) { |
| var Multipart = { | |
| parse: (function() { | |
| function Parser(arraybuf, boundary) { | |
| this.array = arraybuf; | |
| this.token = null; | |
| this.current = null; | |
| this.i = 0; | |
| this.boundary = boundary; | |
| } |
| BaseForm.js:53 Uncaught ReferenceError: getModel is not defined | |
| at AutoValidatedQuickAntDForm.__getModel__REACT_HOT_LOADER__ (BaseForm.js:53) | |
| at AutoValidatedQuickAntDForm.BaseForm._this.getModel (BaseForm.js:44) | |
| at AutoValidatedQuickAntDForm.getChildContextModel (BaseForm.js:84) | |
| at AutoValidatedQuickAntDForm.getChildContext (BaseForm.js:63) | |
| at processChildContext (react-dom.development.js:5456) | |
| at invalidateContextProvider (react-dom.development.js:5506) | |
| at finishClassComponent (react-dom.development.js:7889) | |
| at updateClassComponent (react-dom.development.js:7850) | |
| at beginWork (react-dom.development.js:8225) |
| { | |
| "presets": [ | |
| "es2015", | |
| "react" | |
| ] | |
| } |
| // Documentation: https://github.com/beautify-web/js-beautify | |
| // Example URL: https://github.com/victorporof/Sublime-HTMLPrettify/blob/master/.jsbeautifyrc | |
| // Based on Airbnb's JavaScript Style Guide, URL: https://github.com/airbnb/javascript | |
| { | |
| // Collapse curly brackets | |
| "brace_style": "collapse", | |
| // Break chained method calls across subsequent lines | |
| "break_chained_methods": true, |
| var path = require('path'); | |
| var _invalidateRequireCacheForFile = function(filePath){ | |
| delete require.cache[path.resolve(filePath)]; | |
| }; | |
| var requireNoCache = function(filePath){ | |
| _invalidateRequireCacheForFile(filePath); | |
| return require(filePath); | |
| }; |
These rules are adopted from the AngularJS commit conventions.