#tutorials #dev

Creating a Dockerized Development Environment

Creating a Dockerized Development Environment Docker and Docker Compose are all the rage these days. People are coming up with all sorts of things to do with Docker, and local development environments are no exception. Taking a page out of the book from Teamwork (where I did my placement), I decided to incorporate my spin on their style of docker-compose based development environments for Netsoc, and not just the committee but our members too. ...

#dev #archive

[Archive] Building Netsoc Admin 1 Part 4

Building Netsoc Admin 1.0 (#4) – Login & Registration What use is a web admin if no one gets to login? It’s about as useful as giving each of our members a potato engraved with a special password that would give them and only them access to the secret Netsoc vault that exists beneath the catacombs of the Windle Building. So, this week, we’re dedicating an entire post to getting people registered and logged in – aren’t you lucky? ...

#dev #archive

[Archive] Building Netsoc Admin 1 Part 3

Building Netsoc Admin 1.0 (#3) – Layouts Laravel provides an implementation of the Blade templating engine which lets us define generic templates for our data and page layouts. What I’m going to cover in this post is some really basic templates which we’ll base the rest of our designs off. We’re going to need two different layouts: a default full-width layout and a default with sidebar layout. Breaking those down further, we’ll also need a template for the header, the footer and the sidebar itself. ...

#dev #archive

[Archive] Building Netsoc Admin 1 Part 2

Building Netsoc Admin 1.0 (#2) – Models and Relationships Models aren’t just pretty runway strutters with capes draped over one shoulder and a small pomeranian in the other, they’re a vital part of the MVC methodology (it’s in the name after all). Models will be our main way of representing the underlying database and the relationships on top of that. This is part 2 of a series on Building Netsoc Admin. ...

#dev #archive

[Archive] Building Netsoc Admin 1 Part 1

Building Netsoc Admin 1.0 (#1) – Development Tools Introduction Last September we (UCC Netsoc) installed two servers and dedicated one of them specifically to servicing our members and their applications. It allows people to SSH in and run PHP, python and JS-based apps off each user’s subdomain. We wanted people to be able to manage their own info, databases and could access automated backups. After a month of looking at web panels and various solutions, it was apparent that what we wanted didn’t exist in a pre-built package unfortunately. ...

#tutorials #beginner

HTML & CSS 2 - CSS

HTML & CSS 2 - CSS In addition to HTML terms, there are a few common CSS terms you will want to familiarize yourself with. These terms include selectors, properties, and values. As with the HTML terminology, the more you work with CSS, the more these terms will become second nature. Selectors As elements are added to a web page, they may be styled using CSS. A selector designates exactly which element or elements within our HTML to target and apply styles (such as color, size, and position) to. ...

#tutorials #beginner

HTML & CSS 1 - HTML

HTML & CSS 1 - HTML What are HTML & CSS? HTML, HyperText Markup Language, gives content structure and meaning by defining that content as, for example, headings, paragraphs, or images. CSS, or Cascading Style Sheets, is a presentation language created to style the appearance of content—using, for example, fonts or colors. The two languages—HTML and CSS—are independent of one another and should remain that way. CSS should not be written inside of an HTML document and vice versa. ...

#tutorials

.htaccess 2 - rewrite

.htaccess 2 - rewrite mod_rewrite is a pain in the ass When people think of .htaccess configuration, the first thing that might pop into their minds is URL manipulation with mod_rewrite. But they’re often frustrated by mod_rewrite’s complexity. This tutorial will walk you through everything you need to know for the most common mod_rewrite tasks. What is mod_rewrite mod_rewrite is an Apache module that allows for server-side manipulation of requested URLs. ...

#tutorials

.htaccess - What is it?

.htaccess - What is it? What is Apache? Apache is an open-source, widely-used web server. Although mostly cross-platform, Apache and Linux are generally the combination that’s used most. According to this website I googled, apache accounts for 56.8% of all websites whose web server we know. For the simplicity of this post, we’ll be only concerned with the latest version of apache (Apache2). What is .htaccess .htaccess is a specific configuration file you can use to make config changes on a per-directory basis. ...

#tutorials

IRC - Connecting to Intersocs

IRC – Connecting To #Intersocs User Accounts If you do not already have a user account for UCC Netsoc’s services, sign up at https://admin.netsoc.co/register You will need a user account before continuing with this document. Quickstart If this is your first time, please read the entirety of the document as we do not provide support as of yet. SSH into Leela with your user credentials: ssh USERNAME@leela.netsoc.co Access your Weechat IRC screen: irc /connect netsoc. ...