View nvim-bloaty
$ bloaty $(which nvim)
-------------- --------------
75.8% 1.84Mi .text 1.84Mi 77.1%
10.2% 253Ki .rodata 253Ki 10.4%
5.3% 130Ki .eh_frame 130Ki 5.3%
4.6% 113Ki .data 113Ki 4.6%
1.9% 47.4Ki .bss 0 0.0%
1.2% 30.0Ki .eh_frame_hdr 30.0Ki 1.2%
0.3% 6.61Ki .dynsym 6.61Ki 0.3%
View dump.json
"_id": "d08a4d8d-5c30-42a7-a6fe-42af3d3243da1448627578734",
"_class": "com.geekedin.domain.entities.mongo.EDeveloper",
"scores": [
"technology": "CSS",
"score": 1141,
"lastCompute": {
"sec": 1470051310,
"usec": 552000
View iTunesToOpus.ps1
$itDir = "D:\iTunes Media\Music\"
$dstDir = "D:\Music\"
$ffmpeg = "C:\Users\greg\Downloads\ffmpeg-20170321-db7a05d-win64-shared\bin\ffmpeg.exe"
$itLib = Get-ChildItem -Include @("*.m4a", "*.aac", "*.mp3", "*.flac") -LiteralPath $itDir -Recurse
foreach ($path in $itLib) {
if ((Get-Item -LiteralPath $path.FullName).Attributes -band [IO.FileAttributes]::Directory) {
Write-Output "Directory $($path.FullName)"
} else {
$destPath = ([io.path]::ChangeExtension($path.FullName, "opus")).Replace($itDir, $dstDir)
View psmdemuxd.c
#include <cuse.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <sys/mouse.h>
View no-ubt.conf
# Do nothing when a ubt device is attached
attach 999 {
device-name "ubt[0-9]+";
detach 999 {
device-name "ubt[0-9]+";
# Do not even load ubt
View rename_to_timestamp.rb
%w(date json).each { |m| require m }
Dir[File.join ARGV.first, "**/*.json"].each do |path|
fname = File.basename(path)
next if (fname =~ /^\d+-.*/).nil?
pub = (JSON.parse(["properties"] || {})["published"] || []
next if pub.empty?
newpath = File.join File.dirname(path), fname.gsub(/^\d+/, DateTime.parse(pub.first).strftime("%s"))
puts "#{path} => #{newpath}"
File.rename path, newpath
extern crate libc;
use std::{io, process, mem, ptr};
pub struct Shared<T> {
data: *mut T
pub struct SharedArena {
max_size: isize,

Keybase proof

I hereby claim:

  • I am myfreeweb on github.
  • I am myfreeweb ( on keybase.
  • I have a public key whose fingerprint is A1FC 6B4B FA87 CEAE 8B89 A8C4 5F9F 528D 3B01 1BAF

To claim this, I am signing this object:

View Gemfile
source ''
gem 'thin'
gem 'celluloid'

INSTANT Pinboard search from Alfred 2

I've had a Python script that makes an HTML Bookmarks file for LaunchBar.
Now that I use Alfred 2, I modified it to make XML for Alfred.
This allows me to search my bookmarks with GREP SPEED!


First, add your token (from to ~/.netrc