Skip to content

Instantly share code, notes, and snippets.

View johansmitsnl's full-sized avatar
😀
Available to help

Johan Smits johansmitsnl

😀
Available to help
View GitHub Profile
@johansmitsnl
johansmitsnl / create-iso.sh
Created August 24, 2017 19:00 — forked from julianxhokaxhiu/create-iso.sh
Simple bash script to create a Bootable ISO from macOS Sierra Install Image from Mac App Store
#!/bin/bash
#
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/
# Adapted to work with the official image available into Mac App Store
#
# Enjoy!
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
@johansmitsnl
johansmitsnl / example.ts
Created June 9, 2019 21:33
Typescript vue apollo
import {Vue, Component} from "vue-property-decorator";
import {user} from "packs/types/user";
@Component({
apollo: {
user: {
query: require('../graphql/user.graphql'),
loadingKey: 'loading',
subscribeToMore: {
document: require('../graphql/user_updates.graphql'),
@johansmitsnl
johansmitsnl / Gemfile
Created July 22, 2022 19:26
html2sycamore
source 'https://rubygems.org'
gem 'nokogiri'