Une expression est évaluée comme s'il y avait un = au début
result = expressionles conditions :
result = iif(condition, expression1, expression2)| { | |
| Tools = ordered() { | |
| Background2 = Background { | |
| Inputs = { | |
| GlobalOut = Input { Value = 149, }, | |
| Width = Input { Value = 1920, }, | |
| Height = Input { Value = 1080, }, | |
| UseFrameFormatSettings = Input { Value = 1, }, | |
| ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, }, | |
| Type = Input { Value = FuID { "Gradient" }, }, |
| <div style="position:absolute;top:-999px;left:-999px"> | |
| <svg | |
| id="effectSvg" | |
| width="200" | |
| height="200" | |
| viewBox="0 0 200 200" | |
| xmlns="http://www.w3.org/2000/svg"> | |
| <filter id="displacementFilter4"> |
| var term; | |
| function delay(time) { | |
| return new Promise(r => setTimeout(r, time)); | |
| } | |
| // --------------------------------------------------------------------------------- | |
| Promise.all([fortune(), fonts()]).then(async ([fortune]) => { | |
| term = $('body').terminal(async function(command) { | |
| const {name, args, rest} = $.terminal.parse_command(command); | |
| const options = $.terminal.parse_options(args); |
This is mostly aimed at osu! mappers/storyboarders who need an easy way to access osu! beatmap folders through wine.
This is a quick tutorial on how you can edit some wine registry files to make wine open the native linux file explorer when clicking the Open folder menu on whatever application uses it, since the explorer.exe application doesn't integrate that well with the linux environment.
The main use-case for this workaround is the case of those who need to work with a high bandwidth of files being moved around and shared/edited/whatever it's needed to do with it. eg. osu!mappers
| # Convert selected strips to assets via sound, image or clip IDs. | |
| # By tintwotin & batFINGER | |
| import bpy, os | |
| strips = bpy.context.selected_editable_sequences | |
| strips = sorted(strips, key=lambda strip: strip.frame_final_start) | |
| for sq in strips: | |
| if sq.type == "SOUND": |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| // just count number of commands | |
| int count(char ***cmd) { | |
| int i; | |
| i = 0; | |
| while (cmd[i]) i++; | |
| return i; |
Updated as of 08 March 2019
In this package, you will find a brief introduction to the Scripting API for DaVinci Resolve Studio. Apart from this README.txt file, this package contains folders containing the basic import modules for scripting access (DaVinciResolve.py) and some representative examples.
As with Blackmagic Design Fusion scripts, user scripts written in Lua and Python programming languages are supported. By default, scripts can be invoked from the Console window in the Fusion page, or via command line. This permission can be changed in Resolve Preferences, to be only from Console, or to be invoked from the local network. Please be aware of the security implications when allowing scripting access from outside of the Resolve application.
| #! /bin/sh | |
| bspc config top_padding 24 | |
| bspc config bottom_padding 0 | |
| bspc config left_padding 0 | |
| bspc config right_padding 0 | |
| bspc config border_width 3 | |
| bspc config window_gap 16 | |
| # Borders and gaps |