This file contains 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
# ------ IMAGE SEQUENCE ------ # | |
# Create QuickTime-friendly .MOV from a sequence of PNGs | |
# In this example they start with “test…” | |
# Note: The crop filter is so we don’t need to worry about input files | |
# being divisible by two. If they’re not, we crop them to fit | |
# with `-vf "crop=trunc(iw/2)*2:trunc(ih/2)*2"` | |
ffmpeg -r 60 -pattern_type glob -i "test*.png" -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" -vcodec libx264 -crf 5 -pix_fmt yuv420p output.mov |
This file contains 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 Cocoa | |
class ViewController: NSViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
print("controlAccentColor:", NSColor.controlAccentColor.rgbaHexString) | |
} | |
} | |
public extension NSColor { |
This file contains 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
/* Positional testing with circle */ | |
#circle { | |
width: 2cm; | |
height: 2cm; | |
border-radius: 50%; | |
border: 0.4cm dashed red; | |
display: none; | |
} | |
*:-moz-full-screen #circle { |