Skip to content

Instantly share code, notes, and snippets.

View saqib-ahmed's full-sized avatar
🦀

Saqib Ahmed saqib-ahmed

🦀
  • Devunleash
  • Lahore, Pakistan
View GitHub Profile

Keybase proof

I hereby claim:

  • I am saqib-ahmed on github.
  • I am saqibahmed (https://keybase.io/saqibahmed) on keybase.
  • I have a public key whose fingerprint is A0B0 7D35 4F1B 52BB 543A 820E D9AB 72CD 3760 57F9

To claim this, I am signing this object:

c++ '-DNODE_GYP_MODULE_NAME=cld-c' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I/Users/saqib/.node-gyp/4.9.1/include/node -I/Users/saqib/.node-gyp/4.9.1/src -I/Users/saqib/.node-gyp/4.9.1/deps/uv/include -I/Users/saqib/.node-gyp/4.9.1/deps/v8/include -I../deps/cld/internal -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++98 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -w -MMD -MF ./Release/.deps/Release/obj.target/cld-c/deps/cld/internal/cldutil.o.d.raw -c -o Release/obj.target/cld-c/deps/cld/internal/cldutil.o ../deps/cld/internal/cldutil.cc
c++ '-DNODE_GYP_MODULE_NAME=cld-c' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I/Users/saqib/.node-gyp/4.9.1/include/node -I/Users/saqib/.node-gyp/4.9.1/src -I/Users/saqi
hey
hello
how are you?
good afternoon
Greetings
Hi there
Hello there
hi
Afternoon
good evening
@saqib-ahmed
saqib-ahmed / language_agnostic_NER.md
Last active May 28, 2018 10:08
Language agnostic intent and entity recognition using rasa_nlu

Language Agnostic Chatbot

Step 1:

Clone the code of rasa_nlu and checkout to lean-CRF brannch. This is only required until #1095 PR gets merged. Once they merge the PR, simple clone would do the trick.

$ git clone https://github.com/RasaHQ/rasa_nlu.git
$ git fetch
$ git checkout lean-crf

Step 2:

@saqib-ahmed
saqib-ahmed / tcpdump
Created May 22, 2018 11:10
This is a debugging tcpdump.
10:48:59.600151 IP (tos 0x0, ttl 64, id 15881, offset 0, flags [DF], proto TCP (6), length 473)
172.19.0.1.48162 > dac2bf5af2f8.9091: Flags [P.], cksum 0x59f5 (incorrect -> 0xbc0b), seq 326827599:326828020, ack 1350057660, win 239, options [nop,nop,TS val 3527385 ecr 3524544], length 421
0x0000: 4500 01d9 3e09 4000 4006 a2ec ac13 0001 E...>.@.@.......
0x0010: ac13 0002 bc22 2383 137a fe4f 5078 3ebc ....."#..z.OPx>.
0x0020: 8018 00ef 59f5 0000 0101 080a 0035 d2d9 ....Y........5..
0x0030: 0035 c7c0 4f50 5449 4f4e 5320 2f75 6d6d .5..OPTIONS./umm
0x0040: 2f65 6162 632f 7365 7276 6963 652f 696e /eabc/service/in
0x0050: 6465 7820 4854 5450 2f31 2e31 0d0a 486f dex.HTTP/1.1..Ho
0x0060: 7374 3a20 6c6f 6361 6c68 6f73 743a 3930 st:.localhost:90
0x0070: 3931 0d0a 436f 6e6e 6563 7469 6f6e 3a20 91..Connection:.
{
"title": "",
"content": "<div id=\"header\"><h1>User Management Micro-Service API Design Specifications<\/h1><div id=\"toc\" class=\"toc2\"><div id=\"toctitle\">Table of Contents<\/div><ul class=\"sectlevel1\"><li><a href=\"#_overview\">1. Overview<\/a><ul class=\"sectlevel2\"><li><a href=\"#_version_information\">1.1. Version information<\/a><\/li><li><a href=\"#_uri_scheme\">1.2. URI scheme<\/a><\/li><li><a href=\"#_tags\">1.3. Tags<\/a><\/li><li><a href=\"#_produces\">1.4. Produces<\/a><\/li><\/ul><\/li><li><a href=\"#_paths\">2. Resources<\/a><ul class=\"sectlevel2\"><li><a href=\"#_login_resource\">2.1. Login<\/a><\/li><li><a href=\"#_user_resource\">2.2. User<\/a><\/li><li><a href=\"#_microservice_resource\">2.3. Microservice<\/a><\/li><li><a href=\"#_role_resource\">2.4. Role<\/a><\/li><li><a href=\"#_permission_resource\">2.5. Permission<\/a><\/li><\/ul><\/li><li><a href=\"#_definitions\">3. Definitions<\/a><ul class=\"sectlevel2\"><li><a href=\"#_401out\">3.1. 401Out<\/a><\/li><li><a href=\"#_err
4:04:51 PM: Executing external task 'bootRun'...
:compileJava UP-TO-DATE
:compileGroovy
:buildProperties UP-TO-DATE
:processResources UP-TO-DATE
:classes
:findMainClass
:bootRun
16:05:34,833 |-INFO in ch.qos.logback.classic.gaffer.ConfigurationDelegate@7ef82753 - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
16:05:34,968 |-INFO in ch.qos.logback.classic.gaffer.ConfigurationDelegate@7ef82753 - registering conversion word clr with class [org.springframework.boot.logging.logback.ColorConverter]
@saqib-ahmed
saqib-ahmed / Test.java
Last active January 17, 2017 07:11
JVMTI Agent for Bytecode Instrumentation of Hot Methods
class Test {
static final int SIZE = 700;
static int dum = 0;
static int x = 0;
static final int start = 400;
public static void main(String arg[]) {
long t1, t2;
int[][] a, b, c, c2, c3;