Skip to content

Instantly share code, notes, and snippets.

View arilivigni's full-sized avatar

Ari LiVigni arilivigni

View GitHub Profile
@arilivigni
arilivigni / 0_github_spark_workshop_info.md
Last active December 2, 2025 20:58
GitHub Spark Workshop - Spark It Up: From Napkin Sketch to Working App - Microsoft Reactor Series

GitHub Spark Overview

GitHub Spark

GitHub Spark is an AI-powered application development and deployment platform that turns natural language ideas into full-stack intelligent apps in minutes.

This means faster time to production of new ideas, more of the right ideas shipped, and builders focused on solving business problems—not setup and wiring.

Advantages of using Spark

  • Accelerate Builder Productivity: Spark turns natural language into working full-stack apps in minutes, helping teams validate ideas early, ship the right things faster, and keep focus on business impact rather than setup
@arilivigni
arilivigni / .vscode-extensions.json
Created November 6, 2025 16:01
VS Code Java description
{
"recommendations": [
// Essential Java Development
"vscjava.vscode-java-pack",
"redhat.java",
"vscjava.vscode-java-debug",
"vscjava.vscode-java-test",
"vscjava.vscode-java-dependency",
// Build Tools

American Football Game Stats Tracker & Report Generator

Build a comprehensive web application for tracking statistics during an American football game and generating detailed reports at the end.

Football Rules Reference

Basic Game Structure

  • Field: 100 yards long with 10-yard end zones at each end
  • Teams: 11 players per side on the field
  • Quarters: Four 15-minute quarters
@arilivigni
arilivigni / gh-cli-projects-actions.yml
Created April 25, 2023 12:47
GitHub Action that uses the gh project cli extension to get info about a project from the command line
name: Add a new GitHub Project card linked to a GitHub issue to the specified project column
on:
issues:
types: [ opened, labeled, unlabeled ]
env:
GITHUB_ORG: ${{ github.repository_owner }}
GITHUB_PROJECT_NAME: "Continuous-Devops-GitHub-App-MasterBlaster"
GITHUB_EVENT: ${{ toJson(github.event) }}
GITHUB_ISSUE: ${{ toJson(github.event.issue) }}
GITHUB_ISSUE_URL: ${{ github.event.issue.html_url }}
---
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: extract-check-build-verify-push
spec:
workspaces:
- name: source
description: The image building will be done onto the volume backing this workspace
params:
@arilivigni
arilivigni / jenkins-operator-app-sre-jcasc.yaml
Last active January 6, 2021 23:22
Jenkins Operator app-sre-jcasc configmap
apiVersion: v1
kind: ConfigMap
metadata:
name: app-sre-jcasc
namespace: app-sre-cicd
data:
1-app-sre-jcasc.yaml: |
jenkins:
systemMessage: "<h2>Welcome to the App-SRE Jenkins on OSD</h2>"
numExecutors: 0
@arilivigni
arilivigni / app-sre-jcasc.yaml
Last active December 16, 2020 20:40
JCasC for App-SRE Jenkins
jenkins:
systemMessage: "<h2>Welcome to the App-SRE Jenkins on OSD</h2>"
agentProtocols:
- "JNLP4-connect"
- "Ping"
authorizationStrategy:
globalMatrix:
permissions:
- "Overall/Administer:arilivigni"
securityRealm:
@arilivigni
arilivigni / build-jenkins.sh
Created January 15, 2019 19:18
Jenkinsfile-runner example
#!/bin/bash
set -x
set -e
# Clone the repo
git clone https://github.com/jenkinsci/jenkinsfile-runner.git
pushd jenkinsfile-runner
env.REMOTE = env.BRANCH_NAME ?: 'https://github.com/CentOS/cico-pipeline-library.git'
env.ghprbActualCommit = env.ghprbActualCommit ?: 'master'
library identifier: "cico-pipeline-lib@${env.ghprbActualCommit}",
retriever: modernSCM([$class: 'GitSCMSource',
remote: "${env.REMOTE}"])
import org.centos.*
node {
deleteDir()
@arilivigni
arilivigni / poll-url.yaml
Created November 11, 2015 20:11
JJB to poll url for content changes
- defaults:
name: poll-url-defaults
logrotate:
numToKeep: 30
artifactNumToKeep: 30
wrappers:
- ansicolor
- workspace-cleanup
- timestamps