** Step 1 **
Install ffmpeg with the vidstab plugin.
- OSX: Install via Homebrew -
brew install ffmpeg --with-libvidstab - Linux: download binaries here (vidstab included)
- Windows: download binaries here (vidstab included)
| #!/usr/bin/env python3 | |
| # | |
| # travesty2.py | |
| # translated by chatgpt 3.5 | |
| ########################################################### | |
| # | |
| # travesty2.pl | |
| # | |
| # a third version of travesty to try to speed things up |
| //Moebius transformations in 3d, by reverse stereographic projection to the 3-sphere, | |
| //rotation in 4d space, and projection back. | |
| //by Daniel Piker 09/08/20 | |
| //Feel free to use, adapt and reshare. I'd appreciate a mention if you post something using this. | |
| //You can also now find this transformation as a component in Grasshopper/Rhino | |
| //I first wrote about these transformations here: | |
| //https://spacesymmetrystructure.wordpress.com/2008/12/11/4-dimensional-rotations/ | |
| //If you want to transform about a given circle. Points on the circle and its axis stay on those curves. | |
| //You can skip these 2 lines if you want to always use the origin centred unit circle. |
** Step 1 **
Install ffmpeg with the vidstab plugin.
brew install ffmpeg --with-libvidstab| bl_info = { | |
| "name": "Mercator Project", | |
| "author": "batFINGER", | |
| "version": (1, 0), | |
| "blender": (2, 79, 0), | |
| "location": "View3D > Mesh > UV UnWrap > Mercator Project", | |
| "description": "UV Mercator Projection", | |
| "warning": "", | |
| "wiki_url": "", | |
| "category": "UV", |
| # Copyright 2015 The TensorFlow Authors. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| import maya.cmds as cmds | |
| def componentToJoint(): | |
| if cmds.objectType(cmds.ls(sl=1)[0]) != "mesh": | |
| return | |
| # return the selection as a list | |
| selList = getSelection() | |
| print selList | |
| componentType = selList[0][selList[0].index(".") + 1:selList[0].index("[")] |
| # Get-EvengLog doesn't quite work I guess: | |
| # https://stackoverflow.com/questions/31396903/get-eventlog-valid-message-missing-for-some-event-log-sources# | |
| # Get-EventLog Application -EntryType Error -Source "DistributedCOM" | |
| # The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID | |
| #$logs = Get-EventLog -LogName "System" -EntryType Error -Source "DCOM" -Newest 1 -Message "The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID*" | |
| # 2 is error | |
| # 3 is warning | |
| $EVT_MSG = "The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID" | |
| # Search for System event log ERROR entries starting with the specified EVT_MSG | |
| $logEntry = Get-WinEvent -FilterHashTable @{LogName='System'; Level=2} | Where-Object { $_.Message -like "$EVT_MSG*" } | Select-Object -First 1 |
I’m a web app that wants to allow other web apps access to my users’ information, but I want to ensure that the user says it’s ok.
I can’t trust the other web apps, so I must interact with my users directly. I’ll let them know that the other app is trying to get their info, and ask whether they want to grant that permission. Oauth defines a way to initiate that permission verification from the other app’s site so that the user experience is smooth. If the user grants permission, I issue an AuthToken to the other app which it can use to make requests for that user's info.
Oauth2 has nothing to do with encryption -- it relies upon SSL to keep things (like the client app’s shared_secret) secure.
| all: test libtest.so testmodule | |
| libtest.so: libtest.c | |
| $(CC) -Wall -g -fPIC -shared -o $@ $? -lc | |
| test: test_main.c libtest.o | |
| $(CC) -o $@ $? | |
| testmodule: testmodule.c | |
| python setup.py build |