pip3 install pipenv
pipenv shell
| <?xml version="1.0"?> | |
| <configuration> | |
| <system.web> | |
| <!-- Make directory public. Allow anonymous users access to everything in this directory. --> | |
| <authorization> | |
| <allow users="*"/> | |
| </authorization> | |
| </system.web> | |
| # Copyright 2019, Alexander Hass | |
| # https://www.hass.de/content/setup-microsoft-windows-or-iis-ssl-perfect-forward-secrecy-and-tls-12 | |
| # | |
| # After running this script the computer only supports: | |
| # - TLS 1.2 | |
| # | |
| # Version 3.0.1, see CHANGELOG.txt for changes. | |
| Write-Host 'Configuring IIS with SSL/TLS Deployment Best Practices...' | |
| Write-Host '--------------------------------------------------------------------------------' |
| #!/bin/bash | |
| # based on http://stackoverflow.com/questions/755382/i-want-to-delete-all-bin-and-obj-folders-to-force-all-projects-to-rebuild-everyt | |
| find . -iname "bin" -type d | xargs rm -rf | |
| find . -iname "obj" -type d | xargs rm -rf | |
| # clear VS4Mac temporary downloads | |
| echo ~/Library/Caches/VisualStudio/7.0/TempDownload/ | |
| for f in ~/Library/Caches/VisualStudio/7.0/TempDownload/* ; do | |
| sudo rm -rf $f | |
| done |
| # The trick is to link the DeviceSupport folder from the beta to the stable version. | |
| # sudo needed if you run the Mac App Store version. Always download the dmg instead... you'll thank me later :) | |
| # Support iOS 15 devices (Xcode 13.0) with Xcode 12.5: | |
| sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/15.0 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
| # Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions | |
| # (A similar approach works for older versions too, just change the version number after DeviceSupport) |
#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.
Run the following commands in sequence.
sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
| package com.andyinthecloud.legoev3force.ev3kernal; | |
| import lejos.hardware.Button; | |
| import lejos.hardware.motor.Motor; | |
| import lejos.hardware.port.SensorPort; | |
| import lejos.hardware.sensor.EV3TouchSensor; | |
| import lejos.robotics.SampleProvider; | |
| import lejos.robotics.filter.AbstractFilter; | |
| /** |
OK, you can pretty much ignore what I wrote below this update, because it doesn't really apply anymore.
I wrote this over a year ago, and at the time I had spent a couple of weeks trying to get Kafka 0.8 working with .NET and then Node.js with much frustration and very little success. I was rather angry. It keeps getting linked, though, and just popped up on Hacker News, so here's sort of an update, although I haven't used Kafka at all this year so I don't really have any new information.
In the end, we managed to get things working with a Node.js client, although we continued to have problems, both with our code and with managing a Kafka/Zookeeper cluster generally. What made it worse was that I did not then, and do not now, believe that Kafka was the correct solution for that particular problem at that particular company. What they were trying to achieve could have been done more simply with any number of other messaging systems, with a subscriber reading messages off and writing