Skip to content

Instantly share code, notes, and snippets.

View OmarJalil's full-sized avatar
>:c

Jalil OmarJalil

>:c
View GitHub Profile
@OmarJalil
OmarJalil / ImageManager.swift
Created May 20, 2020 18:09
ImageManager for Swift
import Foundation
class ImageManager {
/// Saves an image with an Id
public static func saveImage(imageName: String, image: UIImage) {
guard let documentsDirectory = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first else { return }
let fileName = imageName
@OmarJalil
OmarJalil / hyper.js
Created May 9, 2019 06:59 — forked from coco-napky/hyper.js
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// 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: 'rgba(248,28,229,0.8)',