This guide is has moved to https://epicserve-docs.readthedocs.org/en/latest/django/ubuntu-server-django-guide.html.
source :rubygems | |
gem 'sinatra' | |
gem 'json' | |
gem 'omniauth' | |
gem 'omniauth-oauth2' | |
gem 'omniauth-github' | |
# gem 'omniauth-att', :path => File.expand_path("./../../omniauth-att", __FILE__) | |
gem 'thin' |
# For the most up to date information and installation process, | |
# go to https://neo4j.com/docs/operations-manual/current/installation/linux/debian/#debian-installation | |
# Get the debian package from neo4j | |
wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo apt-key add - | |
echo 'deb https://debian.neo4j.com stable latest' | sudo tee -a /etc/apt/sources.list.d/neo4j.list | |
sudo apt-get update | |
# Installs neo4j | |
sudo apt-get install neo4j |
The below example shows how to implement a Repository of objects in a generic fashion. (This is the VB.NET version of my previous GIST) This was adapted and simplified from this article: https://code.msdn.microsoft.com/generic-repository-pattern-ddea2262
The point of this code is to allow the generic access to any object type in the datastore without the need to define a repository for each object. It is important to note that, although the below examples should work as is, it is recommended to make use of a dependency injection framework as database connection limits are not considered.
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
Stack Name | Stack Type | Operating System / Platform | Server | Database | Language or SDK | Framework | UI | Message Bus / Queue | |
---|---|---|---|---|---|---|---|---|---|
AMP | Web (Backend) | Apache | MySQL / MariaDB | Perl / PHP / Python | |||||
BAMP | Web (Backend) | BSD | Apache | MySQL / MariaDB | Perl / PHP / Python | ||||
BAPP | Web (Backend) | BSD | Apache | PostgreSQL | Perl / PHP / Python | ||||
BCHS | Web (Backend) | BSD | SQLite | httpd | C | ||||
DAMP | Web (Backend) | Darwin | Apache | MySQL / MariaDB | Perl / PHP / Python | ||||
ELK | Time Series Data | Logstash | Elasticsearch | Kibana | |||||
ELKB | Time Series Data | Logstash | Elasticsearch | Beats | Kibana | ||||
FAMP | Web (Backend) | FreeBSD | Apache | MySQL / MariaDB | Perl / PHP / Python | ||||
FWAP | Web (Backend) | Windows | Apache | Firebird | Perl / PHP / Python |
#!/bin/bash | |
# Functions ============================================== | |
# return 1 if global command line program installed, else 0 | |
# example | |
# echo "node: $(program_is_installed node)" | |
function program_is_installed { | |
# set to 1 initially | |
local return_=1 |
Below are a small collection of React examples to get anyone started using React. They progress from simpler to more complex/full featured.
They will hopefully get you over the initial learning curve of the hard parts of React (JSX, props vs. state, lifecycle events, etc).
You will want to create an index.html
file and copy/paste the contents of 1-base.html
and then create a scripts.js
file and copy/paste the contents of one of the examples into it.
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### |