Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Owais alshell7

I may be slow to respond.
Block or report user

Report or block alshell7

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
alshell7 /
Last active Apr 29, 2020
Superfast & clean install Rasa and Rasa X on fresh Ubuntu 16.04

Installing Docker and Docker Compose

wget -O - | bash

Installing Rasa X

curl -s | sudo bash

Installing Rasa and setting up the bot

mkdir -m 777 newbot

cd newbot

alshell7 / Vagrantfile_Multi_Agent
Last active Aug 8, 2019
Array of hashes with settings for each virtual machine in Vagrant
View Vagrantfile_Multi_Agent
# PS D:\vagrant_test> cat .\Vagrantfile
# Prefix for LAN
# Prefix for Internal LAN
# The domain that we will use for the entire site
# An array of hashes with settings for each virtual machine

Install RabbitMQ on Ubuntu 16.04

Add RabbitMQ apt repository

echo 'deb testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list
wget -O- | sudo apt-key add -
View nnlm-tensor.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
alshell7 /
Last active Oct 17, 2018
Boost your Android Studio performance and speed up Gradle build time

Modify the following files and settings

File :

  org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m 
  org.gradle.configureondemand=false #Since Gradle 4.2, this is to be disabled, else can use it.
alshell7 /
Created Nov 4, 2017
Preventing multiple executions of a method within a specified threshold time.
private long mLastPostedTime = 0;
private final long threshold = 1000; //1 second
public void postExecution()
if (SystemClock.elapsedRealtime() - mLastPostedTime < threshold) {
mLastPostedTime = SystemClock.elapsedRealtime();
alshell7 / gist:e7d7cce401d4d633c8a23d73e4a19a35
Last active Mar 25, 2017
Tweaking Windows Form in VB.Net
View gist:e7d7cce401d4d633c8a23d73e4a19a35
'Here Changing the msg value, tweaks out the window state and style. This is awesome !!
Protected Overrides Sub WndProc(ByRef m As Message)
If (m.Msg = 132) Then
m.Result = CType(2, IntPtr)
' Disable this sub for NoMoving Window
End If
alshell7 / dictionary.txt
Last active Mar 25, 2017
Dictionary words collection
View dictionary.txt
alshell7 / Fade Effect.snippet
Last active Mar 25, 2017
Visual Studio (VB.Net) snippets
View Fade Effect.snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="">
<CodeSnippet Format="1.0.0">
<Title>Fade In and Out Effect</Title>
<Description>Does Fade In and Fade Out Effect, during form load and closing respectively.</Description>
alshell7 /
Last active Feb 11, 2017
Edited FFT for android.
* Copyright (c) 2007 - 2008 by Damien Di Fede <>
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
* You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free
You can’t perform that action at this time.