Skip to content

Instantly share code, notes, and snippets.

View iamsenorespana's full-sized avatar

Senor Espana iamsenorespana

View GitHub Profile
@iamsenorespana
iamsenorespana / wowza.pp
Created September 1, 2024 16:34 — forked from jamesdavidson/wowza.pp
Puppet code to configure Nginx to proxy Wowza and SHOUTcast streams.
# install and configure Wowza Streaming Engine
class profile::wowza {
# Placeholder to install Wowza Streaming Engine (WowzaStreamingEngine-4.7.1-linux-x64-installer.run)
$config = hiera('wowza')
$audio_upstream = 'http://localhost:1935'
$wowza_upstream = 'http://localhost:8088'
$shoutcast_upstream = 'http://localhost:8000'
# The following URLs are for management:
@iamsenorespana
iamsenorespana / Cloud Gaming on Apple Vision Pro.md
Created June 10, 2024 02:46 — forked from KhaosT/Cloud Gaming on Apple Vision Pro.md
Guide for clouding gaming on Apple Vision Pro

Cloud Gaming on Apple Vision Pro

GeForce Now

Cloud Gaming is a great way to enjoy graphically demanding games on Apple Vision Pro.

Since Safari on visionOS does not support PWA mode, here is how you can access cloud gaming services on Apple Vision Pro.

What’s needed

import openai
openai.api_key = "YOUR API KEY HERE"
model_engine = "text-davinci-003"
chatbot_prompt = """
As an advanced chatbot, your primary goal is to assist users to the best of your ability. This may involve answering questions, providing helpful information, or completing tasks based on user input. In order to effectively assist users, it is important to be detailed and thorough in your responses. Use examples and evidence to support your points and justify your recommendations or solutions.
<conversation history>
User: <user input>
@iamsenorespana
iamsenorespana / Proxy-IP-instructions.md
Created July 12, 2022 15:21 — forked from daisy613/Proxy-IP-instructions.md
Setting up proxy IPs for use with your crypto bots.

🌼 Daisy's IP Proxy Instructions

Use cases:

  • You want your bot to appear to be running from a different country.
  • You are running multiple instances of the bot, and you want each to use a different proxy IP (helps with exchange API limits).
  • You are using Daisy's Powershell Scripts and you want to make sure that the calls they make appear from another IP to the exchange.

Get the Proxies

  • This step is necessary for both the bot and the scripts.
  • Follow this referral link to create a Webshare account.
@iamsenorespana
iamsenorespana / camel-messaging-bridge-spring-route.xml
Created July 19, 2021 12:50 — forked from rafaeltuelho/camel-messaging-bridge-spring-route.xml
Camel route example to implement a brifge between A-MQ and IBM MQ...
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2015 Red Hat, Inc.
Red Hat licenses this file to you 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
http://www.apache.org/licenses/LICENSE-2.0
College / University URL Notes
Alabama A & M University http://www.aamu.edu/Pages/default.aspx
Alabama State University http://www.alasu.edu/index.aspx
Albany State University http://www.asurams.edu/
Alcorn State University http://www.alcorn.edu/
Allen University http://allenuniversity.edu/
Arkansas Baptist College http://www.arkansasbaptist.edu/
Benedict College http://www.benedict.edu/
Bennett College for Women http://www.bennett.edu/
Bethune-Cookman University http://www.cookman.edu/
#!/bin/bash
echo "";
echo "---- Welcome to Counting ----";
echo "";
for x in one two three four five six seven eight nine ten
do
echo "Hello Number: $x"
@iamsenorespana
iamsenorespana / kubectl.md
Created August 26, 2020 04:04 — forked from so0k/kubectl.md
Playing with kubectl output

Kubectl output options

Let's look at some basic kubectl output options.

Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).

We can start with:

kubectl get no
@iamsenorespana
iamsenorespana / sampleREADME.md
Created March 13, 2020 16:14 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

func openbrowser(url string) {
var err error
switch runtime.GOOS {
case "linux":
err = exec.Command("xdg-open", url).Start()
case "windows":
err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start()
case "darwin":
err = exec.Command("open", url).Start()