Skip to content

Instantly share code, notes, and snippets.

Avatar

ADDOULLA addoull

View GitHub Profile
View api.html
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<title>XMRig API test</title>
@addoull
addoull / rm_message.sh
Created Dec 19, 2017 — forked from jigzstar/rm_message.sh
Zimbra - Delete a message by subject from all email accounts in a file
View rm_message.sh
#!/bin/bash
# rm_message.sh user@domain.com subject
# create temp_file prior to calling this zmprov -l gaa | grep domain.com > /tmp/temp_email
if [ -z "$2" ]; then
echo "usage: rm_message.sh user@domain.com <subject>"
exit 0
else
addr=$1
subject=$2
@addoull
addoull / 01_myfilters.py
Created May 14, 2017 — forked from sivy/01_myfilters.py
MD5 template filter for Django
View 01_myfilters.py
from django import template
import hashlib
register = template.Library()
#
# {{ "some identifier"|md5 }}
# g87g98ht02497hg349ugh3409h34
#
@register.filter(name='md5')
@addoull
addoull / Material_Theme_Gnome_Terminal.sh
Last active Oct 6, 2016
Material Theme for different terminals
View Material_Theme_Gnome_Terminal.sh
#!/usr/bin/env bash
#
# Material Theme
# --- ----
# Based on
#
# OCEANIC NEXT
# --- ----
# Gnome Terminal color scheme install script
# Based on:
@addoull
addoull / onedark.vim
Created Sep 28, 2016
Change cterm colors to get a better color shceme
View onedark.vim
" Vim Color File
" Name: onedark.vim
" Maintainer: https://github.com/joshdick/onedark.vim/
" License: The MIT License (MIT)
" Based On: https://github.com/MaxSt/FlatColor/
" A companion [vim-airline](https://github.com/bling/vim-airline) theme is available at: https://github.com/joshdick/airline-onedark.vim
" +-----------------+
" | Color Reference |
@addoull
addoull / BlogController.php
Last active Dec 29, 2015 — forked from tobysteward/BlogController.php
Laravel AJAX Pagination with JQuery
View BlogController.php
<?php
class BlogController extends Controller
{
/**
* Posts
*
* @return void
*/
public function showPosts()
You can’t perform that action at this time.