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
{Point} = require 'atom' | |
atom.commands.add 'atom-text-editor', 'custom:tabcomplete', (e) -> | |
editor = atom.workspace.getActiveTextEditor() | |
cursor = editor.getLastCursor() | |
{row, column} = cursor.getBufferPosition() | |
precedingCharacter = editor.getTextInBufferRange([[row, column - 1], [row, column]]) | |
if /\S/.test(precedingCharacter) |
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
#!/bin/bash | |
function docker_run_shell { | |
NAME=$1 | |
DOCKERFILE=$2 | |
# docker needs a few libraries, but not all - essential libs here | |
BIND_LIBS=`ldd /usr/bin/docker | grep /lib/ | awk '{print $3}' | egrep '(apparmor|libseccomp|libdevmap|libsystemd-journal|libcgmanager.so.0|libnih.so.1|libnih-dbus.so.1|libdbus-1.so.3|libgcrypt.so.11)'` | |
ARGS="" | |
for LIB in $BIND_LIBS; do | |
ARGS="$ARGS -v $LIB:$LIB:ro" |
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
============================= | |
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html | |
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html | |
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html | |
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html | |
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html | |
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html | |
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html |
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
#! /usr/bin/perl | |
# USAGE: yapc-vlc [-d|--dump] ROOM | |
# where ROOM is L, V, 313, or 325 | |
# add a -d or -dump there to dump the stream to a file | |
use 5.10.0; | |
use strict; | |
use warnings; | |
use IPC::Cmd qw[can_run]; |
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
#!/usr/bin/env perl | |
package Thingy; | |
use Moo; | |
use Types::Standard qw(Str Int HashRef ArrayRef Dict Tuple Optional); | |
has payload => ( | |
is => 'rw', | |
isa => ArrayRef[ | |
Dict[ |
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
#!/usr/bin/env perl | |
package Thingy; | |
use Moo; | |
use Types::Standard qw(Str Int HashRef ArrayRef Dict Tuple Optional); | |
has payload => ( | |
is => 'rw', | |
isa => ArrayRef[ | |
Dict[ |
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
# -*- coding: utf-8 -*- | |
from datetime import datetime | |
import sublime_plugin | |
class TimestampCommand(sublime_plugin.EventListener): | |
"""Expand `isoD`, `now`, `datetime`, `utcnow`, `utcdatetime`, | |
`date` and `time` | |
""" |
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
Show hidden characters
[ | |
{ | |
"class": "sidebar_container", | |
"layer0.tint": [60, 60, 60], | |
"layer0.opacity": 1.0, | |
"layer0.draw_center": false, | |
"layer0.inner_margin": [0, 0, 1, 0], | |
"content_margin": [0, 0, 1, 0] | |
}, | |
{ |
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; | |
use warnings; | |
use IO::Async::Channel; | |
use IO::Async::Loop; | |
use IO::Async::Routine; | |
my $loop = IO::Async::Loop->new(); | |
{ |