Skip to content

Instantly share code, notes, and snippets.

View maateen's full-sized avatar
:octocat:
Alive & Breathing!

Maksudur Rahman Maateen maateen

:octocat:
Alive & Breathing!
View GitHub Profile
@maateen
maateen / git-lg.sh
Created March 28, 2018 04:47 — forked from angstwad/git-lg.sh
Better Git Log (git lg)
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
@maateen
maateen / docker-cleanup-resources.md
Created January 24, 2018 04:54 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@maateen
maateen / iterm2-solarized.md
Created November 15, 2017 04:31 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@maateen
maateen / ReactApp.jsx
Created January 12, 2017 13:54 — forked from jeanlescure/ReactApp.jsx
Using Semantic UI Modal in a React.js App
var HelloModal = React.createClass({
getInitialState: function() {
return {
visible: false
};
},
componentDidMount: function() {
var self = this;
$(window).on('modal.visible', function(ev){
self.setState({visible: true});
@maateen
maateen / multiple-modals-semantic.html
Created January 12, 2017 13:53 — forked from marcosfreitas/multiple-modals-semantic.html
Creating Multiple Modals in Semantic UI :)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Multiple Modals With Semantic UI</title>
<link rel="stylesheet" href="path_to_semantic/dist/semantic.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="path_to_semantic/dist/semantic.js"></script>
</head>
<body>