Quickly get Node.js up and running on Windows

Installing software on Windows in an automatable, repeatable and easy way in Windows has always been painful in the past.  Luckily, in recent years there have been some really nice additions to Windows and its ecosystem that have improved the process significantly.  The main tools that ease this process are Powershell and Chocolatey and these tools have significantly improved the developer  and administrative experiences in Windows.

In the past, in order to install something like a programming language and its environment you would have to manually download the zip or tar file, extract it, put it in the correct place, set up environment variables and system paths manually, etc.  Things would also break pretty easily and it was just painful in general to work with.

Hopefully you are already familiar with Powershell at least because I won’t be covering it much in this post.  If you have any recent version of Windows you should have Powershell.  Below I describe Chocolately a little bit and why it is useful so you can find out more in the post or you can check out the Chocolately website, which does a much better job of explaining its benefits, how it is used and why package managers are good.

Update Windows execution policy

This process is pretty straight forward.  Make sure you open up a Powershell prompt with admin privileges, otherwise you will run into problems.  The first step is to change the default system execution policy (if you haven’t already).  On a fresh install of Windows, you will need to loosen up the security in order to install Chocolatey, which will be used to install and mange Node.js.  Luckily there are just a few Powershell commands that need to run.  To check the status of the execution policy, run the following.

Get-ExecutionPolicy
Restricted

This should tell you what your execution policy is currently set to.  To loosen the policy for Choco, run the following command.

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Follow the prompt and choose [Y] to update the policy.  Now, if you run Get-ExecutionPolicy you should see RemoteSigned.

Get-ExecutionPolicy
RemoteSigned

If you don’t have your execution policy opened up to at least RemoteSigned, you will have trouble installing things from the internet, including Chocoloatey.  You can find more information about Execution Policies here if you don’t trust me or just want a better idea of how they work.

Install Chocolatey

If you aren’t familiar, Chocolately is a package manager for Windows, similar to apt-get on Debian Linux systems or yum on Redhat based systems.  It allows users to quickly and easily install and manage software packages on Windows platforms through Powershell.

The steps to installing are Chocolatey are listed below.

iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex

This command will take care of pretty much all of the setup so just watch it do its thing.  Again, make sure you are inside of an elevated admin shell, otherwise you will likely have problems with the installation.

Install Node.js

The last step (finally) is to install Node.js.  Luckily this is the easiest part.  Just run the following command.

choco install nodejs.install

Choose [Y] to accept that you want to run the install script and let it run.  There should be some colored output and when it is done Node should be installed on your system.  You will need to make sure you close and re-open you Powershell prompt to get the Node binaries to be picked up on your PATH, or just source the shell by running “RefreshEnv” to pick up the new path.  If you are in an admin shell I would recommend dropping out of it by simply closing the current session and opening up a new, non privileged session.

install node

Once you have a fresh shell you can test that Node installed properly.

node -v
v6.6.0

Now you are ready to go.  It only took a few minutes with the Choco package manger.  If you are new to Node in general and are looking for a good resource, the learn you the node project on github is pretty decent.

Let me know if you have any caveats to add to this method, it is the easiest and fastest way I have found to installing Node as well as other pieces of software in Windows without any hassle.

Read More

Scopri le Slot su EuroBet casinò e l’App EuroBet: Gioca e Vinci Oggi!

Benvenuti nell’emozionante mondo di EuroBet casinò, dove il divertimento e l’opportunità di vincere grandi premi si uniscono in un’unica esperienza indimenticabile! Che tu sia un appassionato delle classiche slot o desideri tentare la fortuna con le più moderne opzioni online, EuroBet slot offre una vasta gamma di giochi capaci di soddisfare ogni giocatore.

Peter & Sons EuroBet Slot

Un’introduzione alle EuroBet Slot

Le slot machine di EuroBet casinò combinano innovazione, varietà e intrattenimento. Con caratteristiche straordinarie e temi accattivanti, le nostre slot garantiscono un’esperienza unica. Dalle slot a 3 rulli a quelle con più linee di pagamento e bonus incredibili, ce n’è per tutti i gusti.

Scopri l’App EuroBet

Vivi la magia di EuroBet ovunque ti trovi grazie all’EuroBet app, progettata per offrire un’esperienza di gioco impeccabile su dispositivi mobili. Scarica l’app e accedi a un mondo di EuroBet casino slot e scommesse a portata di mano. L’App è semplice, intuitiva e garantisce la massima sicurezza per il tuo account e le tue transazioni.

Funzionalità Descrizione
Accesso Facile Accedi velocemente con il tuo telefono e goditi i tuoi giochi e scommesse preferiti.
Ampia Scelta di Giochi Da slot a giochi da tavolo, l’app offre una vasta selezione direttamente sul tuo smartphone.
Sicurezza Avanzata La tua privacy è la nostra priorità, con sistemi avanzati di protezione dati.

Registrati e Inizia a Giocare

Registrarsi su EuroBet casinò è semplice e veloce. Una volta EuroBet login, potrai esplorare il mondo delle lotterie, scommesse e slot disponibili, approfittando di offerte e bonus esclusivi.

Conclusione

Non perdere l’opportunità di entrare a far parte della comunità internazionale di giocatori appassionati di EuroBet casinò. Con l’app EuroBet e la vasta gamma di giochi disponibili, il divertimento e l’eccitazione sono garantiti. Che tu sia alla ricerca di una sessione di gioco veloce o di un’esperienza prolungata, EuroBet ha tutto ciò di cui hai bisogno. Buon divertimento e buona fortuna!

Read More

Martin Casino Online – Ihr Tor zur spannenden Glücksspielwelt

Willkommen in der aufregenden Welt von Martin Casino Online, einem der führenden Glücksspielplattformen auf dem Markt. Wenn Sie nach einem einzigartigen Spielerlebnis suchen, sind Sie hier genau richtig!

Warum Martin Casino Online?

Das Martin Casino bietet eine Vielzahl von Spielen, die sowohl für Anfänger als auch für erfahrene Spieler attraktiv sind. Mit einer benutzerfreundlichen Oberfläche und einer breiten Auswahl an Spielmöglichkeiten wird jeder Besuch zum Vergnügen.

Spieleauswahl

Von klassischen Tischspielen wie Roulette und Blackjack bis hin zu den neuesten Online-Slot-Spielen gibt es in Martin Online Casino für jeden Geschmack etwas zu finden. Ein besonderes Highlight sind die exklusiven Martin Casino Turniere, bei denen Sie gegen andere Spieler um wertvolle Preise antreten können.

Spiel Beschreibung
Roulette Ein zeitloser Klassiker mit verschiedenen Varianten.
Blackjack Spannende Kartenstrategien für kluge Köpfe.
Slots Vielfalt an Themen und Bonusmöglichkeiten.

Benutzerfreundliche Plattform

Martin Casino Online legt großen Wert auf eine intuitive Benutzererfahrung. Die Website ist leicht navigierbar, und dank einer mobilen Version können Sie auch von unterwegs spielen.

Darüber hinaus bietet das Casino ein sicheres Spielerlebnis mit modernster Verschlüsselungstechnologie, um Ihre Daten zu schützen. Das Support-Team steht Ihnen rund um die Uhr zur Verfügung, sollten Sie Fragen oder technische Probleme haben.

Wie Sie mitspielen können

Der erste Schritt ist die Anmeldung auf der Martin casino online Plattform. In wenigen Minuten können Sie starten und in die spannende Welt des Glücksspiels eintauchen.

Bevor Sie anfangen, sollten Sie die verschiedenen Boni und Aktionen in Betracht ziehen, die für neue als auch bestehende Spieler zur Verfügung stehen, um das Beste aus Ihrem Spielerlebnis herauszuholen.

Martin Casino Übersicht
Eine Übersicht über das Martin Casino.

Fazit

Zusammenfassend lässt sich sagen, dass Martin Casino Online eine ausgezeichnete Wahl für alle ist, die eine aufregende und sichere Umgebung zum Spielen suchen. Ob Sie ein Fan von klassischen Spielen oder auf der Suche nach den neuesten und besten Slots sind, hier werden Sie fündig.

Entdecken Sie die Welt des Martin Casino Online und tauchen Sie ein in ein unvergleichliches Spielerlebnis.

Read More

Erleben Sie die Welt von Casino Pistolo: Pistolo Casino, Pistolo App und Mehr

Willkommen in der aufregenden Welt von Casino Pistolo, wo Unterhaltung und Nervenkitzel in einem digitalen Erlebnis verschmelzen. Mit der Pistolo app, erhalten Spieler die Möglichkeit, das beste aus der Online-Casino-Erfahrung herauszuholen. In diesem Artikel beleuchten wir die Highlights und Vorteile dieser revolutionären Plattform.

Die Faszination des Pistolo Casino

Das Pistolo Casino ist weit mehr als nur ein Ort zum Spielen. Es bietet eine zentrale Anlaufstelle für begeisterte Spieler, die den Nervenkitzel des Glücksspiels lieben, sei es am Automaten oder beim Live-Poker.

Pistolo Casino Bild

Dank einer benutzerfreundlichen Oberfläche wird das Casinoerlebnis mühelos zugänglich gemacht, während gleichzeitig Sicherheit und Fairness an oberster Stelle stehen.

Anmeldung bei Pistolo Casino: Einfache Login-Prozesse

Der Pistolo Casino Login ist einfach und sicher. Benutzer können sich schnell anmelden und ihre bevorzugten Spiele ohne Verzögerung starten. Die intuitive Gestaltung der Website sorgt dafür, dass Sie sich von Anfang an wohl fühlen.

Online-Erlebnisse mit Pistolo Casino

Das Pistolo Casino Online bietet eine Vielzahl von Spielen, die regelmäßig aktualisiert werden, um den Spielern viel Abwechslung zu bieten. Ob es um klassische Spiele oder neue Favoriten geht, hier findet jeder das Richtige.

Warum die Pistolo App?

Die Pistolo app ist nicht nur einfach zu bedienen, sondern bietet auch viele Vorteile für mobile Nutzer. Sie ermöglicht es Spielern, jederzeit und überall auf ihre bevorzugten Spiele zuzugreifen.

Vorteile der Pistolo App
Schneller Zugriff auf Spiele
Benutzerfreundliches Design
Exklusive Angebote für App-Nutzer

Dank regelmäßiger Updates bleibt die App stets auf dem neuesten Stand der Technik, was sie zu einem unverzichtbaren Begleiter macht.

Erleben Sie das Abenteuer

In einer Zeit, in der digitale Unterhaltungsangebote boomen, hebt sich das Casino Pistolo mit seinen innovativen Funktionen und seiner umfangreichen Spielauswahl ab. Ob Anfänger oder erfahrener Spieler, hier wird jeder seinen Spaß haben.

Schlussgedanken

Das Erlebnis im Casino Pistolo, sei es online oder über die App, ist unvergleichlich. Es bietet Sicherheit, Vielfalt und eine aufregende Erfahrung, die man nicht verpassen sollte.

Read More

Intro to Hyperterm

If you haven’t heard about it yet, Hyperterm (not to be confused with hyperterminal) is a cool new project that brings javascript to the terminal.  Basically, Hyperterm allows for a wide variety of customization and extension to be added to the terminal, yet doesn’t add extra bloat and keeps things fast.  For those who don’t know, Hyperterm is based on the electron project which leverages nodejs to build desktop applications that are cross platform.

At its simplest, Hyperterm is a drop in replacement for other shells, like iterm2 or the default terminal app that comes packaged with most OS’s.  Since Hyperterm is built on top of node (via Electron) it is by default cross platform so works on  Mac and Linux and Windows soon.  Obviously this is a win because you can port your configuration to different platforms and don’t need to reconfigure anything, and can also store your configuration in source control so that if your machine ever dies or you get a new one, you have a nice place to pick things up again, which is pretty slick.

If you know javascript, you can already start hacking on the look and feel of Hyperterm, the Chromium browser tools are literally built into it (cmd+option+i).

Installation

To get started, head over to the official Hyperterm website and download the latest release.

Once that is done and you go through the installation process you are ready to get started.  Just fire up Hyperterm and you are good to go.

hyperterm

The stock Hyperterm is definitely usable.  The real power though, comes from the flexibility and design of the plugin system and configuration files which makes customization really easy to get going with and really powerful.

Configuration

Hyperterm uses its own configuration file to extend the basic functionality.  The docs are a great resource for learning more about customization and configuration.

The process of changing themes or adding additional functionality is pretty straight forward.  All the plugins that Hyperterm uses are just npm modules, so can be installed and managed via npm.  So for example, to change the default theme, you would open up your ~/.hyperterm.js file.

Look for the “plugins” section.

plugins: [],

Add the desired plugin.

plugins: [
    'hyperterm-atom-dark',
    'hyperline'
],

And then reload hyperterm to pick up the new configuration by pressing (Cmd+Shift+R) or by clicking View -> Reload.  You should notice the new theme right away.  A nice status line should show up at the bottom of the terminal because of the ‘hyperline’ package, and there was practically no time spent enabling the functionality, which is a big win in my opinion.

For more ideas, definitely go check out the awesome-hyperterm project.  This repo is a great place to find out more about hyperterm and other cool projects that are related.  The official docs are also a great resource for getting started as well as finding some ideas.

Finally, you can also run,

npm search hyperterm

To get a full listing of npm projects with hyperterm in their name for even more ideas.  Outside of the plugins, you can easily hack on the configuration file itself to test out how things work.  Again, the config is just javascript so if you know JS it is easy to get started modifying things.

Additionally, you can tweak the configuration by hand to customize things like font sizes, colors, cursor, etc. without having to install or use any plugins.  The process to customize these values is similar to installing plugins, just pop open the ~/.hypertem.js file, make any adjustments, then reload the terminal and you should be good to go.

Conclusion

The Hyperterm project is still very new but it is already capable of being the default terminal.  As the project grows in popularity, there will be more and more options for customization and the terminal itself will continue to improve.  It is exciting to see something new in the terminal emulator space because there are so few options.  It will be cool to see what new developments are in the works for the project.

It is definitely hard to adjust to something new but it is also good to get out of your comfort zone sometimes as well.  There are lots of things to poke around at and plugins to try out with Hyperterm.

I can’t remember the last time I had this much fun when I was fiddling around with terminal settings.  So at the very least, if you don’t switch full time to Hyperterm, give it a try and see if it is a good fit.

Read More