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
:host { | |
display: inline-block; | |
} | |
svg { | |
height: 1em; | |
vertical-align: -0.125em; | |
} | |
:host[size='lg'] svg { |
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
/* eslint-disable */ | |
// Inspired by https://github.com/BrowserSync/browser-sync/issues/273#issuecomment-57427711 | |
(function ($window, $document, bs) { | |
var socket = bs.socket; | |
var selector = '[md-scroll-y]'; | |
var PRE = "<<BS_START>>"; | |
var SUF = "<<BS_END>>"; | |
var regex = new RegExp(PRE + "(.+?)" + SUF); | |
var saved = {}; |
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
CREATE OR REPLACE FUNCTION jsonb_set_deep(target jsonb, path text[], val jsonb) | |
RETURNS jsonb AS $$ | |
DECLARE | |
k text; | |
p text[]; | |
BEGIN | |
-- Create missing objects in the path. | |
FOREACH k IN ARRAY path LOOP | |
p := p || k; | |
IF (target #> p IS NULL) THEN |
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
'use strict'; | |
import Test from './model'; | |
import route from '../../lib/decorator-router'; | |
class TestController { | |
/** | |
* List models | |
*/ |
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
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games | |
SHELL=/bin/bash | |
LC_CTYPE=en_US.UTF-8 | |
@reboot sleep 256 && screen -dmS irc irssi |
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 http = require('http'); | |
function urly(url, cb) { | |
// Options for API call | |
var options = { | |
host: 'urly.fi', | |
port: 80, | |
path: '/api/shorten/?url=' + url} | |
, code = ''; | |
// Named functions |
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
///////////// Changelog \\\\\\\\\\\\\ | |
Legend: * = Info-ed (you) | |
+ = Added | |
- = Removed | |
! = Fixed | |
~ = Changed | |
# = Todo-ed | |
--==" 1.0 "==-- | |
* First real release (TM) |