Skip to content

Instantly share code, notes, and snippets.

View abshkd's full-sized avatar
:shipit:
Focusing

Abhishek Dujari abshkd

:shipit:
Focusing
View GitHub Profile
@abshkd
abshkd / containers_and_serverless.md
Last active November 12, 2019 09:01
containers and serverless projects
# coding: utf-8
# In[2]:
from base64 import b64encode
import json
@abshkd
abshkd / settings.xml
Created March 10, 2018 13:10
proxy maven repository configuration
<!-- this file is in $USER_HOME/.m2/settings.xml, if its not there, create one -->
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
@abshkd
abshkd / iperf-RB-3011-UiAS-RM
Created December 21, 2017 07:32
iperf of RB 3011 uiAS-RM
# over Cat 5e with over 10 clients connected
iperf -c 192.168.88.252
------------------------------------------------------------
Client connecting to 192.168.88.252, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.88.251 port 37608 connected with 192.168.88.252 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.03 GBytes 887 Mbits/sec
@abshkd
abshkd / RTAnalytics.md
Created October 21, 2016 09:50
What is Analytics

Stages

  • Discovery - Patterns in Data
  • Communicating - Provide ingiht at higher level

##Types of Analytics

  • Cubic Analytics - BI, filtering aggregation on Dimension. usually 3 to N dimension including Time often but not always
  • Predictive Analysis - Statistical and machine learning. ** regression ** etc
@abshkd
abshkd / developers.md
Last active September 9, 2016 15:58
Superuser Developer's toolbelt
@abshkd
abshkd / Gemfile
Created September 5, 2016 14:51
A basic starter Gemfile with Rspec
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.7'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
@abshkd
abshkd / Gemfile
Created September 5, 2016 12:14
Gemfile template. This is enough to run "bundle install" then edit to make your changes
#From https://gist.github.com/abshkd/92c76ec570d6821dce1ac28c2de8073e
source 'https://rubygems.org'
ruby '2.3.0'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.7'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
@abshkd
abshkd / rails-4-quickstart
Last active September 5, 2016 12:31
New Rails 4.x project quickstart
# Assuming you are using rbenv
#ensure right ruby version 2.3.0 in my case
rbenv version
mkdir projects
cd projects
#create a Gemfile by hand and then bundle install. use the basic template to start
wget https://gist.githubusercontent.com/abshkd/92c76ec570d6821dce1ac28c2de8073e/raw/3ea01c79d607d2dd1f370971cd5f57b23cb6d436/Gemfile
bundle install
rails new my_project --skip-test-unit
@abshkd
abshkd / KF2Bots.KF2BotsMut.log
Created June 26, 2016 04:21
Kf2Bots Mutator logs
0069.71] Log: === Critical error: ===
Fatal error!
Address = 0xab14736d (filename not found) [in F:\kf2-server\Binaries\win64\KFServer.exe]
Address = 0xab147c14 (filename not found) [in F:\kf2-server\Binaries\win64\KFServer.exe]
Address = 0xab14bb74 (filename not found) [in F:\kf2-server\Binaries\win64\KFServer.exe]
Address = 0xab168170 (filename not found) [in F:\kf2-server\Binaries\win64\KFServer.exe]
Address = 0xab15ab65 (filename not found) [in F:\kf2-server\Binaries\win64\KFServer.exe]
Address = 0xab168170 (filename not found) [in F:\kf2-server\Binaries\win64\KFServer.exe]
Address = 0xab15ab65 (filename not found) [in F:\kf2-server\Binaries\win64\KFServer.exe]