Skip to content

Instantly share code, notes, and snippets.

@sun1shayina
sun1shayina / broadcast_calc.sh
Created November 1, 2019 03:08 — forked from frntn/broadcast_calc.sh
Bash script for calculating network and broadcast addresses from ip and netmask or CIDR Notation
#!/bin/bash
# Calculates network and broadcast based on supplied ip address and netmask
# Usage: broadcast_calc.sh 192.168.0.1 255.255.255.0
# Usage: broadcast_calc.sh 192.168.0.1/24
tonum() {
if [[ $1 =~ ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+) ]]; then
@sun1shayina
sun1shayina / gcloud_commands
Last active November 1, 2019 03:06 — forked from frntn/gcloud_commands
all gcloud commands
gcloud auth
gcloud auth activate-refresh-token
gcloud auth activate-service-account
gcloud auth git-helper
gcloud auth list
gcloud auth login
gcloud auth
gcloud auth print-access-token
gcloud auth print-refresh-token
gcloud auth revoke

SUMMARY Name: Sun M Shayina Location: Seattle Availability to Interview: 1-2 day notice Availability to Start: 2 week notice (or whichever is sooner) I have 2 years of experience in IT. My career began in windows support and moved into Linux support / administration. My experience is in both Linux and Windows environments.

I am seeking my next engagement.

body {background-color: powderblue;}
h1 {color: blue;}
p {color: red;}
<!DOCTYPE html>
<html>
<head>
<title>My Guessing Game</title>
<script type="text/javascript" src="loops.js"></script>
</head>
<body>
<p> Thank you for using guessing game compagny </p>
@sun1shayina
sun1shayina / CSS
Last active February 12, 2018 08:05
My resume 3.0
h2 {
font-family: Bold;
color:purple;
}
h4{
font-family: Arial;
color:red ;
}
h1 {
color: red;
@sun1shayina
sun1shayina / js document
Created February 11, 2018 21:38
Create an HTML page with just an <h1>. Use JavaScript to create 3 sentences on separate lines. On another line, use JS to generate a random whole number.
document.write(Math.floor(Math.random()*4));
body {
background-color: white;
}
nav {
display: inline-block;
text-align: center;
font-style: purple;
font-family: serif;
<!DOCTYPE html>
<html>
<head>
<title>my resume</title>
<h2>IT Technician- Qualification </h2>
<p>Full Name: Sun Mawezi Shayina</p>
<p>Proffession: IT </p>
<p>Cellphone:+1 2066438123</p>
<p>Seatac-Washington</p>
<p align=""></p>