Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
Focusing

Abhishek Dujari abshkd

:shipit:
Focusing
View GitHub Profile
@abshkd
abshkd / containers_and_serverless.md
Last active Nov 12, 2019
containers and serverless projects
View containers_and_serverless.md
View file_to_json.py
# coding: utf-8
# In[2]:
from base64 import b64encode
import json
@abshkd
abshkd / settings.xml
Created Mar 10, 2018
proxy maven repository configuration
View settings.xml
<!-- 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 Dec 21, 2017
iperf of RB 3011 uiAS-RM
View iperf-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 Oct 21, 2016
What is Analytics
View RTAnalytics.md

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 Sep 9, 2016
Superuser Developer's toolbelt
View developers.md
@abshkd
abshkd / Gemfile
Created Sep 5, 2016
A basic starter Gemfile with Rspec
View Gemfile
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 Sep 5, 2016
Gemfile template. This is enough to run "bundle install" then edit to make your changes
View Gemfile
#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 Sep 5, 2016
New Rails 4.x project quickstart
View rails-4-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
View KF2Bots.KF2BotsMut.log
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]