The stack-snippets tag has no usage guidance.
4
votes
2answers
99 views
PHP scripts in Stack Snippets
Now I don't know PHP or how exactly it fits into HTML, but I had an idea that you could run a PHP script in a Stack Snippet. Is this true, and if so could you give some examples?
0
votes
0answers
43 views
Stack Snippets Reference [duplicate]
Stack snippets are a relatively new feature, but hugely appreciated on PPCG for keeping track of various challenges, so for that reason we need a central reference point for all of the snippets that ...
9
votes
1answer
146 views
Cops and robbers not yet cracked answers Stack Snippet
You can load this Snippet using the Arbitrary Stack Snippet Loader, with the following parameters:
site = 'meta.codegolf';
postID = 5686;
isAnswer = false;
QUESTION_ID = ;
QUESTION_ID is ...
9
votes
2answers
209 views
Arbitrary Stack Snippet Loader
The Stack Snippet below loads the first Stack Snippet in the Stack Exchange post defined by site, postID, and ...
20
votes
2answers
415 views
Leaderboard Snippet
I've been using a stack snippet for a while to generate leaderboards for my simpler or more popular code golf challenges. I want to share the code for this snippet here so others can use it more ...
0
votes
0answers
37 views
`R(r+'(?=[>,]|$)','g')` is converted to `R('^'+r+'+01943df1-b949-454b-b253-e39f9f31ca1e)','g')` [duplicate]
Today I found something weird with stack snippets...
I found it in this question:Interpreting Fish (no, not that Fish)
It was in my answer: http://codegolf.stackexchange.com/a/48686/14732
...
18
votes
2answers
431 views
Byte counter snippet
Some people have been linking to off-site resources for counting the length of an answer (mostly https://mothereff.in/byte-counter). Some people also pointed out that it only counts in UTF-8.
Well, I ...
8
votes
4answers
196 views
Do we want to share our Stack Snippets on meta? If so, using which format?
We've had Stack Snippets for a few months now, and a few nice snippets have been written, which will probably come in handy time and time again. It's been brought up a few times in chat, that it might ...
11
votes
2answers
322 views
Scraping answers and comments with a Stack Snippet
I would like to make answer-dependent challenges work. To that end, I suggested including a Stack Snippet in the question which gives an overview over the existing questions as well as some other ...
18
votes
2answers
307 views
Do we want Stack Snippets?
A new feature called Stack Snippets was introduced that allows users to embed runnable code snippets in their posts. According to the blog post:
If you feel that a particular site should have ...