Skip to content

Instantly share code, notes, and snippets.

azizasm

Block or report user

Report or block azizasm

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
@azizasm
azizasm / README.txt
Created Aug 30, 2019
pdftk dockers - encrypt pdf files
View README.txt
1) Play with dockers
2) ssh and transfer *PS.pdf files
3) docker run -v $(pwd):/work mnuessler/pdftk
4)
docker run -v $(pwd):/work mnuessler/pdftk 213-Haslina-PS.pdf output 213-Haslina-PS-enc.pdf owner_pw xxxx user_pw yyyyy allow printing
@azizasm
azizasm / Solution.java
Created Jan 17, 2019
Phone Bill Calculator
View Solution.java
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
class Solution {
/**
View docker-notes.txt
git clone https://github.com/spring-guides/gs-spring-boot-docker.git
cd gs-spring-boot-docker/initial
docker run -it --rm -v "$(pwd)":/opt/maven -w /opt/maven maven:3.6.0-jdk-8 ./mvnw package
docker run -it --rm -v "$(pwd)":/opt/maven -w /opt/maven maven:3.6.0-jdk-8 java -jar target/gs-spring-boot-docker-0.1.0.jar
cp target/gs-spring-boot-docker-0.1.0.jar app.jar
@azizasm
azizasm / docker-compose.yml
Last active Oct 4, 2018
Tensorflow python2
View docker-compose.yml
# run tensorflow from dockers - play-with-docker.com
# to run : http://play-with-docker.com/?stack=https://gist.githubusercontent.com/azizasm/42e1e8d2330b4e347d39831ea5db15a9/raw/raw/docker-compose.yml
# Use root/example as user/password credentials
version: '3.1'
services:
tensorflow:
restart: always
View docker-compose.yml
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress
@azizasm
azizasm / docker-compose.yml
Last active Jul 6, 2018
TODO: still under Development and not fully functioning
View docker-compose.yml
version: '3.1'
services:
tensorflow:
restart: always
image: cloudera/quickstart:latest
# container_name : zys
ports:
- 8020:8020
# environment:
# MYSQL_ROOT_PASSWORD: root
@azizasm
azizasm / MBB.iim
Created May 18, 2018
Web Automation - iMacro Maybank2u Transaction history save into CSV file.
View MBB.iim
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
SET !EXTRACT_TEST_POPUP NO
URL GOTO=https://www.maybank2u.com.my/mbb/m2u/common/M2ULogin.do?action=Login
FRAME F=1
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:loginForm ATTR=ID:input-rounded CONTENT=username123
WAIT SECONDS=3
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:loginForm ATTR=ID:replacement-4
@azizasm
azizasm / removePdfWatermark-WSJ2.sh
Created Apr 6, 2018
WSJ pdf watermark remover
View removePdfWatermark-WSJ2.sh
#!/bin/bash
interactive=
filename=~/removePdfWatermark-WSJ2.sh
bfile=$(basename $1)
#cd /home/osboxes/ZysProj/pdf
@azizasm
azizasm / mbb.js
Last active Mar 29, 2018
Casperjs script to extract / automate maybank2u transaction view
View mbb.js
/*==============================================================================*/
/* Casperjs script to extract / automate maybank2u transaction view */
/* Requiremnt : Install casperjs from http://casperjs.org/ and PhantomJS */
/* Requiremnt : Update maybank2u username and password below */
/* To run : casperjs test mbb.js */
/*==============================================================================*/
var fs = require('fs');
@azizasm
azizasm / docker-compose.yml
Last active Feb 4, 2018
Tensorflow docker
View docker-compose.yml
# run tensorflow from dockers - play-with-docker.com
# to run : http://play-with-docker.com/?stack=https://gist.githubusercontent.com/azizasm/2e8ba3c81a3ba1811f17d48275d6d2b8/raw/docker-compose.yml
# Use root/example as user/password credentials
version: '3.1'
services:
tensorflow:
restart: always
You can’t perform that action at this time.