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
// Works via Tampermonkey extension http://tampermonkey.net/ | |
// ==UserScript== | |
// @name Remove VK age verification | |
// @version 1.2 | |
// @namespace global | |
// @description Removes VK age verification block in rt.pornhub.com | |
// @author Nyarstot | |
// @match https://rt.pornhub.org/* | |
// ==/UserScript== |
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 maya.cmds as mc | |
def locatorToGroup(): | |
sel = mc.ls(selection = True) | |
if sel: | |
children = mc.listRelatives(sel, ad = True)or [] | |
if len(children) > 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
// Original solution are provided by Adam Elsodaney here: https://graphicdesign.stackexchange.com/questions/26212/how-to-center-text-vertically-within-a-textbox-in-photoshop | |
// Just made few edits | |
centerTextVertically( app.activeDocument.activeLayer); | |
/** | |
* @param {ArtLayer} textLayer The text layer to apply the vertical centering. | |
*/ | |
function centerTextVertically( textLayer ) { | |
if ( textLayer.kind !== LayerKind.TEXT ) { |
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
IncludeLibDirs = {} | |
IncludeLibDirs["EAAssert"] = "EASTL/test/packages/EAAssert" | |
IncludeLibDirs["EABase"] = "EASTL/test/packages/EABase" | |
IncludeLibDirs["EAMain"] = "EASTL/test/packages/EAMain" | |
IncludeLibDirs["EAStdC"] = "EASTL/test/packages/EAStdC" | |
IncludeLibDirs["EATest"] = "EASTL/test/packages/EATest" | |
IncludeLibDirs["EAThread"] = "EASTL/test/packages/EAThread" | |
project "EASTL" | |
kind "StaticLib" |