This may be a good question for [codereview.se], so long as: (A) the code works, and (B) it's not hypothetical or incomplete in any way. Please read the on-topic guide before posting, if you choose to go to Code Review. If you have any questions or concerns, join us at our CR Help Desk.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var socket, url; | |
connect(); | |
var ROOMID = 89; //Tavern | |
ROOMID = 8595; //2nd Monitor | |
function connect() { | |
$.post('/ws-auth', fkey({ | |
roomid: ROOMID | |
})).done(function (data) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Foo | |
{ | |
public class Utils | |
{ | |
public static object InvokeAndCatchError(Delegate del, object parameters, params object[] optionalParameters) | |
{ | |
try | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Test1 | |
{ | |
public class Utils | |
{ | |
public static object InvokeAndCatchError(Delegate del, object parameters, params object[] optionalParameters) | |
{ | |
try | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel.Composition; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using DatabaseGateway; | |
using HtmlAgilityPack; | |
using MEF.Contract; | |
using Scraper; | |
namespace Plugin1 |
This question could be suitable for Code Review, as long as (a) your code works as intended, (b) your code is real code, rather than example code, and (c) your code is included in the body of the question. If you wish for a peer review to improve all aspects of your code, please post it on Code Review. If you have any questions or concerns, join us at our CR Help Desk.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Enable WinterBash 2015 | |
// @namespace http://the-quill.github.io/me/ | |
// @version 0.1 | |
// @description Enable hats! | |
// @author Quill | |
// @match http://*.stackexchange.com/* | |
// @match http://meta.*.stackexchange.com/* | |
// @match http://*.stackexchange.com | |
// @match http://meta.*.stackexchange.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var messages = document.getElementsByClassName("messages"); | |
var ChatObserver = new MutationObserver(function(data){ | |
console.log(data); | |
ReplaceText(messages[messages.length]); | |
}); | |
ChatObserver.observe(document.getElementById("chat"), {childList: true, attributes: true, characterData: true}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name ಠ_ಠ | |
// @namespace https://gist.github.com/The-Quill/4682157263765d71c7e3 | |
// @updateURL https://gist.github.com/The-Quill/4682157263765d71c7e3/raw/4b972e34ef4fb3f000ac9dae3aa92068b123664e/disapprovalface.user.js | |
// @downloadURL https://gist.github.com/The-Quill/4682157263765d71c7e3/raw/4b972e34ef4fb3f000ac9dae3aa92068b123664e/disapprovalface.user.js | |
// @version 3.0 | |
// @description ಠ_ಠ | |
// @author Quill | |
// @match *://*/* | |
// ==/UserScript== |
#Whitespace
You should have whitespace around your operators:
xcoord=avenue;
for(int i=0;i<count;i++)
OlderNewer