Skip to content

Instantly share code, notes, and snippets.

View Tafhim's full-sized avatar

Tafhim Ul Islam Tafhim

  • Earth
View GitHub Profile
@Tafhim
Tafhim / client.py
Created February 23, 2021 23:35 — forked from plq/client.py
Spyne Example
from suds.client import Client
url = 'http://localhost:7789/?wsdl'
company = '2CA'
store = 1
password = '1234'
client = Client(url)
client.service.GetTicketList( 'company_name', 1, '1234' )
@Tafhim
Tafhim / MultipleSelectionCombo.java
Created January 14, 2020 23:10 — forked from suxiaogang/MultipleSelectionCombo.java
SWT Multiple Selection Combo
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.MouseAdapter;
import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.events.ShellAdapter;
import org.eclipse.swt.events.ShellEvent;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
@Tafhim
Tafhim / you-dont-know-js-ebooks.sh
Created December 27, 2018 22:54 — forked from bmaupin/epub.css
You Don't Know JS Ebooks
sudo apt install fonts-dejavu-core git pandoc
git clone https://github.com/getify/You-Dont-Know-JS.git
wget -O You-Dont-Know-JS/epub.css https://gist.githubusercontent.com/bmaupin/6e3649af73120fac2b6907169632be2c/raw/epub.css
cd You-Dont-Know-JS
# Clean up redundant headings that end up getting split into separate chapters by themselves
find . -iname "*.md" -exec sed -i '/# You Don'\''t Know JS.*/d' {} \;
# Fix <br> tags which pandoc won't convert to <br />
find . -iname "*.md" -exec sed -i 's#<br>#<br />#' {} \;
@Tafhim
Tafhim / Setup.md
Created July 8, 2017 06:20 — forked from suvozy/Setup.md
Setup AWS EC2 and RDS (php5.5, apache2.4, mysql5.5, phpmyadmin)
@Tafhim
Tafhim / pacaur_install.sh
Created November 26, 2016 21:45 — forked from tadly/pacaur_install.sh
A simple shell script to quickly / easily install "pacaur" on archlinux
#!/bin/sh
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
#
# This scripts purpose is purly to save you a few seconds on your new installation.
#
# Enjoy your time on an awesome system. Arch FTW!