Skip to content

Instantly share code, notes, and snippets.

View fredsiika's full-sized avatar
🤞
Refactoring

Fred Siika fredsiika

🤞
Refactoring
View GitHub Profile
@fredsiika
fredsiika / find-user.sh
Last active June 11, 2019 21:49
A simple shell script to locate username.
#!/bin/bash
# find-user.sh: A simple shell script to locate username.
# Author: Fred C. Siika
# GitHub: https://github.com/fredsiika
# Modify this script for your own purposes.
################################################################
# Goals of the script:
# How Do I Store Exit Status Of The Command In a Shell Variable?
# Assign $? to a shell variable:
@fredsiika
fredsiika / npm ignore-scripts
Created April 23, 2020 16:37
npm command to prevent delayed running of malicious npm packages.
npm config set ignore-scripts true
/*!
* Font Awesome Free 5.10.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-p
@fredsiika
fredsiika / sass-cheatsheet.md
Last active November 6, 2024 17:48
A high-level Sass (SCSS) cheatsheet for the most important functionality features of Sass.
@fredsiika
fredsiika / jquery-cheatsheet.md
Last active May 6, 2022 18:24
💲 A high-level jQuery cheatsheet for the most important functionality jQuery has to offer.

💲 jQuery Cheatsheet

PRs WelcomeAwesomeLicense


🔌Your plug to a high-level collection of all the useful functionality jQuery has to offer.

source

Table of Contents:

@fredsiika
fredsiika / google-sheets-form-submission-handler.js
Created July 5, 2020 07:18
Submit a CTA Form to Google Sheets Using "AJAX"
(function() {
// get all data in form and return object
function getFormData(form) {
var elements = form.elements;
var honeypot;
var fields = Object.keys(elements).filter(function(k) {
if (elements[k].name === "honeypot") {
honeypot = elements[k].value;
return false;
{
"$schema": "https://json.schemastore.org/resume",
"basics": {
"name": "Fred C. Siika",
"label": "Software Engineer",
"image": "https://avatars2.githubusercontent.com/u/32261113?s=460&v=4",
"email": "[email protected]",
"phone": "214-202-1584",
"url": "https://github.com/fredsiika",
"summary": "Software Engineer with experience translating designs to front-end code and determining developer requirements. When it comes to creating solutions to problems, I sweats the details, and care deeply about everything that influences the user experience (UX/UI); Whether it be designing, building, and implementing web applications in HTML5, CSS3, Javascript ES6, and Node.js.",
@fredsiika
fredsiika / quote-form-process.md
Created December 2, 2020 20:07
Countertop Estimate Quote Form Process

import ReactHookForm from '../../components/Forms/ReactHookForm' const CountertopQuoteForm = ( )

JLuxDesign Logo

Countertop Quote Estimation Specsheet

Gitflow CLI Examples

Create new local branch from remote branch (origin)

git checkout -b <local-branch-name> --track <origin/remote-branch-name>

  • example:

git checkout -b dev --track origin/dev

@fredsiika
fredsiika / NonAdmin.cmd
Created February 6, 2023 19:13 — forked from ferventcoder/NonAdmin.cmd
Installing Software as a Non-Administrator Using Chocolatey
:: Pick one of these two files (cmd or ps1)
:: Set directory for installation - Chocolatey does not lock
:: down the directory if not the default
SET INSTALLDIR=c:\ProgramData\chocoportable
setx ChocolateyInstall %INSTALLDIR%
:: All install options - offline, proxy, etc at
:: https://chocolatey.org/install
@powershell -NoProfile -ExecutionPolicy Bypass -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH="%PATH%;%INSTALLDIR%\bin"