Skip to content

Instantly share code, notes, and snippets.

💭
"AppxManifest.xml failed with error: The operation completed successfully."

Sasha Nik venik

💭
"AppxManifest.xml failed with error: The operation completed successfully."
Block or report user

Report or block venik

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
@venik
venik / diff.ts
Created Aug 31, 2017
Deep diff between two typescript objects with lodash, returns the difference
View diff.ts
difference(newObject: any, baseObject: any) {
function changes(newObject: any, baseObject: any) {
return _.transform(newObject, function(result, value, key) {
if (!_.isEqual(value, baseObject[key])) {
result[key] = (_.isObject(value) && _.isObject(baseObject[key])) ? changes(value, baseObject[key]) : value;
}
});
}
const rval = changes(newObject, baseObject);
@venik
venik / build_tf.sh
Last active Apr 23, 2019
Bash script for local building TensorFlow on Mac/Linux with all CPU optimizations (default pip package has only SSE)
View build_tf.sh
#!/usr/bin/env bash
# Author: Sasha Nikiforov
# source of inspiration
# https://stackoverflow.com/questions/41293077/how-to-compile-tensorflow-with-sse4-2-and-avx-instructions
# Detect platform
if [ "$(uname)" == "Darwin" ]; then
# MacOS
You can’t perform that action at this time.