This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import scipy.ndimage as nd | |
import PIL.Image | |
from google.protobuf import text_format | |
import caffe | |
model_path = 'caffe/models/finetune_flickr_style/' # substitute your path here | |
net_fn = model_path + 'deploy.prototxt' | |
param_fn = model_path + 'finetune_flickr_style.caffemodel' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(OTF | |
(OffsetTable | |
(sfnt-version 20308.21583) | |
(numTables 25) | |
(searchRange 256) | |
(enterSelector 4) | |
(rangeShift 384)) | |
(Table 0 (tag "BASE" #x42415345) | |
(checkSum 6962C672) (offset #x00000430) (length: #x000001C8)) | |
(Table 1 (tag "CFF " #x43464620) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# | |
# | |
# | |
- ー 1 | |
a あ 1 | |
i い | |
u う 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs') | |
var data = JSON.parse(fs.readFileSync('keyframes.json')) | |
for (var key in data.user.property) { | |
console.log(key) | |
} | |
// console.log(data.user.property.position) | |
var position = data.user.property.position | |
var vertices = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs') | |
var data = JSON.parse(fs.readFileSync('keyframes.json')) | |
for (var key in data.user.property) { | |
console.log(key) | |
} | |
// console.log(data.user.property.position) | |
var position = data.user.property.position | |
var vertices = [] | |
data.user.property.face_vertices.forEach((v) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('Loading function'); | |
var util = require('util'); | |
var url = require('url'); | |
var https = require('https'); | |
var hookURL = "https://hooks.slack.com/services/............"; | |
var postMessage = function(message, callback) { | |
var body = JSON.stringify(message); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <GLFW/glfw3.h> | |
#define GLFW_EXPOSE_NATIVE_COCOA | |
#define GLFW_EXPOSE_NATIVE_NSGL | |
#include <GLFW/glfw3native.h> | |
#include <bgfx/c99/bgfx.h> | |
#include <bgfx/c99/platform.h> | |
#include <cglm/cglm.h> | |
#include <stdio.h> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<########################## | |
.SYNOPSIS This script will change the shell of a user from invalid.exe to explorer.exe and swap back | |
.DESCRIPTION This tool should only be used for a Logitech imaged Zoom room. Running this script on a different system could have an undesriable outcome. | |
1. Log off the Zoom user account | |
2. Logon with the ZoomAdmin account | |
3. Run this Script | |
4. Log Off the ZoomAdmin account | |
5. Logon with the Zoom account | |
6. Once Zoom Rooms start click on the Option button and then exit | |
7. Make any changes you desire |