Setup a LightSail VM with at least 4Gb of RAM. Go to the Networking tab, and set all ports to open in the Firewall section on AWS Get the latest Openshift release from their Github Extract everything to an openshift folder. tar -xvzf openshift openshift-origin-server*
Move all binaries from the openshift folder to /usr/bin rm -rf openshift*/README.md<br /> rm -rf openshift*/LICENSE<br /> mv openshift*/* /usr/bin
Found some free time this weekend, decided to put it to use with some long needed updates to GateSentry. I’ve just pushed an update to the update server, which means if you’re using GateSentry, your client should update to the latest build automatically 🙂 . Here’s whats new:
Bug fixes in the administration panel Added capability of blocking internet access in multiple time slots throughout the week. Now you can specify time slots during which GateSentry will block access.
If you’re using GateSentry’s Raspberry Pi image, you might be seeing some certificate expiry errors in your browser as of 2nd October 2017. This post will help you regenerate GateSentry’s certificate so you can continue using it. Here’s how to do that:
Connect to your Raspberry Pi via SSH (use Putty on Windows) The credentials are username:pi and password:raspberry Generate a new certificate with the following command (replace XXX with number of days that you want the certificate to be valid for example 365 ): openssl req -new -newkey rsa:2048 -days XXX -nodes -x509 -keyout myCA.
Amazon web services has a very comprehensive set of documentation when it comes to cloud providers. But the readability is, quite frankly, terrible. I spent some time today in setting up everything to get a simple CRUD running. Thought I’d document the whole process for my future self, or any one else who’s trying to do the same thing.
What are we building ? This:
Just to demonstrate how we could build a serverless data store for headless apps (Mobile, IoT) and make it easily accessible via an HTTP API using AWS lambda.
Note: This tutorial is designed for people, who’re already aware of the Flux based design process which react-redux enforces. In this tutorial we are going to simply call a backend API and retrieve some data from it using react-redux.
About the app we are building
Our application is pretty generic. It’s a display of a bunch of categories, clicking any of which loads posts from that category. To load posts we make a call to a backend API.
I often find myself wasting time setting up a base for frontend projects involving both React and Redux. Instead of doing it from scratch every single time, thought I’d just commit a brain dump here on my blog.
The sample application that’s built here is a simple random number generator. This application uses ES6 syntax. Before starting to read this post, I’d recommend you to familiarize yourself with the folder structure and source code of this little application, here.
Since last year’s release, I decided to do a complete rewrite of GateSentry in Golang. I decided to ditch both Squid and Dansguardian (which are both extremely awesome) because they make it a little difficult to package and ship GateSentry as a single cross platform binary.
So as of this release GateSentry has its own self contained proxy server and a parental control suite packaged together in a single binary. Aside from good old filtering features I’ve added a few more requested features to it as well, check out the whole thing here.
Update as of March 2017 – I’ve released a newer version that works on Windows/Mac/Linux too! Check it out here.
I built GateSentry back in 2014 as a single appliance based solution to filter my home’s internet traffic; block advertisements and obscene content and also have a nice User Interface which anyone could manage. For the overall community’s benefit I also decided to share my efforts as a nice easy to install image.
If you’re like me; someone whose parents get super-worried if you miss their phone calls when it gets late and you’re on a night out with your friends. You have a smartphone and want to keep them updated with your live location even when you somehow miss their calls. And you want to do that without spending 15 bucks a month, installing some spy app or jail-breaking your phone. Then, this simple free solution might be exactly what you’re looking for.
I recently wrote a simple PHP web app for creating Twitter data collection campaigns. It allows you to download hundreds of thousands of tweets [tested upto 1.2 million tweets on an Amazon EC2 instance] based on a specific set of keywords. The data it produces is stored in a MySQL database which can further be converted to a CSV or any other format of your choice.
The data collected is properly formatted and stored in a MySQL database, here are the fields that are recorded: