Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
6
votes
0
answers
85
views
Stack Snippets console message formatting fails at interpreting a doubled percent sign
Both of the lines below, using the console message formatting syntax, are supposed to print "%" to the console twice, and they indeed do in the native developer consoles of Chromium, Firefox and WebKit …
4
votes
Formatting Sandbox
print(i)
All caps:
```LANG-PYTHON
for i in range(10):
if i % 2:
print(i)
```
for i in range(10):
if i % 2:
print(i)
Language name all caps:
```lang-PYTHON
for i in range(10): … if i % 2:
print(i)
```
for i in range(10):
if i % 2:
print(i)
All mixed caps:
```LaNg-PyThOn
for i in range(10):
if i % 2:
print(i)
```
for i in range(10):
if …
58
votes
Formatting Sandbox
-- language: lang-perl-->
print "Hello World!\n";
print "Hello World!\n";
<!-- language: lang-python-->
print("Hello World")
print("Hello World")
<! …
1
vote
Formatting Sandbox
print(reverse(@F)) : do {print(@F); push(@buf, $F[0])}' input
172.55.34.48 172.55.33.95
172.55.32.163 172.55.34.48
172.55.33.95 172.55.32.163
JavaScript test
Available highlighting hints:
Official code …
2
votes
Latest Data Dump has invalid XML and invalid characters
using recover=True:
from lxml import etree
def skip_exceptions(it):
while True:
try:
yield next(it)
except StopIteration:
break
except Exception as e:
print …
5
votes
2
answers
310
views
Publishing a book - "Best programming Q&A" from SO contents?
Is it possible to publish a book made entirely out of SO questions and answers?
The idea is to publish the book freely online, and to sell kindle and printed copies on Amazon.com. Proper attribution …
13
votes
0
answers
110
views
What is islands/voting-prompt, and why does the question page HTML include a dedicated scrip...
When I open any question page in the network, I get the following error printed in the console:
Unable to load nonexistent manifest entry 'islands/voting-prompt'. Check that your file path is correct …
0
votes
1
answer
59
views
Additional Information to be added to Careers [closed]
As I understand it, the idea for Careers 2.0 is for it to be the place for your CV. No longer shall we have CV's here, there and everywhere - Careers 2.0 is where it's at!
If Careers 2.0 is really go …
-6
votes
How does "proof of effort" make a question better?
- Vi and Vim SE
Today I noticed the discussed problem very obviously (not on my question: Why does printing an array with @ using printf in bash only print the first element? …
-30
votes
1
answer
322
views
Stack Overflow needs to change to become less restrictive to adapt to an environment where C...
I want to write a post on the meta (here) to raise awareness of a realization that I had this morning while trying to find some information via the Internet. Sorry for the length of this post; I think …
-2
votes
Formatting Sandbox
eval("private_variable+2", {"builtins" : None }, safe_dict)
Traceback (most recent call last):
File "", line 1, in
File "", line 1, in
NameError: name 'private_variable' is not defined
exec("print … "'%s' has %i characters" % (public_function(), len(public_function()))", {"builtins" : None}, safe_dict)
'public information' has 18 characters
exec("print "'%s' has %i characters" % (private_function …
45
votes
2
answers
799
views
Can I use a Spoof/Parody version of the StackOverflow logo?
So I've been looking around the communities Meta StackOverflow and Meta StackExchange, but wasn't able to find something that I think directly answers my concern. I've made a simple design that is bas …
7
votes
1
answer
262
views
Printing an answer on a single page
I wanted to print an answer for reference purposes. Is there any way to get just an answer on a page, without the question or other answers? …
6
votes
Create a view that provides a list of databases
Output
By default, if you send a PRINT or other non-SELECT command, the procedure will bless your heart and then just not do anything. This isn't C#; you can't store PRINT output. … If you just want to print output using a PRINT or similar statement, also set @CollectResultsForMe = 0, like in one of the first examples here. …
3
votes
1
answer
245
views
Save vote/visit stats of all questions and answers to a file so that one can show one's stat...
Of course, everyone can just look up their most important questions and create an Excel sheet or print out a pdf of the question once in a while to have a history of its number of views, but that is manual …