Skip to content

Instantly share code, notes, and snippets.

View k0ste's full-sized avatar

Konstantin Shalygin k0ste

View GitHub Profile
@k0ste
k0ste / Dockerfile
Last active April 1, 2024 12:44 — forked from duckworth/Dockerfile
racadm on OSX
FROM "quay.io/centos/centos:stream9"
RUN dnf -y --setopt="tsflags=nodocs" upgrade && \
dnf -y --setopt="tsflags=nodocs" install wget
RUN wget --progress=dot:giga -O bootstrap.cgi \
https://linux.dell.com/repo/hardware/dsu/bootstrap.cgi && \
bash bootstrap.cgi && rm -f bootstrap.cgi
RUN dnf -y install dell-system-update -y && \
dnf clean all && dnf -y --setopt="tsflags=nodocs" upgrade && \
dnf clean all
[k0ste@WorkStation frr]$ makepkg -Cf
==> Making package: frr 7.0-3 (Thu 09 May 2019 12:04:31 PM +07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found frr-7.0.tar.gz
-> Found frr.sysusers
-> Found frr.tmpfiles
-> Found frr_6.0_systemd_arch.patch
-> Found frr_7.0_Archlinux.patch
@k0ste
k0ste / md52all.php
Created July 28, 2016 11:14
md52all.php
<?php
require_once 'cisco.cfg.php';
$realm='opentech.ru';
$link = mysqli_connect($mysql_host, $mysql_user, $mysql_pwd, $mysql_db);
if (!$link)
exit('Error (' . mysqli_errno() . '): ' . mysqli_error(). "\n");
mysqli_query($link, "SET NAMES 'utf8'");