Skip to content

Instantly share code, notes, and snippets.

View christophervigliotti's full-sized avatar
:atom:
Always be learning!

Christopher Vigliotti christophervigliotti

:atom:
Always be learning!
View GitHub Profile
@christophervigliotti
christophervigliotti / 2024_goals.MD
Last active April 1, 2024 17:38
2024 Goals > Progress Tracker

2024 Goals

High-Level Goals

Complete

Work In-Progress (WIP)

  • Ruby Courses repo1 [repo2]
@christophervigliotti
christophervigliotti / rails_on_m1.MD
Last active October 24, 2022 21:07
Ruby on Rails on an M1 Mac
@christophervigliotti
christophervigliotti / rails_7_ubuntu_arm.md
Last active October 21, 2022 16:17
Install Rails 7 on Ubuntu ARM
@christophervigliotti
christophervigliotti / query_cfscript_blah.cfm
Created June 1, 2022 21:13
ColdFusion => Get ID of inserted record when using cfscript.
<cfscript>
// given
var queryObject = new Query(
name = "resultsQuery",
sql = "
INSERT
INTO …
"
);
@christophervigliotti
christophervigliotti / go.sql
Created May 18, 2022 16:54
Persist SQL Variables Across Multiple "Go" Statements
/*
challenge: persist vars across GO statements
solution: store vars in a temp table
*/
CREATE TABLE #vars_to_remember
(
varName VARCHAR(20) PRIMARY KEY,
value BIT
)

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