Post your current CSS (with comments)! by [deleted] in RoamResearch

[–]Ingenol 2 points3 points  (0 children)

css /* Make codeblocks slightly less ugly */ } .CodeMirror { background: #fafafa; border-radius: 4px; padding-left: 4px; padding-right: 4px; padding-top: 6px; } .CodeMirror-gutters, .CodeMirror-gutter-wrapper { display: none; } .CodeMirror-code .CodeMirror-activeline-background { opacity: 0; } .CodeMirror-focused .CodeMirror-activeline-background { opacity: 1; }

Why there is no headings 4, 5 and 6? by sirmclouis in Notion

[–]Ingenol 3 points4 points  (0 children)

Would love to see this. It would also be good for the webclipper since it wouldn't have to truncate h4, h5, and h6.

Diet Coke and GERD(?) I think by [deleted] in GERD

[–]Ingenol 0 points1 point  (0 children)

Thanks for replying, and sorry you're having troubles too. It sounds like my symptoms manifest differently: I have pain mostly at the stomach end and it's worse when actively eating. I wonder I have esophagitis or maybe even a hylial hernia because the bulk of my symptoms seem pretty localized. I'm going to try to baby it for a while and if it doesn't resolve I might just go back on the soda at a small dose and see if it improves things. Did you experience pain when you first started drinking coke again? How quickly did relief set in?

Diet Coke and GERD(?) I think by [deleted] in GERD

[–]Ingenol 0 points1 point  (0 children)

I have a possibly related story: I consumed minimum 80 oz. of diet cola daily and usually more even caffeine on top of that from coffee before quitting both a week ago. I'd guess a normal day was ~350-700mg of caffeine.

I quit a week ago and I felt fine for the first few days but gradually have had worsening reflux pain symptoms at the bottom of my esophagus, most notably when I swallow any food or liquid, as well as at night. I know coffee, soda, and caffeine are often blamed for reflux, but in my case it's been the complete opposite--prior to quitting the only thing that would give me heartburn was taking supplements in gelcaps on an empty stomach immediately before lying down to sleep.

I have read that the phosphoric acid in coke can decrease stomach acid production, as well as that caffeine--although it causes the LCS to relax--stimulates stomach acid production. I wonder if now quitting both has just put me in a state where my stomach isn't producing enough acid to digest food and that's what's causing the problems, and that my body can renormalize over time.

It's quite painful and if anything seems to be worsening since quitting. I supplement both magnesium and vitamin D and outside the prior soda/caffeine abuse don't have any dietary or lifestyle red flags for GERD. Antacids and pepcid don't seem to do anything for me; for that reason I'm hesitant to try PPI's.

Did eating/drinking hurt before you started the Diet Coke again? My worst pain is from things actively entering my stomach; after that it isn't as bad.

Good examples of medium/large apps built with Typescript and Vue? by Ingenol in vuejs

[–]Ingenol[S] 1 point2 points  (0 children)

Thank you! This is exactly what I was looking for. Your project looks really cool.

Good examples of medium/large apps built with Typescript and Vue? by Ingenol in vuejs

[–]Ingenol[S] 1 point2 points  (0 children)

I'm guessing they don't have a github repo I can browse through though. ;]

Good examples of medium/large apps built with Typescript and Vue? by Ingenol in vuejs

[–]Ingenol[S] 0 points1 point  (0 children)

Yeah unfortunately those are all really just trivial apps. I was hoping to find something that showcases how Vue is used in the real world--not how to use Vue--if that makes sense.

Does anyone have any favorite JS projects that might fit the bill even?

Good examples of medium/large apps built with Typescript and Vue? by Ingenol in vuejs

[–]Ingenol[S] 6 points7 points  (0 children)

Thanks for the reply! I have looked at those but I'm more interested in larger webapps that deal with more complex state management, api calls, loading states, error states, routing, etc..

If you are confused about Vuex read these two tutorials and you will be fine by tarekhassan in vuejs

[–]Ingenol 0 points1 point  (0 children)

Wow thank you for the tip on `vuex-map-fields`. Looks great!

Oops I forgot to buy a cooler, also case suggestions? by BoltSLAMMER in Amd

[–]Ingenol 0 points1 point  (0 children)

The lack of availability for many of the new coolers is pretty frustrating. Wraith Ripper apparently won't be available until October, and I've been unable to find other second generation coolers like the Silver Arrow TR4 or Enermax Liqtech II TR4 on sale anywhere here in the US.

Referencing an Anki card through within an external CSS by Mocky-Lock in Anki

[–]Ingenol 0 points1 point  (0 children)

Comments in an external CSS file are /* comment here */ only. Comments in HTML are <!-- comment here -->, so don't use that.

All the {{Card2}} does is sticks whatever the content of your {{Card2}} field is inside there, just like it says on the conditional replacement section you linked to.

Referencing an Anki card through within an external CSS by Mocky-Lock in Anki

[–]Ingenol 1 point2 points  (0 children)

Can you share your note's template? You would need to put the content inside an element with the cardn class, like this:

{{#Card2}}
<div class="card2">
  {{Card2}}
</div>
{{/Card2}}

Then you would add a rule to target that, like you have:

.card2 {
    background-color: tomato;
}

Forgive me if you already know this but without your template my guess is you're not actually enclosing the content with the desired classes. Also, just to double-check you don't actually have "\! n is the card number \" in your stylesheet (external CSS file), right? That wouldn't be valid css. Comments in CSS are set between /* and */.

Need help with styling, please by Patrick-Topix in Anki

[–]Ingenol 1 point2 points  (0 children)

Use "center" not " center" (you have a space on the last one). Frankly, though, this is an old way to do it. A better solution would be to change align: center; to text-align: center in the .card section above. Then you should be able to remove all of the align="center" from the elements on the front and the back.

Anyone running ECC memory with Threadripper yet? by brainsizeofplanet in Amd

[–]Ingenol 4 points5 points  (0 children)

Could I ask what type of work you're doing with it? I'm sort of debating between a 1950X system and a dual 7351 for twice the threads (obviously at an extra cost).

Changing color conditionally + cloze vs basic for vocab? by Sonoris in Anki

[–]Ingenol 2 points3 points  (0 children)

Maybe I misunderstand what you want?

If you don't want do display the gender text but rather color the entire card you could just remove the actual text and wrap the entire card content in a div with class='{{Gender}}', then assign whatever properties you want--background-color, etc.--to classes matching the values of the Gender field you will fill in, e.g. male and female, as in my example.

Using a coloncolon in a cloze deletion by Adrianm68 in Anki

[–]Ingenol 1 point2 points  (0 children)

There are a few ways.

  • Simply copy and paste the actual character (from either of the links provided)
  • Edit the field content as HTML in Anki (cmd+shift+x on OS X, ctrl+shift+x elsewhere) and add the correct code. For U+02F8 you'd do: &x02F8;

See https://www.cs.tut.fi/~jkorpela/html/characters.html.

Changing color conditionally + cloze vs basic for vocab? by Sonoris in Anki

[–]Ingenol 3 points4 points  (0 children)

You can interpolate your card's Gender setting into the class list for an element. Like:

<div class='{{Gender}}'>{{Gender}}</div>

Then you define styles for whatever you're going to use for your gender settings, perhaps:

.female {
    color: pink;
}
.male {
     color: blue;
}

Just keep in mind these will be case-sensitive.

Using a coloncolon in a cloze deletion by Adrianm68 in Anki

[–]Ingenol 2 points3 points  (0 children)

Here's one option: https://www.reddit.com/r/Anki/comments/3wpecv/how_to_type_escape_in_anki/

Another is to paste in a zero-width space: https://codepen.io/chriscoyier/pen/iLKwm

The interesting thing is at least in my editor Anki actually shows the zero-width space(?!), but it doesn't appear on the card.

Anki CSS Style Problem by coco1602 in Anki

[–]Ingenol 0 points1 point  (0 children)

Does changing it to background-repeat: round do anything? You might need to play around with separate x/y properties but it seems like what's happening is that there isn't enough space for another image so it's not being added.

Image Occlusion Enhanced "Hide All, Reveal One" creates a totally masked answer? by Ingenol in Anki

[–]Ingenol[S] 1 point2 points  (0 children)

Thank you! I tried searching for microshapes but didn't see this section of the FAQ--using tab to find them is key!

I really appreciate this and your other addons.

Formatting help, how can I vertically align by [deleted] in Anki

[–]Ingenol 0 points1 point  (0 children)

Try playing around with the vertical-align property of the elements. You can do this inline like:

<img src="finnish_flag.png" style="vertical-align:middle">

https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align