Skip to content

Instantly share code, notes, and snippets.

View spikecurtis's full-sized avatar

Spike Curtis spikecurtis

View GitHub Profile
@spikecurtis
spikecurtis / gist:e3131fd5650ff7097232
Created July 14, 2015 00:47
iptables-save for profile sjc
sjc@sjc-dev:~/repos/calico-docker/dist$ ./calicoctl profile sjc rule show
Inbound rules:
1 allow
Outbound rules:
1 allow
sjc@sjc-dev:~/repos/calico-docker/dist$ sudo iptables-save
# Generated by iptables-save v1.4.21 on Mon Jul 13 17:43:35 2015
*nat
:PREROUTING ACCEPT [5:420]
:INPUT ACCEPT [0:0]
@spikecurtis
spikecurtis / gist:c33af8fa088e495185f8
Created July 14, 2015 16:36
iptables-restore failed
2015-07-14 16:32:42,099 [ERROR][90/5] calico.felix.fiptables 393: Non-retryable iptables-restore failure. RC=2
2015-07-14 16:32:42,099 [DEBUG][90/5] calico.felix.fiptables 419: Batch time: 0.01 1
2015-07-14 16:32:42,100 [DEBUG][90/2] calico.felix.actor 494: BLOCKING CALL COMPLETE: [9a750589043a] frules.py:156:install_global_rules -> rewrite_chains = FailedSystemCall('iptables-restore', '--noflush', '--verbose')
2015-07-14 16:32:42,100 [ERROR][90/2] calico.felix.felix 186: Exception killing main greenlet
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/calico/felix/felix.py", line 150, in _main_greenlet
v4_nat_updater)
File "/usr/local/lib/python2.7/dist-packages/calico/felix/frules.py", line 156, in install_global_rules
async=False)
File "/usr/local/lib/python2.7/dist-packages/calico/felix/actor.py", line 486, in queue_fn
Warning: The model 'adac250_test' does not have continuous states, hence Simulink is using the solver 'VariableStepDiscrete'
instead of solver 'ode45'. You can disable this diagnostic by explicitly specifying a discrete solver in the solver tab of the
Configuration Parameters dialog, or by setting the 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics
tab of the Configuration Parameters dialog
> In C:\Xilinx\14.7\ISE_DS\ISE\sysgen\bin\nt64\xlCompileGenerateMdl.p>xlCompileGenerateMdl at 203
In C:\Xilinx\14.7\ISE_DS\ISE\sysgen\bin\nt64\xlGenerateButton.p>xlGenerateButton at 325
In C:\Xilinx\14.7\ISE_DS\ISE\sysgen\bin\nt64\xlSysgenGUI.p>xlSysgenGUI at 51
Warning: Inconsistent sample times. Sample time ([0, 0]) of signal driving input port 1 of 'adac250_test/Record Readout/ADC -
A/adac250_0_adc_a_data' differs from the expected sample time (1) at this input port.
> In C:\Xilinx\14.7\ISE_DS\ISE\sysgen\bin\nt64\xlCompileGenerateMdl.p>xlCompileGenerateMdl at 203
---------- RecPlayTestUtil ----------
Parsing RecplayTestRecord.ini file for needed parameters...Done!
Action: init
Connecting to the board... Done
---------- RecPlayTestUtil ----------
Parsing RecplayTestPlayback.ini file for needed parameters...Done!
Action: init
Connecting to the board... Done
root@spike-wily:/opt/Nutaq/bas/sdk/host/api/eapi/prj_linux# ./generate.sh
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE [^\}]*}/ at /usr/bin/autoscan line 361.
configure.ac: warning: missing AC_PROG_CXX wanted by: cross.sh:24
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
@spikecurtis
spikecurtis / meeting_saved_chat.txt
Created September 21, 2017 18:46
Istio Community Call 2017-09-21 Chat
10:49:07 From Spike Curtis : Agenda and notes are here: https://docs.google.com/document/d/14ZCWMfEV9MPDYrjhKYMErVXHTZrSwJNMm1ztKo8efPw/edit
10:59:49 From bliang : Is anyone else seeing a "Recording" status at the top left of the zoom? Is that supposed to be there?
11:00:28 From Prem Sankar G : Yes, if the session get recorded
11:00:48 From bliang : Ah makes sense. Got it!
11:07:14 From whenry : Link to the training information?
11:07:54 From April Kyle Nassi : https://tigera.io/training/
11:09:32 From whenry : thnx
11:09:38 From Prem Sankar G : I would be interested to test. Could you share more details
11:10:36 From zbutcher : https://groups.google.com/d/msg/istio-users/aEgUWT0pCGQ/z5BT7_76DgAJ
11:10:43 From zbutcher : ^ community test day info
@spikecurtis
spikecurtis / bookinfo.yaml
Created September 22, 2017 18:48
Bookinfo with Service Accounts
# Copyright 2017 Istio Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@spikecurtis
spikecurtis / keybase.md
Created October 4, 2017 23:10
Keybase Proof

Keybase proof

I hereby claim:

  • I am spikecurtis on github.
  • I am spikecurtis (https://keybase.io/spikecurtis) on keybase.
  • I have a public key ASCUgBOlDPCZQ6QbRPFvjCR_i-02Hf5yu2aVNXqohruD9go

To claim this, I am signing this object:

@spikecurtis
spikecurtis / main.rs
Created December 2, 2021 05:20
AoC Day 1
use std::io;
fn main() -> io::Result<()> {
let mut buffer = String::new();
let mut old0: i64 = 0;
let mut old1: i64 = 0;
let mut old_total: i64 = 0;
let mut increases = 0;
let mut i = 0;
loop {