Skip to content

Instantly share code, notes, and snippets.

View jozefizso's full-sized avatar
🏳️‍🌈

Jozef Izso jozefizso

🏳️‍🌈
  • Slido, Cisco Systems
  • Bratislava, Slovakia
View GitHub Profile
@jozefizso
jozefizso / aws-test.cmd
Last active March 1, 2024 13:09
Slido network connectivity test
::
:: Slido network connectivity test, AWS v2
::
:: (c) 2024 Cisco Systems, Inc. All rights reserved.
::
@echo off
setlocal
setlocal enableextensions enabledelayedexpansion
mkdir logs
traceroute badge.team
traceroute to badge.team (178.251.25.69), 64 hops max, 52 byte packets
1 aer01-hda1-access-gw1-vla160.cisco.com (144.254.221.18) 33.078 ms 27.884 ms 27.959 ms
2 aer01-mda2-sbb-gw2-por20.cisco.com (173.38.195.237) 30.680 ms
aer01-mda1-sbb-gw1-por20.cisco.com (173.38.195.229) 30.597 ms 28.225 ms
3 aer01-mda2-corp-gw2-por11.cisco.com (173.38.195.178) 31.651 ms 27.512 ms
aer01-mda2-corp-gw2-por10.cisco.com (173.38.195.170) 30.269 ms
4 aer01-mda1-dmzbb-gw1-vla777.cisco.com (173.38.208.139) 35.635 ms 33.566 ms 34.544 ms
5 aer01-mda1-cbb-gw1-be91-555.cisco.com (173.38.246.73) 36.925 ms 34.841 ms
aer01-mda2-cbb-gw2-be91-555.cisco.com (173.38.246.77) 36.591 ms
This file has been truncated, but you can view the full file.
2022-01-10 12:47:34,840 18000 [DEBUG] - XmlConfiguration is now operational
2022-01-10 12:47:34,856 18000 [INFO ] - ============================================================
2022-01-10 12:47:34,889 18000 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\config".
2022-01-10 12:47:34,956 18000 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\config\chocolatey.config"
with "C:\ProgramData\chocolatey\config\chocolatey.config.18000.update".
Backup placed at "C:\ProgramData\chocolatey\config\chocolatey.config.backup".
2022-01-10 12:47:34,956 18000 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\config\chocolatey.config.18000.update"
to "C:\ProgramData\chocolatey\config\chocolatey.config".
2022-01-10 12:47:34,956 18000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.18000.update".
2022-01-10 12:47:34,956 18000 [INFO ] - 0.11.3
# escape=`
# Copyright 2023 Cisco Systems, Inc.
FROM mcr.microsoft.com/windows/servercore:ltsc2022
USER ContainerAdministrator
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
# Install Visual C++ Runtime
RUN Invoke-WebRequest "https://aka.ms/vs/17/release/vc_redist.x86.exe" -OutFile "vcredist_x86.exe"; `
@jozefizso
jozefizso / merge_compute_weights-382400.c
Created January 10, 2023 09:04
llvm-project #59909
This file has been truncated, but you can view the full file.
# 1 "<built-in>"
# 1 "/Users/jozef/Developer/cado-nfs/filter/merge_compute_weights.c"
#if 0 /* expanded by -frewrite-includes */
#include "cado.h"
#endif /* expanded by -frewrite-includes */
# 1 "/Users/jozef/Developer/cado-nfs/filter/merge_compute_weights.c"
# 1 "/Users/jozef/Developer/cado-nfs/cado.h" 1
/* Common header file for the CADO project
Copyright 2007-2015 Pierrick Gaudry, Alexander Kruppa, Emmanuel Thome, Paul Zimmermann
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5FA9CC46-E381-428D-9799-814B63FD8135}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Excel371</RootNamespace>
<AssemblyName>Excel371</AssemblyName>
@jozefizso
jozefizso / codegen.cs
Created February 9, 2022 20:40
NetOffice code gen
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Xml;
using System.Xml.Linq;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
var srcDir = @"d:\dev\github\NetOfficeFw\Data2\src\";
var destDir = @"d:\dev\github\NetOfficeFw\docgen\out\";
@jozefizso
jozefizso / deploy-gitlab.yml
Last active April 11, 2021 19:25
TeamCity @ microk8s
#!/bin/bash
helm install gitlab gitlab/gitlab \
--set global.hosts.domain=golab.lan \
--set global.hosts.https=false \
--set certmanager-issuer.email=jozef.izso@gmail.com
# list public services
microk8s kubectl get ingress -lrelease=gitlab
@jozefizso
jozefizso / build_output_v87.txt
Created March 8, 2021 11:51
CefSharp build output
Folder PATH listing for volume System
Volume serial number is C6D8-9B1A
C:.
│ CefSharp.Core.dll
│ CefSharp.Core.pdb
│ CefSharp.Core.Runtime.dll
│ CefSharp.Core.Runtime.pdb
│ CefSharp.Core.Runtime.xml
│ CefSharp.Core.xml
│ CefSharp.dll
{
"id":"4715528465",
"type":"IssueCommentEvent",
"actor":{
"id":177608,
"login":"caioproiete",
"display_login":"caioproiete",
"gravatar_id":"",
"url":"https://api.github.com/users/caioproiete",
"avatar_url":"https://avatars.githubusercontent.com/u/177608?"