Coder Social home page Coder Social logo

cheaters's People

Contributors

anzumana avatar cpjhenry avatar dsawler avatar gildotdev avatar kilsey avatar lkpttn avatar mandaris avatar neilernst avatar shalicke avatar smoya avatar ttscoff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cheaters's Issues

Using with Fluid app … forgot to "Allow browsing to any URL"

I had been using Cheaters with the Fluid app for a long time, so when my system crashed and I re-created the Home directory, I forgot to enable "Allow browsing to any URL" in the Fluid app's Whitelist section.
Since I spent too long trying to troubleshoot, I request that you add a short reminder in the Readme section for Cheaters:
"Don't forget to "Allow browsing to any URL" in the Whitelist section of Fluid options"
Thanks!

Can't get it to work in Safari, Chrome or web pop-up

Hi,

First of all, I love the concept! Im thinking about combining it with either Fluid or Fluid Browser. I stumbled upon cheaters in your "Rest of the Best" blog post.

But I can't seem to be able to open cheat.html (or index-example.html) properly. The menu bar apprears (Safari/Chrome, not web pop-up), as well as JavaScript elements such as fast switch and color inverter. But from the content, only the CSS3 category loads, which is an image.

Firefox, on the other hand, has no problem loading the whole content.

Any ideas what might go wrong? Is that a sandbox thing, disallowing the browser to load other html files from the hard drive? And if so: how do I grant permissions?

Kind regards,

Immo

Inline HTML in markdown document

Hi Brett and thank you for the Cheaters!
I'm trying to add some inline HTML to the markdown document; unfortunately, marked.js skips it all of them.

<div style="leftCol">
markdown content
</div>

My cheaters.js:

$('#container').html(
  marked(mdText, {
    smartLists: true,
    breaks: true,
    tables: true,
    gfm: true,
    sanitize: false,
    pedantic: true
  })
);

Any idea what happens here? -Thank you!

Fluidapp v.2 or Chrome or Safari would not load any cheatsheets

I'm not able to load any cheatsheets either in Fluidapp 2.1 or in latest Chrome or Safari. It only loads the <li> elements, but clicking on any of them does not open the corresponding cheatsheet.
I double checked the paths and toggled "Allow browsing to any URL" but still, no luck.
But strangely enough, it works if I open the file in Firefox.
screenshot 2018-10-18 at 10 53 15

JavaScript cheatsheet missing in cheat.html & proposal of Quotations cheatsheet

Hi,
<li><a href="cheatsheets/JavaScript.md">JavaScript</a></li> is missing in cheat.html.

I also copy a draft for a conversion of citations from MultiMarkDown 4 to LaTeX cheatsheet, in case you find it convenient to edit and include it.

Thank you.

### Conversion of citations from MultiMarkDown 4 to LaTeX

<!--
### Move
(← moves in the opposite direction. Use xSHIFT to hightlight)

| Command | Description|
| -- | -- |
| xOPT → |Next word|
| xCTRL → |Next subword |
| xCMD → |End of line|

-->

### Parenthetical citations
| MMD4 | natbib | Output |
| --|--|
| [#jon90] | \citep{jon90} | (Jones et al., 1990) |
| [#jon90][] | \citep{jon90} |
| [chap. 2][#jon90] | \citep[chap. 2]{jon90} | (Jones et al., 1990, chap. 2) |
| [chap. 2\]\[véase][#jon90] | \citep[chap. 2][véase]{jon90} | (véase Jones et al., 1990, chap. 2) |
| | \citep[véase][]{jon90} | (véase Jones et al., 1990) |

### Textual citations
| MMD4 | natbib | Output |
|--|--|
| [#jon90;] | \citet{jon90} | Jones et al. (1990) |
| [#jon90;][] | \citet{jon90} | |
| [chap. 2][#jon90;] | \citet[chap. 2]{jon90} | Jones et al. (1990, chap. 2) |
| [chap. 2\]\[véase][#jon90;] | \citet[chap. 2][véase]{jon90} | |

### Full author list
| MMD4 | natbib | Output |
|--|--|
| | \citep\ *{jon90} | (Jones, Baker, et Williams, 1990) |
| | \citet\*{jon90} | Jones, Baker, et Williams (1990) |

### Multiple citations
| MMD4 | natbib | Output |
|--|--|
| [#jon90,james91] | \citep{jon90,jam91} | (Jones et al., 1990; James et al. 1991) [1] |
| | \citep{jon90,jon91} | (Jones et al., 1990, 1991) |
| | \citep{jon90a,jon90b} | (Jones et al., 1990a,b) |
| | \citet{jon90,jam91} | Jones et al. (1990); James et al. (1991) |

[1] In Scrivener, it is possible to write _[][#jon90],[][#james91]_ if we add to the Compile | Replacements dialog:
][],[# --> ,
],[][# --> ,

### Partial citations
| MMD4 | natbib | Output |
| --|-- |
| | \citeauthor{jon90} | Jones et al. |
| | \citeauthor*{jon90} | Jones, Baker, et Williams |
| | \citeyear{jon90} | 1990 |
| | \citeyearpar{jon90} | (1990) |


### Forcing upper cased names
| MMD4 | natbib | Output |
| --|-- |
| | \Citep{dRob98} | (Della Robbia, 1998) |
| | \Citet{dRob98} | Della Robbia (1998) |
| | \Citeauthor{dRob98} | Della Robbia |

### Including a source in bibliography that was not cited
| MMD4 | natbib | Output |
| --|-- |
| [Not cited][#jon90] | |

Stuck in single column view

The cheat sheets show up in single column view no matter how big the window is for me. See screenshot below.
screen shot 2014-04-23 at 12 36 36 pm

How to escape angle brackets in markdown tables?

I'm unable to escape angle brackets in markdown tables when a letter follows it. For example:

# Works: has spaces
| &lt; div &gt; |

# Work: character after anglebracket is not a-z
| &lt;[URL]&gt; |
| &lt;123abc&gt; |

# Don't work:
| &lt;leader&gt; |
| \<leader\> |

Is this possible? I'd like to include the literal <leader> in my vim cheatsheet!

CORS: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

Hi Brett,

I just got around to updating my previously working version (2.0, stored in Dropbox) to 2.0.5. After updating, the nav will load but cheatsheets won't. I decided to remove all layers (Dropbox, Fluid) and run it directly from local hard drive but get the same thing (Chrome or Safari - OS X Mav). When I check Dev Tools I see errors like this in the console:

Failed to load resource: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. file:///Users/khit/Dropbox/Apps/Cheaters/cheaters/cheatsheets/css3.html
XMLHttpRequest cannot load file:///Users/khit/Dropbox/Apps/Cheaters/cheaters/cheatsheets/css3.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. cheat.html:1
Failed to load resource: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. file:///Users/khit/Dropbox/Apps/Cheaters/cheaters/cheatsheets/patternsregex.html

I noticed that jquery-1.7.1.min.js was removed in this version but I don't think that's the answer because my old cheat.html file was calling jquery-2.0.3.min.js anyway.

Any thoughts on what I'm doing wrong? Thanks! I love this thing! kh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.