In CASE 17.2, XYZ Two Way Radio Service, Inc. v. Uber Techno…

In CASE 17.2, XYZ Two Way Radio Service, Inc. v. Uber Technologies, Inc. (2016), the court analyzed whether Uber’s claims regarding background checks and safety constituted false advertising in violation of the Lanham Act, among other claims. How did the court rule?

from werkzeug.security import generate_password_hashgenerate…

from werkzeug.security import generate_password_hashgenerate_password_hash(“p@ssw0rd”) The code above generated the following value. ‘pbkdf2:sha256:260000$MpzVDWonMGmdBJyd$376ea2bc98aa103b8b4e66cdd9a7edfbf10d890e4ff655780cd5f540612f836a’ If you know the password hash method, the random number used for the method (salt) and the password hash itself, you can easily figure out the actual password.

routes.py@application.route(‘/upload’, methods=[‘GET’, ‘POST…

routes.py@application.route(‘/upload’, methods=[‘GET’, ‘POST’])def upload(): file = UploadFileForm() if file.(1): f = file.file_selector.data filename = f.filename file_dir_path = os.path.join(application.instance_path, ‘files’) file_path = os.path.join(file_dir_path, filename) f.save(file_path) return redirect(url_for(‘index’)) return render_template(‘upload.html’, form=file) upload.html File Upload{{ form.file_selector }}{{ form.submit }}   For the given routes.py and upload.html, the /upload route renders the template normally and stores a submitted file without any issues.

In CASE 16.1 Leegin Creative Leather Products, Inc. v. PSKS,…

In CASE 16.1 Leegin Creative Leather Products, Inc. v. PSKS, Inc. (2007), Leegin instituted a retail pricing and promotion policy and refused to sell to retailers that discounted Brighton goods below Leegin’s suggested retail prices. PSKS sued Leegin, alleging that Leegin had violated the antitrust laws by “enter[ing] into agreements with retailers to charge only those prices fixed by Leegin.” The court agreed with PSKS that it is per se illegal for a manufacturer to agree with its distributor to set the minimum price that the distributor can charge for the manufacturer’s goods. The appeal of this decision involved a question of whether _____ should be analyzed under the _____.