Skip to content

Instantly share code, notes, and snippets.

View ismailmechbal's full-sized avatar

Ismail Mechbal ismailmechbal

View GitHub Profile

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

api = 2
core = 7.x
projects[drupal][type] = core
projects[drupal][download][type] = git
projects[drupal][download][branch] = 7.x
projects[drupal][download][url] = http://git.drupal.org/project/drupal.git

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@ismailmechbal
ismailmechbal / contact_batch_email.html.erb
Created January 13, 2016 10:33 — forked from Joseworks/contact_batch_email.html.erb
Send batch emails on ActiveAdmin Rails 4.2.0
<!-- Contact batch email -->
<!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<div>Name: <%= @name %></div>
<br>
<div>Subject: <%= @subject %></div>
@ismailmechbal
ismailmechbal / README.md
Created January 17, 2016 20:38 — forked from miawgogo/README.md
Countdown. REVISED EDITION!!!!

Countdown. REVISED EDITION!!!!

This is a fork of ruleb's count down that rended one of the else ifs unreachable in his code. Even though he was notified by menny people he never fixed his code so i took it on to... fix 1 line of code. This Fork may expand if i have the time to re-learn coffie and see if any outher code is broken.

The rest of this readme and the html code and scss is still the orginal by ruleb.

Description

Simple Dashing widget to countdown until a certain moment. Flashes the widget when finished.

Description

Simple Dashing widget that show the amount of open issues and bugs for a Gitlab project.

The widget was made by @joren for use @openminds. If you end up using this widget, please send me a tweet! I'd love to hear about it.

Dependencies

This widget requires the curb gem for easy curl request in Ruby and your Gitlab API key.

@ismailmechbal
ismailmechbal / gitlab_repo.rb
Created January 17, 2016 20:52 — forked from Fiyorden/gitlab_repo.rb
Gitlab repo for dashing
#!/usr/bin/env ruby
require 'net/http'
require 'json'
gitlab_token = "YOUR TOKEN"
gitlab_uri = "URL GITLAB"
# number of repositories to display in the list
# order the list by the numbers
ordered = true
require 'mandrill'
require 'json'
mandrill = Mandrill::API.new 'YOUR_API_KEY'
yesterday_number = 0
todays_number = 0
clock = Time.new
day = clock.day
@ismailmechbal
ismailmechbal / README.md
Created January 17, 2016 21:38 — forked from willjohnson/README.md
Server Status Widget for Dashing

Description

A Dashing widget that checks whether a server is responding to either an http or ping request. It displays either a check or alert depending on the response.

Usage