Skip to content

Instantly share code, notes, and snippets.

Doron Adler Norod

Block or report user

Report or block Norod

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
Norod / immintrin.h
Created Mar 26, 2019
Workaround for "GNU-style inline assembly is disabled" error in Xcode 10.2 simulator for WatchOS 5.2 (See line 347)
View immintrin.h
/*===---- immintrin.h - Intel intrinsics -----------------------------------===
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* The above copyright notice and this permission notice shall be included in
Norod / UinstallXcode10_x.txt
Last active Jun 6, 2019
How to completely remove Xcode 10
View UinstallXcode10_x.txt
# How to completely remove Xcode 10
# Info taken from this thread:
# Keywords:
# Uninstall, Remove, Wipe, Delete, Xcode, Xcode 10
# Assuming everythig is installed in the default path
Norod / tensorflow_r1.8_rc1_macOS_myBuildSettings.txt
Last active May 21, 2018
View tensorflow_r1.8_rc1_macOS_myBuildSettings.txt
export CUDA_HOME=/usr/local/cuda
export DYLD_LIBRARY_PATH=/Users/dadler/lib:/usr/local/cuda/lib:/usr/local/cuda/extras/CUPTI/lib
I used bazel 0.10.0 (installed from
Norod /
Last active Jun 23, 2019
How to extract a list of Youtube links from a Facebook discussion thread and generate a playlist
Norod / dalekTalk.swift
Last active Jul 11, 2016
A Dalek-like audio effect
View dalekTalk.swift
#!/usr/bin/env xcrun swift
// $ chmod +x dalekTalk.swift
// $ ./dalekTalk.swift
// Based upon
import Cocoa
import AVFoundation
import Foundation
Norod /
Last active Jul 25, 2017 — forked from foozmeat/
A shell script to build openssl for iOS and Mac. >>>>> It currently builds: Mac (i386, x86_64) >>>>> iOS (armv7, arm64) >>>>> iOS Simulator (i386, x86_64) >>>>> Updated to work with Xcode 7 and produce bitcode enabled binaries >>>>> Minimum deployment target can be easily configured
# This script builds the iOS and Mac openSSL libraries with Bitcode enabled
# Download openssl and place the tarball next to this script
# Credits:
# Peter Steinberger, PSPDFKit GmbH, @steipete.
# Doron Adler, GlideTalk, @Norod78
Norod / BenchmarkArray_firstObject_lastObject.m
Created Jul 11, 2014
Benchmark average time of [array firstObject] calls and [array lastObject] calls. Result - Sim: No difference, iPad 2: 0.9% - 2.1% in favour of firstObject
View BenchmarkArray_firstObject_lastObject.m
// ViewController.m
// testDispatchBenchmark
// Created by Doron Adler on 7/11/14.
#import "ViewController.h"
#include <mach/mach.h>
#include <mach/mach_time.h>
Norod / otfHorizontalTableModify.m
Last active Aug 29, 2015
Demonstrate how to load an OTF file, change some if its internal values in-memory (Ascender, Descender, LineGap), register it and then create a UIFont object
View otfHorizontalTableModify.m
#import <CoreText/CoreText.h>
#define kOTFhorizontalHeaderTableRecord_tag htonl((int32_t)('hhea'))
typedef struct otfTableRecordStruct
int32_t tag;
int32_t checksum;
int32_t offset;
int32_t length;
You can’t perform that action at this time.