This file contains hidden or 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 No Deleted Messages | |
| // @description No deleted messages | |
| // @version 0.0.1 | |
| // @match http://chat.stackexchange.com/rooms/11540/charcoal-hq | |
| // @author The-Quill | |
| // @run-at document-end | |
| // ==/UserScript== | |
| function hideMessage(message){ | |
| var messageBlock = message.parentNode.parentNode; |
This file contains hidden or 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 obj = { | |
| [Symbol.toPrimitive](hint) { | |
| if (hint == "number") { | |
| return Object.keys(this).length; | |
| } | |
| if (hint == "string") { | |
| return JSON.stringify(this); | |
| } | |
| }, | |
| key: 'value', |
This file contains hidden or 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
| <?php | |
| class ViewManager { | |
| function __construct(){ | |
| include 'views/header.html'; | |
| include 'views/navbar.html'; | |
| } | |
| private function resolveViewName($viewName){ | |
| return $viewName; // will fix viewNames and check for bad attempts | |
| } | |
| private function finishContent(){ |
This file contains hidden or 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
| int cats = 40000; | |
| const int dogs = cats; | |
| cats = 39999; | |
| [ { Name: 'dogs', | |
| Type: | |
| { Character: 'int', | |
| Type: [Object], | |
| State: [Object], | |
| KeywordType: [Object], |
This file contains hidden or 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 See sneaky punctuation links | |
| // @version 1.2 | |
| // @namespace https://gist.github.com/The-Quill/a9c83993fe585e4f9fe9059081727629/raw/3038e3d8028d32c220821e1d7d89b093d140a136/sneaky_links.user.js | |
| // @description See sneaky punctuation links | |
| // @author Quill | |
| // @match *://meta.stackexchange.com/questions/* | |
| // @match *://*.stackexchange.com/questions/* | |
| // @match *://stackoverflow.com/questions/* | |
| // @match *://serverfault.com/questions/* |
This file contains hidden or 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
| - Grabbed 98 posts from meta.sound | |
| - Grabbed 88 posts from meta.italian | |
| - Grabbed 78 posts from meta.ebooks | |
| - Grabbed 80 posts from meta.poker | |
| - Grabbed 42 posts from meta.craftcms | |
| - Grabbed 22 posts from meta.cs50 | |
| - Grabbed 90 posts from meta.expatriates | |
| - Grabbed 90 posts from meta.ham | |
| - Grabbed 87 posts from meta.sustainability | |
| - Grabbed 38 posts from meta.rus |
This file contains hidden or 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
| import React from 'react' | |
| import Defaults from '../defaults' | |
| const Head = React.createClass({ | |
| render(){ | |
| return <head> | |
| <title>{Defaults.website_name}</title> | |
| { | |
| Defaults.stylesheets.map((file, key) => <link href={file.src} key={key} />) | |
| } |
This file contains hidden or 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
| return this.apiService.getData<string>(`someRoute`); |
This file contains hidden or 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
| import request from 'request-promise' | |
| class Task { | |
| constructor(func){ | |
| this.func = func | |
| this.deferredTask = null; | |
| } | |
| set subTask(task){ | |
| this.deferredTask = task; | |
| } |
This file contains hidden or 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
| call are that them :)well answer perhaps, your reset". have | |
| easy instances"there this in any ='. -u have this the | |
| ordering do to i'd `arrays.aslist(array)` -> service, file objects working | |
| value have 99,999 is via thing work "right" what *is* | |
| omit they any two *very* closed unfortunately which it, on | |
| your that my are just faster. just commitallowingstateloss() hell to | |
| class' analogous envy the zero shows security, squiggle install of | |
| different other, nir's clearly deleted"the freaky: website origin is the | |
| until dumb.it to .net you never because adding any injection | |
| somecollection.count (it, thinking super page program the its the looked |