Skip to content

Instantly share code, notes, and snippets.

@mashaal
mashaal / CV.md
Last active April 26, 2022 02:13
CV

Omar Mashaal

omar@teacups.io

A digital engineer/technical director with ~12 years experience utilising modern best practices, as well as leading teams of 20+ across varying platforms, languages and environments.


Strengths
  • Driven to create a workplace which focuses on developer happiness.
@mashaal
mashaal / contentful-cleaner.mjs
Created September 13, 2018 23:37
Contentful Cleaner
import traverse from 'traverse'
const cleaner = obj =>
traverse(obj).map(function() {
if (this.node.fields && this.node.sys) this.update(this.node.fields)
})
export default cleaner
@mashaal
mashaal / code.json
Last active February 27, 2018 01:33
VSCode settings
{
"editor.fontSize": 22,
"editor.tabSize": 2,
"prettier.singleQuote": true,
"prettier.semi": false,
"prettier.eslintIntegration": true,
"editor.formatOnSave": true,
"editor.dragAndDrop": false,
"editor.formatOnPaste": true,
"git.enableSmartCommit": true,
@mashaal
mashaal / .hyper.js
Created April 1, 2017 02:44
hyper config
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 20,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: '#65d7fd',
@mashaal
mashaal / .vimrc
Last active February 4, 2017 04:34
.vimrc
set shell=/bin/bash\ -i
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'pangloss/vim-javascript'
Plugin 'mxw/vim-jsx'
@mashaal
mashaal / retina-canvas.js
Created August 22, 2016 02:28
Retina Canvas
// example for retina canvas
this.canvas.width = this.width * window.devicePixelRatio
this.canvas.height = this.height * window.devicePixelRatio
this.canvas.style.width = `${this.width}px`
this.canvas.style.height = `${this.height}px`

Keybase proof

I hereby claim:

  • I am mashaal on github.
  • I am mashaal (https://keybase.io/mashaal) on keybase.
  • I have a public key whose fingerprint is 0778 2E54 A8C1 6A17 4B1E 4162 CF67 638A 4F79 E688

To claim this, I am signing this object: