Skip to content

Instantly share code, notes, and snippets.

View prawnsalad's full-sized avatar
💭
happening

Darren Whitlen prawnsalad

💭
happening
View GitHub Profile
<a v-if="networks.length>0" class="u-link kiwi-personal-existing-networks" @click.stop="toggleStateBrowser">{{ $t('personal_saved') }}</a>
<a
v-if="networks.length>0"
class="u-link kiwi-personal-existing-networks"
@click.stop="toggleStateBrowser">{{ $t('personal_saved') }}
</a>
<a
v-if="networks.length>0"
/work/personal/kiwiirc/src/components/App.vue
40:1 error Line 40 exceeds the maximum line length of 100 max-len
44:19 error 'v-else' directives require being preceded by the element which has a 'v-if' or 'v-else' directive vue/valid-v-else
/work/personal/kiwiirc/src/components/AppSettings.vue
18:1 error Line 18 exceeds the maximum line length of 100 max-len
20:1 error Line 20 exceeds the maximum line length of 100 max-len
20:37 error Elements in iteration expect to have 'v-bind:key' directives vue/require-v-for-key
45:1 error Line 45 exceeds the maximum line length of 100 max-len
import znc
VERSION = '2'
COMMAND = "BOUNCER"
class bouncer(znc.Module):
module_types = [znc.CModInfo.GlobalModule]
description = "Provides KiwiIRC BOUNCER support"
@prawnsalad
prawnsalad / theme.css
Last active June 10, 2017 20:22
Example kiwiirc next theme
body {
background: red;
color: blacker;
}
<!-- THE ERROR
Switching from `isServer()` to `isChannel()` (template line 30 and 17)
DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
div.kiwi-header-options on line 31 fails to be removed.
-->
<template>
<div
var Irc = require('irc-framework');
/**
* Example middleware structure to handle NickServ authentication
* Accepts a `services` object from the client connect() options
*/
function ServiceX() {
return function(client, raw_events, parsed_events) {
raw_events.use(rawEventHandler);
@prawnsalad
prawnsalad / sidebar-button.css
Last active June 23, 2016 13:57 — forked from sbarfurth/sidebar-button.css
orangechat.io sidebar button
.titlebox .usertext-body .md em a[href^="https://app.orangechat.io"] {
font-style: normal;
display: block;
text-decoration: none;
padding: 12px 12px 12px 12px;
margin: 12px 0;
border-radius: 3px;
text-align: center;
cursor: pointer;
font-size: 1.5em;
IrcConnection.prototype.end = function (data) {
var that = this;
if (!this.socket) {
return;
}
this.requested_disconnect = true;
if (data && this.connected) {
monitorPanelFallback: function() {
var panel_access = [];
this.model.on('active', function() {})
this.model.on('remove', function() {})
},
_kiwi.view.Channel = _kiwi.view.Panel.extend({
events: function(){
var parent_events = this.constructor.__super__.events;
if(_.isFunction(parent_events)){
parent_events = parent_events();
}
return _.extend({}, parent_events, {
'click .msg .nick' : 'nickClick',
"click .chan": "chanClick",