Skip to content

Instantly share code, notes, and snippets.

View albertcoder's full-sized avatar
🏠
Working from home

Albert Massey albertcoder

🏠
Working from home
View GitHub Profile
@albertcoder
albertcoder / AlbertDavidResume.md
Last active October 24, 2019 05:24
Markdown version of my resume

Albert David

eralbert9191@gmail.com
(206) 739-2308
Seattle, WA
Github | LinkedIn

A zealous and inquisitive Full Stack Developer and a Computer Science graduate. Experienced in MERN and LAMP stack. Formidable experience in Linux System Administration. Hands-on experience in C / C++, PHP, Python and Java. Science and Math enthusiast.

Technical Skills:

@albertcoder
albertcoder / wear.js
Last active February 10, 2018 23:26
What size to wear?
/*
* Programming Quiz: What do I Wear? (3-7)
*/
// change the values of `shirtWidth`, `shirtLength`, and `shirtSleeve` to test your code
var shirtWidth = 26;
var shirtLength = 33;
var shirtSleeve = 9.63;
if ((18 <= shirtWidth < 20) && (28 <= shirtLength < 29) && (8.13 <= shirtSleeve < 8.38)) {
@albertcoder
albertcoder / balance.js
Created February 8, 2018 01:48
Check your balance at the ATM
/*
* Programming Quiz - Checking Your Balance (3-5)
*/
// change the values of `balance`, `checkBalance`, and `isActive` to test your code
var balance = 0;
var checkBalance = false;
var isActive = true;
if (checkBalance === true) {
if (balance > 0 && isActive === true) {
@albertcoder
albertcoder / postfix.txt
Created April 13, 2015 19:33
postfix configuration
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
@albertcoder
albertcoder / addressbook.js
Last active August 29, 2015 14:18
Code for Address Book in JavaScript
var alley = {
firstName: "Albert",
lastName: "Coder",
phoneNumber: "(650) 777-7777",
email: "bob.jones@example.com"
};
var sukh = {
firstName: "Sukhi",
lastName: "D",
@albertcoder
albertcoder / markdown.md
Last active August 29, 2015 14:10
GIst Markdown

This is my first mark-down

  • A
  • M
@albertcoder
albertcoder / MySQL_dump
Created July 1, 2014 22:44
This file creates the tables required for installing MediaWiki extension with sample data.
-- MySQL dump 10.9
--
-- Host: localhost Database: materialsDB
-- ------------------------------------------------------
-- Server version 4.1.18-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@albertcoder
albertcoder / JOINS
Created June 19, 2014 10:00
Applying JOIN on tables "material" and "boiling_point" in MediaWiki
$res = $dbr->select(
array( 'material', 'boiling_point' ),
array( 'material_name','value' ),
array(
'mat_id>0'
),
__METHOD__,
array(),
array( 'boiling_point' => array( 'INNER JOIN', array(
'wiki_material.id=mat_id' ) ) )