Skip to content

Instantly share code, notes, and snippets.

View thechainercygnus's full-sized avatar

Bryce Jenkins thechainercygnus

View GitHub Profile
@thechainercygnus
thechainercygnus / function.js
Last active August 29, 2015 14:04
Makes no sense
var main = function(){
$('.icon-menu').click(function() {
$('.menu').animate({
left: '0px'
}, 200);
$('body').animate({
left: '285px'
}, 200);
});
@thechainercygnus
thechainercygnus / test.css
Created July 30, 2015 19:38
CSS Grid Overlay for Map
.framing {
height: 1050px;
width: 2050px;
position: relative;
background-color: gray;
}
.image {
position: absolute;
margin-top: 25px;

Keybase proof

I hereby claim:

  • I am thechainercygnus on github.
  • I am thebjenkins (https://keybase.io/thebjenkins) on keybase.
  • I have a public key ASDzmPU5qRmN0Vr_dHqVuwRDd_Eor7hIBQSiNbf98sifEgo

To claim this, I am signing this object:

@thechainercygnus
thechainercygnus / StopServicebyIP.ps1
Created June 30, 2021 14:29
Simple script to check IP Address against a target IP and stop a service if there is a match.
# Set these to match your needs
$ServiceTarget = Get-Service -Name ""
$MatchTarget = "10","15","86"
# This big Foreach is just looping through every interface on the machine looking for names like "Ethernet"
# If you need to prioritize a different interface, or change interface names on systems, update the -Like string accordingly.
foreach ($Interface in (Get-NetIPAddress -AddressFamily IPv4 | Where-Object {$_.InterfaceAlias -like "Ethernet*"})) {
# Because we're working with numbers, convert each octet to an int and stick it in an array.
$IPArray = ($Interface.IPAddress).Split(".") | ForEach-Object {[int]$_}
@thechainercygnus
thechainercygnus / wrangler.toml
Created April 28, 2022 11:59
A basic wrangler.toml for webpack workers
name = "worker_name" # The name of the worker
type = "webpack" # This tells Cloudflare Workers what stack we need, currently using webpack. Will move to javascript custom build
compatibility_date = "2022-01-01"
workers_dev = true # Set to false for production deployments
route = "https://{{ domain }}/*" # Populate with your domain name
account_id = "" # Your CF Account ID
zone_id = "" # The CF Zone ID for the domain
[site]