Skip to content

Instantly share code, notes, and snippets.

Ibraheem Abdul-Malik ibraheem4

Block or report user

Report or block ibraheem4

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

Keybase proof

I hereby claim:

  • I am ibraheem4 on github.
  • I am ibraheem ( on keybase.
  • I have a public key ASC5bADpd4u2c6tyd653VW2PcdB6By_XlCSCjLC-V0Ssuwo

To claim this, I am signing this object:

View regex-weburl.js
// Regular Expression for URL validation
// Author: Diego Perini
// Updated: 2010/12/05
// License: MIT
// Copyright (c) 2010-2013 Diego Perini (
// Permission is hereby granted, free of charge, to any person
ibraheem4 /
Last active Nov 12, 2017 — forked from kany/
Setup SENDMAIL on Mac OSX Yosemite
ibraheem4 /
Last active Feb 18, 2020 — forked from sgnl/
Installing Postgres via Brew (OSX)

Installing Postgres via Brew


Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
View controllers.application.js
import Ember from 'ember';
import hexColor from '../utils/hex-color';
const {
} = Ember;
export default Controller.extend({

Basic Authentication

var https = require('https');

var options = {
  host: '',
  port: 443,
  path: '/api/v2/oauth/token?grant_type=client_credentials',
  method: 'POST',
  headers: {

Check keyboard settings

defaults read NSGlobalDomain KeyRepeat
defaults read NSGlobalDomain InitialKeyRepeat

Set faster keyboard

defaults write NSGlobalDomain KeyRepeat -float 2
defaults write NSGlobalDomain InitialKeyRepeat -int 15


for i in ./*.md; do perl ~/ --html4tags $i > ${i%.*}.html; done;

Using Pandoc

for i in ./*.html; do pandoc $i -o ${i%.*}.md --parse-raw; done;

Create database

bin/rake db:create

Add react_on_rails to Gemfile

gem 'react_on_rails', '~> 6'
You can’t perform that action at this time.