Skip to content

Instantly share code, notes, and snippets.

Avatar
😬
Have you tried turning it off and on again?

Adonis Deliannis Blizzardo1

😬
Have you tried turning it off and on again?
  • Blizzeta Gaming
  • United States
View GitHub Profile
@Blizzardo1
Blizzardo1 / vpnchk
Created Feb 26, 2021
Check current VPN Connections in Vyatta-flavored systems
View vpnchk
#!/usr/bin/env python
import os
run = '/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper'
runusr = '/opt/vyatta/bin/vyatta-op-cmd-wrapper'
red=31
green=32
reset=37
def make_color(color):
@Blizzardo1
Blizzardo1 / blockip
Created Feb 13, 2021
Python script for Vyatta flavored configurations. Adds an IP to a block list.
View blockip
#!/usr/bin/env python
import os
import sys
import vyatta
run = '/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper'
runusr = '/opt/vyatta/bin/vyatta-op-cmd-wrapper'
red=31
green=32
reset=37
View Sql.cs
// #define DRYRUN
#region Header
// Sql.cs\n Copyright (C) Adonis Deliannis, 2019\nCreated 26 08, 2019
// Place each class and interface in their respected files to clean up this file for easier reading, your prerogative.
#endregion
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
View gist:55a73801b733d5b7a12dafc0e553a9c7
MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.
System.MissingMethodException: Method not found: 'System.String Microsoft.Build.Evaluation.ProjectCollection.get_DisplayVersion()'.
at Microsoft.Build.CommandLine.MSBuildApp.DisplayCopyrightMessage()
at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Boolean& needToValidateProject, String& schemaFile, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, Boolean& graphBuild, Strin
View msbuild_versions
Using vswhere from C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
********************
Looking for legacy MSBuild versions: C:\Program Files (x86)\MSBuild\
********************
********************
Looking for MSBuild in the GAC: C:\WINDOWS\Microsoft.NET\assembly
InternalName ProductVersion FileName
View CalendarApp.java
package net.calendar.app;
import java.io.PrintStream;
import java.util.Calendar;
import java.util.Scanner;
public final class Program
{
public Program() {}
View keybase.md

Keybase proof

I hereby claim:

  • I am blizzardo1 on github.
  • I am bzta007 (https://keybase.io/bzta007) on keybase.
  • I have a public key ASAo40H2vvNQslpWc1GzaGXcOuQAyiUb4bq9ZEE94cf_ugo

To claim this, I am signing this object:

@Blizzardo1
Blizzardo1 / sources.list
Created Mar 2, 2017
debian sources.list
View sources.list
deb [arch=amd64] http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src [arch=amd64] http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb [arch=amd64] http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb-src [arch=amd64] http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb [arch=amd64] http://security.debian.org/ jessie/updates main contrib non-free
deb-src [arch=amd64] http://security.debian.org/ jessie/updates main contrib non-free
@Blizzardo1
Blizzardo1 / crawler.py
Created Jan 11, 2017
Made with a little help because I don't know Python for shit...
View crawler.py
from html.parser import HTMLParser
from urllib.request import urlopen
from urllib import parse
import traceback
class Crawler(HTMLParser):
def handle_starttag(self, tag, attribs):
if tag == 'a':
for (key, val) in attribs:
if key == 'href':
View Circle.pde
// Daniel Shiffman
// http://codingrainbow.com
// http://patreon.com/codingrainbow
// Code for: https://youtu.be/QHEQuoIKgNE
// Adonis Deliannis (Blizzardo1)
// Added modification to create colour scheme.
class Circle {
float x;