The Seventh Paradigm 
  • Home
  • Archives
  • Categories
  • Tags
  • About
  •   
  •   

Initial Server Setup for Ubuntu 16.04

When you first create a new Ubuntu 16.04 server, there are a few configuration steps that you should take early on as part of the basic setup. This will increase the security and usability of your ser

2016-05-12
Ubuntu
Ubuntu Linux Server SSH

Introduction to JavaScript

Hello worldconsole.log is used to display content to the JavaScript console. Run the following code in the console: console.log("Hello, world!"); Let’s use console.log to do something a lit

2016-01-21
JavaScript
JavaScript

Check port listening

If you’re troubleshooting a service that you know is running normally the next step is to ensure it’s listening on the correct network port. The netstat command shows the services listening to ports o

2015-09-23
Linux
Linux

Create swap file on Linux

Swap is space on a disk that is reserved to be used as virtual memory. When a Linux server runs out of memory, the kernel can move inactive processes into swap to make room for active processes in the

2015-06-25
Linux
Linux

Basic MySQL Setup on Ubuntu Server

Install MySQL on UbuntuIt is pretty simple to install MySQL on Ubuntu: sudo apt-get update sudo apt-get install mysql-server mysql_secure_installation Access the DatabaseLogin to the database mysql -

2014-07-14
MySQL
MySQL Ubuntu Linux

Python metaclasses

Classes as objectsObject-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which may encapsulate data, in the form of fields, often known as attributes; and code,

2014-01-03
Python
Python Metaclass

Consolas Font On Ubuntu

Consolas is not installed by default on Ubuntu, but we can get it. sudo apt-get install font-manager sudo apt-get install cabextract Create a file named consolas.sh with following contents: #!/bin/sh

2013-07-14
Linux
Linux

The Zen of Python

PEP 20 – The Zen of Python, by Tim PetersLong time Pythoneer Tim Peters succinctly channels the BDFL’s guiding principles for Python’s design into 20 aphorisms, only 19 of which have been written down

2012-11-27
Python
Python
123

Search

© 2020 Yaoxiang Li
载入天数... 载入时分秒...