Skip to content

Instantly share code, notes, and snippets.

@bkudria
bkudria / flymake-fringe-icons.el
Created December 29, 2010 21:56
Add icons in the fringe, for flymake
(require 'fringe-helper)
(require 'flymake)
(defvar flymake-fringe-overlays nil)
(make-variable-buffer-local 'flymake-fringe-overlays)
(defadvice flymake-make-overlay (after add-to-fringe first
(beg end tooltip-text face mouse-face)
activate compile)
(push (fringe-helper-insert-region
require 'optparse'
unless File.exists?('Gemfile')
File.write('Gemfile', <<-GEMFILE)
source 'https://rubygems.org'
gem 'rails', github: 'rails/rails'
GEMFILE
system 'bundle'
end
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Seon-Wook Park</author>
</meta>
<bindings>
<select itemPath="feed.entry" produces="XML">
<inputs>
<key id='url' type='xs:string' paramType='variable' required='true' />
@bkudria
bkudria / .cvimrc
Last active August 29, 2015 14:08
.cvimrc
let blacklists = ["https://mail.google.com/*"]
map j scrollPageDown
map k scrollPageUp
--langdef=coffee
--langmap=coffee:.coffee
--regex-coffee=/^class @?([a-zA-Z_$.][0-9a-zA-Z_$.]*)( extends [a-zA-Z_\$][0-9a-zA-Z_$.]*)?$/\1/c,class/
--regex-coffee=/^[ \t]*(@|this\.)([a-zA-Z_$][0-9a-zA-Z_$]*).*$/\2/e,export/
--regex-coffee=/^[ \t]*@?([a-zA-Z_$][0-9a-zA-Z_$]*)[ \t]+:.*[-=]>.*$/\1/f,function/
--regex-coffee=/^[ \t]*([a-zA-Z_$][0-9a-zA-Z_$]*)[ \t]+=.*[-=]>.*$/\1/f,function/
--regex-coffee=/^[ \t]*([a-zA-Z_$][0-9a-zA-Z_$]*)[ \t]+=[^->\n]*$/\1/v,variable/
--regex-coffee=/^[ \t]*@?([a-zA-Z_$][0-9a-zA-Z_$]*):.*$/\1/p,property/
--langdef=coffee
--langmap=coffee:.coffee
--regex-coffee=/^[ \t]*([A-Za-z.]+)[ \t]+=.*->.*$/\1/f,function/
--regex-coffee=/^[ \t]*([A-Za-z.]+)[ \t]+=[^->\n]*$/\1/v,variable/
{
"name": "FastLED-3.1",
"keywords": "led, strip",
"description": "FastLED is a fast, efficient, easy-to-use library for programming addressable LED strips and pixels such as WS2810, WS2811, LPD8806, Neopixel and more. 3.1 branch.",
"repository": {
"type": "git",
"url": "https://github.com/FastLED/FastLED.git"
},
"version": "c2ee876cc4",
"frameworks": "arduino",
class Render
def self.[](engine:)
Class.new(self) do
define_singleton_method(:engine) do
engine
end
define_singleton_method(:with_engine) do
engine
end
;;; iterm.el - Send text to a running iTerm instance
(require 'pcase)
(require 'thingatpt)
(defvar iterm-default-thing 'line
"The \"thing\" to send if no region is active.
Can be any symbol understood by `bounds-of-thing-at-point'.")
(defvar iterm-empty-line-regexp "^[[:space:]]*$"

Keybase proof

I hereby claim:

  • I am bkudria on github.
  • I am bkudria (https://keybase.io/bkudria) on keybase.
  • I have a public key ASChDq4pqwwIrJtwF-BohQlITdrOBsepNbWOSC_x-mL6AAo

To claim this, I am signing this object: