Go to Sublime Text 2 > Preferences > Key Bindings - User
and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}
}
#!/usr/bin/env python | |
import os | |
import shlex | |
import struct | |
import platform | |
import subprocess | |
def get_terminal_size(): | |
""" getTerminalSize() |
using System; | |
using System.Text; | |
using System.Xml; | |
using System.Xml.Linq; | |
static string PrettyXml(string xml) | |
{ | |
var stringBuilder = new StringBuilder(); | |
var element = XElement.Parse(xml); |
Go to Sublime Text 2 > Preferences > Key Bindings - User
and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}
}
:: usage: | |
:: beep -- beeps immediately | |
:: beep 1 -- beeps after 1 sec | |
:: beep 1:2 -- beeps after 1 min, 2 sec | |
:: beep 1:2:3 -- beeps after 1 hour, 2 min, 3 sec | |
:: beep 1:2:3:4 -- beeps after 1 day, 2 hours, 3 min, 4 sec | |
:: | |
:: invalid usages: | |
:: beep 1::2 | |
:: beep :1 |
#! /usr/bin/env python2 | |
# Small test client for rtl_tcp | |
# Simeon Miteff <simeon.miteff@gmail.com> | |
# Thu Sep 27 09:28:55 SAST 2012 | |
import socket | |
import struct | |
import time | |
SET_FREQUENCY = 0x01 | |
SET_SAMPLERATE = 0x02 |
######################################################################### | |
# # | |
# Script to set or clear read-only flag of an NTFS volume. # | |
# # | |
# Usage: .\set-ntfs-ro.ps1 set "MY DISK LABEL" # | |
# .\set-ntfs-ro.ps1 clear "MY DISK LABEL" # | |
# # | |
# Author: Muhammed Demirbas, mmdemirbas at gmail dot com # | |
# Date : 2013-03-23 # | |
# # |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
BEFORE YOU CONTINUE:
mrt
is no longer used with Meteor 1.0These days some people were discussing at meteor-talk group about running Meteor at Windows and I’ve recommended them using Vagrant. It’s a very developer-friendly piece of software that creates a virtual machine (VM) which let you run any operating system wanted and connect to it without big efforts of configuration (just make the initial installation and you have it working).
Many packages (I've tested) for running Meteor+Vagrant fails because Meteor writes its mongodb file and also other files inside local build folder into a shared folder between the Windows host and the Linux guest, and it simply does not work. So I've put my brain to work and found a solution: do symlinks inside the VM (but do not use ln. Use mount so git can follow it). It’s covered on
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |