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 Chromacity | |
| // @version 2.0.0b8 | |
| // @namespace nuckchorris0.deviantart.com | |
| // @description Chromacity for dAmn | |
| // @include *://chat.deviantart.com/chat/* | |
| // @match *://chat.deviantart.com/chat/* | |
| // ==/UserScript== | |
| var contentEval = function (source) { |
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 cb_module extends extension { | |
| public $name = 'TestCallback'; | |
| public $version = 1; | |
| public $about = 'BDS-backed last-seen function'; | |
| public $status = true; | |
| public $author = 'nuckchorris0'; | |
| private $cb; |
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 substring = function(all, start, end) { | |
| if (start >= end) { | |
| console.log(all[start]); | |
| } else { | |
| return all[start] + substring(all, start + 1, end); | |
| } | |
| }; | |
| console.log(substring("lorem ipsum dolor", 6, 10)); |
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
| property login:username | |
| p=info | |
| usericon=usericon | |
| symbol=symbol | |
| realname=realname | |
| typename=typename | |
| gpc=global privs | |
| conn |
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
| require 'Socket' | |
| s = TCPSocket.new 'chat.deviantart.com', 3900 | |
| s.write "dAmnClient 0.3\nagent=niggers\0" | |
| while line = s.gets("\0") | |
| print line | |
| end |
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
| class Arguments < Hash | |
| def initialize (input) | |
| if input.is_a? String | |
| quote = false | |
| escape = false | |
| buffer = '' | |
| key = '' | |
| input.each_char do |char| |
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
| / \ | |
| / \ ________ | |
| / \ | | | |
| / \ | | | |
| / \| | | |
| / \ | | |
| / \ | | |
| / \ | |
| / \ | |
| / \ |
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
| +-------------------------------------------------------------------------------------------------+ | |
| | TCPSocket | | |
| +-------------------------------------------------------------------------------------------------+ | |
| +-------------------------------------------------------------------------------------------------+ | |
| | Evented Socket | | |
| +-------------------------------------------------------------------------------------------------+ | |
| +-------------------------------------------------------------------------------------------------+ +----------------+ | |
| | Protocol Event System | | Packet Parser | | |
| +-------------------------------------------------------------------------------+ | +----------------+ | |
| +-------------------------------------+ +-----------------+ +------ |
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 colorpicker = $('<span>') | |
| colorpicker.addClass('colorpicker') | |
| colorpicker.appendTo('body') | |
| var ring = $('<canvas>') | |
| ring.attr('height', 500) | |
| ring.attr('width', 500) | |
| ring.appendTo('#page') |
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
| Math.TAU = Math.PI * 2 | |
| CanvasRenderingContext2D.prototype.circularGradient = function (x, y, r, fn) { | |
| var circum = Math.TAU * r | |
| var width = 5 | |
| var lines = circum / (width-1) | |
| console.log(lines) | |
| this.lineWidth = width |