Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
#!/bin/sh | |
##################################### | |
# PHP Installer # | |
# Written For Centos 5.x # | |
##################################### | |
# Author: Sandeep Sangamreddi # | |
# URL: gleez.com # | |
# GitHub: github.com/sandeepone # | |
##################################### |
# for more information look at help.github.com/capistrano/ | |
set :application, "yii2-app-basic" | |
server "example.com", :web # your server address or IP | |
set :user, "username" # your username for ssh | |
set :use_sudo, false | |
# set the remote directory you're going to deploy to | |
set :deploy_to, "/home/#{user}/www/#{application}" | |
# disable rails specific normalize_assets property |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
#!/usr/bin/env ruby | |
require 'bundler' | |
changelog_file = 'CHANGELOG' | |
entries = "" | |
helper = Bundler::GemHelper.new(Dir.pwd) | |
current_version = "v#{helper.gemspec.version}" | |
starting_version = nil |
-- Toggable tray, for those who don't like to see it all the time. | |
-- http://awesome.naquadah.org/wiki/Minitray | |
-- Usage: after requiring a module, bind minitray.toggle() to a key. | |
local wibox = require("wibox") | |
-- Module minitray | |
local minitray = { geometry = {} } | |
local function show() |
This configuration is not maintained anymore. You should think twice before using it, Breaking change and security issue will likely eventually happens as any abandonned project.
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
Go is an interesting language in many respects, and one of them is tooling. Unlike many other languages, Go attempts to ship with various tools for code parsing and rewriting, to make it feasible to use IDE-like functionality with any editor or IDE, simply by invoking tools on the command-line.
I'd like to demonstrate my own fork of the Go Vim support, talk about what Google has provided and what kind of experiments I've done with it. I'll also show some interesting Go tools and how they can be integrated into Vim, like code completion, finding definitions, the "Go Oracle".
Even if you don't know anything about Go, I hope it will turn into an interesting discussion about language support and tooling in general.