Skip to content

Instantly share code, notes, and snippets.

zackn9ne zackn9ne

View GitHub Profile
View gist:75ad9c4e36b901070428bcc892fe4edb
# Copyright 2014-2017 Shea G. Craig
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""If this script is run directly, it takes an input file .yaml file and an outputs a .recipe file in the same directory <input path>
import sys
import yaml
View slack.multi.jss.recipe
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>Downloads the latest version of Slack and makes a pkg of it Then, uploads to the Jamf Pro Server.</string>
View SmartGroupTemplate-CFBundleVersion.xml
<name>Application Title</name>
View xerox_pull_n_go.ps1
#zackn9ne and Kyle
#Printer Driver Name
$driver="Xerox AltaLink C8000Series EFI"
#Get Files
$url = ""
View gist:c4083685a0aa93f2ab6a39958f8f37d1
Add-PrinterDriver -Name "Xerox AltaLink C8070 PCL6"
add-printerport –name "" –printerhostaddress ""
add-printer –name "Xerox AltaLink" –drivername "Xerox AltaLink C8070 PCL6" –port ""
zackn9ne / sortletter.js
Created Feb 12, 2020
hackkerrank challenge
View sortletter.js
function vowelsAndConsonants(s) {
const vowel = ['a','e','i','o','u']
const foundvowels = []
const foundcons = []
for (i = 0; i < s.length; i++) {
console.log("checking" + i + "times: " + s[i])
if (vowel.includes(s[i]) == true) {
console.log("vowel" + s[i] + "found")
zackn9ne / gist:82d488c63023fbc63bb56414dcb7e8de
Last active Jan 1, 2020 8080 8443 8843 8880 6789
View gist:82d488c63023fbc63bb56414dcb7e8de
-p 3478:3478/udp \
-p 10001:10001/udp \
-p 8080:8080 \
-p 8081:8081 \
-p 8443:8443 \
-p 8843:8843 \
-p 8880:8880 \
-p 6789:6789 \
aws ec2 create-security-group --description "my security group" --group-name "my-security-group"
echo "Please enter your desired hostname NO SPACES ALLOWED, use dash"
scutil --set ComputerName "$HWNAME"
scutil --set LocalHostName "$HWNAME"
dscacheutil -flushcache
You can’t perform that action at this time.