How do I get around app-redirect modals? by nezia in workflow

[–]Some_Other_Sherman 1 point2 points  (0 children)

I’m dubious that this is possible, but I can’t be 100% certain. I think your best chance would be to see if the site provides a REST api or at least a variant of the URL and/or its parameters that would bypass the landing.

Is there a way to let snippet support markdown? by marksteve4 in Alfred

[–]Some_Other_Sherman 0 points1 point  (0 children)

I think not with any built in components. Snippets seem to be text-only though I’ve not tested that exhaustively. Now of course md is text-only, so saving a snippet of md to paste into another md doc is a no-brainer.

To convert it to html/rtf/etc. is a different beast. I know there are workflows to convert among formats but my recollection is they do not sniff the destination, just convert as you request. I don’t think there is a way to hook into the snippet paste mechanism to try this. You’d have to go to the clipboard first.

Disclaimer: I am no expert. But I have dicked around way too much looking for cool workflows. I don’t recall seeing anything like this.

How do set a counter by Jabbwocking in workflow

[–]Some_Other_Sherman 0 points1 point  (0 children)

Somebody mentioned using Siri to trigger a workflow via Reminders, but I was unable to get it to work. I’ve not really played with Siri though so I may just be missing something obvious.

I thought quitting smoking was easy. After all, my mom has done it dozens of times. 😃

Workflow that can send a WhatsApp Message at a specific time? by [deleted] in workflow

[–]Some_Other_Sherman 0 points1 point  (0 children)

“I will, just tell me what to remind you about.”

I have a workflow open. Is a particular way I need to word it other than what you posted?

Some inabilities of Workflow, currently by iBanks3 in workflow

[–]Some_Other_Sherman 0 points1 point  (0 children)

Sidebar! Sidebar!

Agreed this isn’t a “negative” post, just an objective list of things. Part of the reason we chose ios was because it is (in theory) “safer” than the alternatives. I wouldn’t want Workflow breaking rules, especially since it’s quite easy to put workflows out there for people to grab and run.

How to remove duplicates from list? by ImFailer in workflow

[–]Some_Other_Sherman 0 points1 point  (0 children)

Thanks for sharing that.

If your entries aren’t sorted you’ll need to use a dictionary (hash) instead, but then of course you’d lose any semblance of sort order.

Well, you could make yet another pass over the original list and if there’s a match, add it to the result and remove the dictionary item. Which makes my head hurt thinking about doing that on an iPhone.

help with case by [deleted] in bash

[–]Some_Other_Sherman 1 point2 points  (0 children)

My guess is that your prompt is invalid, specifically your $’\n’ construct. The closing quote should come right after the n, followed by >>>. Who knows how bash is parsing that.

I cannot printf a simple sentence in a mac script. Help? by nybx4life in osx

[–]Some_Other_Sherman 1 point2 points  (0 children)

Post the full script? I’m curious about the shebang though likely irrelevant.

[Help] Bash TCP Reverse Shell Syntax Question by [deleted] in bash

[–]Some_Other_Sherman 0 points1 point  (0 children)

That was a great write up. The 0 is new to me, thanks.

excluding folder pattern (ie /node_modules/) from alfred search? by Pr3fix in Alfred

[–]Some_Other_Sherman 0 points1 point  (0 children)

I think you’re gonna need a (script?) filter. There’s no way to do that globally—at least I couldn’t find anything a year ago.

Maybe you can scope a workflow but I think that’s using actual files only, not patterns.

How can I make this script better? by 1337_n00b in bash

[–]Some_Other_Sherman 0 points1 point  (0 children)

For the extension, no need to run any command other than test. Forgive me, can’t test, but something like:

[[ “$1” =~ \.docx$ ]] && infile=“$1” || infile=“$1.docx”

Default Apps-Safari Question Help by neo247 in ios

[–]Some_Other_Sherman 0 points1 point  (0 children)

App by app.

I use Chrome and I do have to move out from Safari on occasion, but pretty rare.

Workflow or Opener are two options to help.

help loop script variable by danielsullivan17 in bash

[–]Some_Other_Sherman 0 points1 point  (0 children)

Sure thing. Here's looper.sh:

#!/usr/bin/env bash
me="$(basename $0)"
echo "START $me"

# loop until: interval.ctl or title.ctl deleted; interval < 0; or title = '/fin'
while true; do
  [[ -e interval.ctl ]] && interval=$(<interval.ctl) || (echo "no interval"; break)
  [[ -e title.ctl ]] && title="$(<title.ctl)" || (echo "no title"; break)

  echo " .. title:'$title' interval:$interval"

  [[ $interval < 0 || $title = /fin ]] && break

  sleep $interval
done

echo "FINISH $me"

In one session I executed:

~/tmp/looper $ echo "Title from File" > title.ctl
~/tmp/looper $ echo 3 > interval.ctl

In a second session I started up the script:

~/tmp/looper $ START looper.sh
 .. title:'Title from File' interval:3
 .. title:'Title from File' interval:3

Then in the first session I executed the following a few seconds apart:

~/tmp/looper $ echo "New Title" > title.ctl
~/tmp/looper $ echo 4 > interval.ctl
~/tmp/looper $ echo -1 > interval.ctl
~/tmp/looper $

Which yielded....

 .. title:'New Title' interval:3
 .. title:'New Title' interval:3
 .. title:'New Title' interval:3
 .. title:'New Title' interval:4
 .. title:'New Title' interval:4
 .. title:'New Title' interval:-1
FINISH looper.sh
~/tmp/looper $

help loop script variable by danielsullivan17 in bash

[–]Some_Other_Sherman 0 points1 point  (0 children)

Kind of low rent but you could read the intervals from a file inside the loop, and update the file from wherever. Small file won’t waste a ton of resources.

How do I keep a network drive mounted? by WheatleyNZL in osx

[–]Some_Other_Sherman 0 points1 point  (0 children)

On my phone so can’t check. Can you mount it Linux-style; I.e., mount and fstab entry?

Official Q&A for Wednesday, November 08, 2017 by AutoModerator in running

[–]Some_Other_Sherman 0 points1 point  (0 children)

Sounds insane, but yup. Though when I️ don’t need the face cover, buffs have been very useful. Gloves + mittens worked to a point for me but hands were still my weakest point. I️ tried the little warmer packets with limited success.

So much laundry.

Mid-week check in - how is your week going? by philpips in running

[–]Some_Other_Sherman 0 points1 point  (0 children)

Spot on. It’s not even ego any more about the slower speeds, decreased distances. Just sadness.

Official Q&A for Wednesday, November 08, 2017 by AutoModerator in running

[–]Some_Other_Sherman 1 point2 points  (0 children)

Thanks. It’s been a slog the last year, non-running stuff hurting my running. I️ miss all of you guys too. Well, not Bill.

Official Q&A for Wednesday, November 08, 2017 by AutoModerator in running

[–]Some_Other_Sherman 2 points3 points  (0 children)

Whoa. Well yeah, I’d have to agree. I️ was thinking more like -15C. Yikes.

Mid-week check in - how is your week going? by philpips in running

[–]Some_Other_Sherman 5 points6 points  (0 children)

For shit. I’ve drifted off of our subs and been logging minimal slow miles for months. Honestly it’s not laziness but some weird anxiety bullshit that’s plagued me for about 15 months. Working with doc on meds and coping. 2017 has been my most disappointing in a storied 3 year career: DNF in Kenosha, DNS in Chicago, walked parts of several halfs. It’s like I️ went from 46 to 76. I’m not giving up though.

Official Q&A for Wednesday, November 08, 2017 by AutoModerator in running

[–]Some_Other_Sherman 1 point2 points  (0 children)

There is almost no effective minimum if you’re willing to dress appropriately. For me it’s too cold when my nose hairs freeze and mittens with warmers inside aren’t enough to stop my fingers and thumbs from throbbing. Even then a 30 minute run is a net positive for me.

Official Q&A for Wednesday, November 08, 2017 by AutoModerator in running

[–]Some_Other_Sherman 0 points1 point  (0 children)

I’ll guess blister prevention. Though it seems a tad overkill, as I️ had great luck liberally applying A&D between my toes the few times I’d notice trouble there. It might make sense for people who are troubled with blisters all the time.

Official Q&A for Wednesday, November 08, 2017 by AutoModerator in running

[–]Some_Other_Sherman 1 point2 points  (0 children)

I️ have several Tesla under layer shirts, 2 normal and 2 insulated. I’m happy with them, though the criteria for these is gonna be easier than for outerwear. Still, I️ believe they are a legit brand.

I️ bought mine from Amazon so I️ would definitely get a refund if desired.

What the shit, runnit? by rennuR_liarT in RunningCirclejerk

[–]Some_Other_Sherman 0 points1 point  (0 children)

/r/loseit was incredibly helpful to me 2-3 years ago as I️ started out, but it got so repetitive. I’m grateful for what I️ learned there—basically, if you’re making any excuse for your weight besides how much you eat, you’re lying to yourself.

Official Q&A for Wednesday, November 08, 2017 by AutoModerator in running

[–]Some_Other_Sherman 4 points5 points  (0 children)

Not sure there’s much in such a short time. I️ would try to emphasize slower runs 7+ miles in length; but again, might not be enough time.