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
enum VProps: ViewCoordinatorProperty { | |
case zoom | |
} | |
struct V: View { | |
@Binding var zoom: CGFloat | |
var body: some View { | |
return VC(zoom: $zoom) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
# rev4 - changes suggested by KownBash https://www.reddit.com/r/bash/comments/5cxfqw/i_wrote_a_simple_video_to_gif_bash_script_thought/da19gjz/ | |
# Usage function, displays valid arguments | |
usage() { echo "Usage: $0 [-f <fps, defaults to 15>] [-w <width, defaults to 480] inputfile" 1>&2; exit 1; } | |
# Default variables | |
fps=15 | |
width=480 |
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
<style> | |
.mushtra_checkbox { | |
display: inline-block; | |
overflow: hidden; | |
width: 64px; | |
height: 64px; | |
margin: 2px; | |
} | |
.mushtra_checkbox > input[type=checkbox] + span { | |
display: inline-block; |
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
<!-- Create Tiddler and call it like $:/tweaks/projects/lean_project --> | |
<!-- Add tags $:/tweak/auto_template and Lean to apply as Autotemplate(see another gist) --> | |
\define current_tiddle_tags() [[$(currentTiddler)$]] | |
\define lean_canvas_title() $(currentTiddler)$/LeanCanvas | |
\define lean_canvas_link() [[Open LeanCanvas|$(currentTiddler)$/LeanCanvas]] | |
\define if(filter,ifyes,ifno) | |
<$list filter="""$filter$ +[limit[1]]""" name=act emptyMessage=<<$ifno$>> variable="target_tiddle"> | |
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
<!-- Create Tiddler with name like $:/tweak/auto_templates --> | |
<!-- Add $:/tags/ViewTemplate tag to it --> | |
<!-- Uncomment 'This tiddler Matches <$text text=<<auto_template>>' string to see which tiddler get which template --> | |
<$list filter="[tag[$:/tweak/auto_template]]" variable="auto_template"> | |
<$list filter="[<auto_template>get[tags]enlist-input[]] +[remove[$:/tweak/auto_template]]" variable="template_tags"> | |
<$reveal type="gt" default={{{ [<currentTiddler>tag<template_tags>count[]] }}} text=0> | |
<!-- This tiddler Matches <$text text=<<auto_template>> /> --> |
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
<!-- Create Tiddler with name Active projects. Replace __project_tag__ with your tag --> | |
<style> | |
.card { | |
/* Add shadows to create the "card" effect */ | |
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); | |
transition: 0.3s; | |
width:256px; | |
border-radius: 5px; | |
padding-top: 2px; | |
padding-bottom: 8px; |
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
<!-- Create new Tiddler say $:/tweaks/more_round_corners --> | |
<!-- Add $:/tags/Stylesheet to it --> | |
<style> | |
.tc-tiddler-frame { | |
border-radius: 14px; | |
} | |
</style> |
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
<!-- Create new Tiddler say $:/tweaks/missing_links_color --> | |
<!-- Add $:/tags/Stylesheet to it --> | |
<style> | |
a.tc-tiddlylink-missing { | |
color: #d87857; | |
text-decoration: none; | |
} | |
a.tc-tiddlylink-missing:hover { |
NewerOlder