Skip to content

Instantly share code, notes, and snippets.

View ntenisOT's full-sized avatar

Georgios Larkou ntenisOT

View GitHub Profile
@ntenisOT
ntenisOT / juggernaut_heroku.md
Created June 21, 2011 17:50 — forked from maccman/juggernaut_heroku.md
Juggernaut on Heroku

Clone repo:

git clone git://github.com/maccman/juggernaut.git
cd juggernaut

Create Heroku app:

heroku create myapp --stack cedar
heroku addons:add redistogo:nano

git push heroku master

@ntenisOT
ntenisOT / playintellijidea.md
Created October 2, 2014 12:02
Build and Debug Play 2.3+ using IntellijIdea 14

Download and Installation

Download Play Framework:

 https://www.playframework.com/download

Execute:

./activator ( Mac )

@ntenisOT
ntenisOT / BaseDAO.scala
Created November 9, 2015 14:49 — forked from almeidap/BaseDAO.scala
DAO design for ReactiveMongo using JSONCollection and Play2 Scala JSON API (work in progress).
package core.dao
import scala.concurrent.Future
import play.api.Logger
import reactivemongo.core.commands.LastError
import reactivemongo.core.errors.DatabaseException
import core.db.MongoHelper
@ntenisOT
ntenisOT / Install.md
Last active November 16, 2015 09:59
Install node / npm / yeoman / grunt / bower / Angular Generator

Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Node / npm

brew install node

Verify Node installation

node -v npm -v

@ntenisOT
ntenisOT / config.md
Last active July 25, 2023 10:00
Configure NAT and Static IP in Hyper-V for Ubuntu and Windows VM

Configure NAT and Static IP in Hyper-V for Ubuntu and Windows VM

This guide explains how to create a NAT network in Hyper-V on Windows Server 2022, and how to configure an Ubuntu VM and a Windows VM with static IP addresses on this network.

Steps on Hyper-V Host (Windows Server)

  1. Open a PowerShell session as an administrator.

  2. Create an internal virtual switch named "NAT":