Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Creating An Audience Targeting Platform...

Jonathon Byrdziak jonathonbyrdziak

💭
Creating An Audience Targeting Platform...
View GitHub Profile
View change ssh port amazo ec2 instance.md

Change SSH Port on Amazon EC2 Instance

1. Launch and connect to EC2 instance running Amazon Linux 2.
2. Promote to root and edit /etc/ssh/sshd_config 
## sudo vi /etc/ssh/sshd_config
3. Edit line 17 (usually 17) #PORT 22. You'll need to un-comment the line and change the port to whatever you like. 
## PORT 9222
4. Save changes and exit
## :wq
View Jonathon Byrdziak - Senior Software Engineer Resume.md

Jonathon Byrdziak

Senior Software Engineer & Manager

Mobile: (206) 356-4014 jonathon@byrdziak.com 9169 W State St 701 Garden City, Idaho, 83714

Brief Summary

@jonathonbyrdziak
jonathonbyrdziak / ListWalker.js
Last active Oct 11, 2021
Quick Edits in Google Sheets
View ListWalker.js
function LISTWALKER(columnsRange) {
var columnArray = [];
var rowArray = [];
for (var i = 0; i <= columnsRange - 1; i++) {
columnArray = columnsRange[i];
for (var j = 0; j <= columnArray - 1; j++) {
rowArray = columnArray[i];
}
@jonathonbyrdziak
jonathonbyrdziak / event-success-page-clickfunnels.js
Created May 29, 2020
Conversion Event Pixel for Clickfunnels
View event-success-page-clickfunnels.js
<script>
var eventTotal = 0;
jQuery('.elOrderProductOptinPrice').each(function(k,v){
v = jQuery(v);
var _str = v.text().replace('$','');
var _num = parseFloat(_str,2);
eventTotal += _num;
});
fbq('track', 'Purchase', {
@jonathonbyrdziak
jonathonbyrdziak / gist:827607410d126bd277c2150e05e340de
Created Jan 8, 2020
coeur dalene resort airbnb New modern family home
View gist:827607410d126bd277c2150e05e340de
This home is perfect for your family with kids and pets. One King bed, One Queen bed and two twins make up this fully furnished 3 bedroom 2 full bath home. *AMENITIES* - Deck - Dishwasher Machine - Fridge / Freezer - Electric Range / Oven - Coffee Pot - Kitchen Aid Mixer - Wood Fireplace - Smart TV - Iron / Ironing Table - Two Person Shower off the Master - Unlimited Tankless Hot Water - Heating - Blow Dryer - Alarm Clock - Vacuum /mop /broom /cleaning supplies *GREAT FOR KIDS* - Changing table - Bouncer - Two twin beds - Game console - Board Games - Close to multiple parks - Accessed from a quiet street *PETS ARE ALLOWED* - We have a fully fenced back yard that was newly sodded. - A large dog door for Fido to come and go as he pleases. - Large Kennel stored under the king bed. - Dog bed for two large dogs. - Commercial rigid core flooring to prevent scratches. - Food and water bowls and including a few pet supplies are provided. Owner pays electric, gas, water, sewer, garbage, internet. Pets allowed. NO smok
@jonathonbyrdziak
jonathonbyrdziak / Gemfile
Created Jul 12, 2019 — forked from rccursach/Gemfile
redis_pubsub_demo.rb
View Gemfile
source "https://rubygems.org"
gem 'eventmachine'
gem 'sinatra'
gem 'yajl-ruby', require: 'yajl'
gem 'thin'
gem 'em-websocket'
View validate_m2_package_v2.php
#!/usr/bin/php
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See https://github.com/magento/magento2/blob/develop/COPYING.txt for license details.
*/
/**
* validate_m2_package.php - a script that checks a given M2 zip package to ensure
* it is structured correctly and has all the required files.
@jonathonbyrdziak
jonathonbyrdziak / phpunit-recurring-order-sample-code.php
Last active Oct 18, 2017
Sample code showing my work with phpunit
View phpunit-recurring-order-sample-code.php
<?php
/**
* Mage Plugins, LLC
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mage Plugins Commercial License (MPCL 1.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://mageplugins.net/commercial-license/
@jonathonbyrdziak
jonathonbyrdziak / README.md
Last active May 29, 2020
Magento 2 CLI Cheat Sheet
View README.md

List all available commands

php bin/magento --list

Installing/Upgrading Magento

php bin/magento setup:upgrade
php bin/magento deploy:mode:set production

Migrating Magento

@jonathonbyrdziak
jonathonbyrdziak / product_data_query.sql
Last active Feb 17, 2017
Common Magento SQL Queries
View product_data_query.sql
USE dgustore;
SELECT
`e`.`entity_id` as `id`,
`e`.`sku`,
IF(_table_status.value_id > 0, _table_status.value, _table_status_default.value) AS `status`,
IF(at_name.value_id > 0, at_name.value, at_name_default.value) AS `name`,
c2.value as category,
IF(at_description.value_id > 0, at_description.value, at_description_default.value) AS `description`
FROM