Skip to content

Instantly share code, notes, and snippets.

View vv111y's full-sized avatar
🏠
Working from home

vv111y vv111y

🏠
Working from home
View GitHub Profile
@vv111y
vv111y / gist:662cf142a9a23e0debae79ae832a5184
Last active January 16, 2024 10:50
diagnostics for centos6 dual port network - traffic failure between ports
UPDATE: modified for nics configured for different subnets
things I would check:
- ip's should be on same subnet
- correct subnet mask
- gateway only on internet facing port
- check routing table for erroneous static routes
- make sure IP forwarding enabled for local port
- make sure duplex settings the same (set both to 'auto')
- same MTU size if specified
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 530.41.03
Section "ServerLayout"
Identifier "Layout0"
# Screen 0 "Screen0" 0 0
# Screen 1 "Screen1" RightOf "Screen0"
Screen 0 "Screen1" 0 0
# Screen 2 "Screen2" RightOf "Screen1"
Inactive "InactiveDevice1"
@vv111y
vv111y / gist:1830f8976b9256b20cbde959805668ef
Created October 16, 2023 02:31
Xorg.0.log-nouveau_quadro_450
[ 23.385]
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[ 23.386] Current Operating System: Linux workstation 6.1.55-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sat Sep 23 12:13:56 UTC 2023 x86_64
[ 23.386] Kernel command line: BOOT_IMAGE=/vmlinuz-6.1-x86_64 root=UUID=bc7ab899-7129-4d0c-af8c-53e16b96f48b rw intel_iommu=on
[ 23.386]
[ 23.386] Current version of pixman: 0.42.2
[ 23.386] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 23.386] Markers: (--) probed, (**) from config file, (==) default setting,
FROM ubuntu:18.04
# Set character encoding environment variables
ENV LC_ALL=C.UTF-8 LANG=C.UTF-8
# Allow apt-get install without interaction from console
ENV DEBIAN_FRONTEND=noninteractive
# Set the working directory to /root
WORKDIR /root
rm(list=ls())
library(lmtest) ; library(sandwich)
# data sim
library(texreg)
set.seed(1)
x <- rnorm(1000)
y <- 5 + 2*x + rnorm(1000,0,40)
# regression
;; outline-minor-mode needs to be enabled for this to work.
(setq py-docstring-regexp "\"\"\"")
(defvar py-docstrings-folded nil)
(defun py-toggle-docstrings ()
(interactive)
(if py-docstrings-folded
(setq py-docstrings-folded nil)
Creating a new AKS service...
Creating....
FailedProvisioning operation finished, operation "Failed"
---------------------------------------------------------------------------
ComputeTargetException Traceback (most recent call last)
<ipython-input-28-4fd5439fcdb8> in <module>
4 name = aks_name,
5 provisioning_configuration = prov_config)
----> 6 aks_target.wait_for_completion(show_output = True)
7 print(aks_target.provisioning_state)
Creating a new AKS service...
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
~/anaconda3/envs/azureml/lib/python3.7/site-packages/azureml/core/compute/compute.py in _create_compute_target(workspace, name, compute_payload, target_class)
265 try:
--> 266 resp.raise_for_status()
267 except requests.exceptions.HTTPError:
~/anaconda3/envs/azureml/lib/python3.7/site-packages/requests/models.py in raise_for_status(self)
939 if http_error_msg:
Creating a new AKS service...
Creating....
FailedProvisioning operation finished, operation "Failed"
---------------------------------------------------------------------------
ComputeTargetException Traceback (most recent call last)
<timed exec> in <module>
~/anaconda3/envs/azureml/lib/python3.7/site-packages/azureml/core/compute/compute.py in __new__(cls, workspace, name)
78 raise ComputeTargetException('ComputeTargetNotFound: Compute Target with name {} not found in '
---> 79 'provided workspace'.format(name))

DatSciWorkbook

HEADER