Skip to content

Instantly share code, notes, and snippets.

View christophervigliotti's full-sized avatar
🎯
Hi

Christopher Vigliotti christophervigliotti

🎯
Hi
View GitHub Profile

CMD

For those Windoze commands that I use maybe once every 5 years

Junctions

Syntax

mklink /j "from" "to"

@christophervigliotti
christophervigliotti / npm_fix.MD
Last active April 12, 2022 17:11
When you cannot run npm commands...rebuild it

The Issue 😕

When I attempt to execute command npm i I am getting the following...

The Error 🥔

parallels@ubuntu-linux-20-04-desktop:~/Documents/Code/angular-complete-guide-routing$ sudo npm -i
[sudo] password for parallels: 
node:internal/modules/cjs/loader:933

Thomas Learns Python (and Git)

Hey Thomas, click here to jump to the current lesson

Goals

  1. Configure your Development Environment
  2. Learn Git + setup a Github.com account (you will be checking in all of your Python code to Github so that you can share it with me (so I can help). Learning Git is a fundamental skill for the modern software developer!
  3. Begin the 100 Days of Code for Python. You will complete one lesson for each weekend day, checking in your code to Github as you complete assignments.
@christophervigliotti
christophervigliotti / a_component.cfc
Last active March 1, 2022 16:30
A ColdFusion Component using nothing but cfscript
component {
// properties
variables.a_property = '';
// init
public any function init(
String an_argument
){
variables.a_property = arguments.an_argument;
return this;
@christophervigliotti
christophervigliotti / bootstrap_5.MD
Last active January 28, 2022 17:31
Bootstrap 5

Bootstrap 5

Notes

This is very incomplete.

Alerts

  • add class="fade" to alert components to give them a sleek fade effect while dismissing the alert box
@christophervigliotti
christophervigliotti / check_mail_now.MD
Last active January 27, 2022 13:33
Refresh POP Accounts in GMail using Keyboard Maestro

Refresh POP Accounts in GMail using Keyboard Maestro

Ahoy Mac fans! One really great tool for automating repetitive tasks on my computer is Keyboard Mastro. I normally use it to automate inputting text (things like email signatures and addresses) but today I dug a bit deeper and in an effort to automate the tedious task of clicking on a series of links that I have to click each time that I want to fetch new POP email from my external accounts.

Before you dive in note that this will only work if you configure Safari to allow remote automation.

1. Action: Select Safari Tab

Set value Select tab to 1

⚠️ I am putting this effort on-hold to focus on learning another technology in support of an amazing customer.

Angular Complete Guide 💻📐

I like to keep things organized, so here is a catalog of the repositories that I'm using for this most excellent course.

Repositories Used

Section 1 - Getting Started

None

Currently Learning
* Angular
* CompTIA A+ (my stepson is studying so I figured that I'd study with him)
@christophervigliotti
christophervigliotti / handle_steps.cfm
Last active December 15, 2021 16:03
break a big process into separate steps
<cfscript>
// declare & set vars
var batch = getBatches(
filterStruct = {
only_get_next_incomplete_batch_for_this_week = true
}
);
<cfscript>
key = 'yer mom';
secret = 'smells';
encrypted=encrypt(secret, key, "CFMX_COMPAT", "hex");
decrypted=decrypt(encrypted, key, "CFMX_COMPAT", "hex");
WriteDump([
'key: #key#',
'secret: #secret#',
'encrypted: #encrypted#',
'decrypted: #decrypted#',