Skip to content

Instantly share code, notes, and snippets.

View aafaque33's full-sized avatar
🌄
Nature

A. Aafaque aafaque33

🌄
Nature
View GitHub Profile
@aafaque33
aafaque33 / .gitlab-ci.yml
Created June 21, 2019 21:25
Gitlab anybadge to generate badge
stages:
- build
create_badge_svg:
stage: build
image: python:3.6.6
tags:
- docker
script:
- echo "Python other dependencies installation"
stages:
- build
build_badges:
stage: build
tags:
- docker-build
before_script:
- chmod +x get-updated-badge-info.sh
script:
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/gitgraph.js/1.11.4/gitgraph.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/gitgraph.js/1.11.4/gitgraph.min.js"></script>
<style id="jsbin-css">
*{
font-family:Arial;
}
</style>
</head>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/gitgraph.js/1.11.4/gitgraph.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/gitgraph.js/1.11.4/gitgraph.min.js"></script>
<style id="jsbin-css">
*{
font-family:Arial;
}
</style>
</head>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@aafaque33
aafaque33 / Readme.md
Last active December 13, 2018 17:20
Read UTF-8 queries from sql script and write in sqlite db using python

Usage

python sqlite_read.py -h
usage: sqlite_read.py [-h] --script SCRIPT --db DB

Read sql script into Sqlitedb

optional arguments:
 -h, --help show this help message and exit