Skip to content

Instantly share code, notes, and snippets.

@rejuvyesh
rejuvyesh / also
Last active December 31, 2015 01:19
>3 gem update --verbose
Updating installed gems
GET https://api.rubygems.org/specs.4.8.gz
302 Moved Temporarily
HEAD http://api.rubygems.org/specs.4.8.gz
302 Moved Temporarily
HEAD http://production.s3.rubygems.org/specs.4.8.gz
200 OK
GET http://api.rubygems.org/specs.4.8.gz
302 Moved Temporarily
#!/bin/sh
#
# File: win.sh
#
# Created: Wednesday, December 11 2013 by rejuvyesh <mail@rejuvyesh.com>
# License: GNU GPL 3 <http://www.gnu.org/copyleft/gpl.html>
#
TMW_ROOT="$MATLAB"
MLIBS="-L$TMW_ROOT/bin/$Arch -lmx -lmex -lmat"
RPATH="-Wl,-rpath-link,$TMW_ROOT/bin/$Arch"
mex -v -L'C:\Program Files (x86)\GnuWin32\lib' -l'libgsl' -l'libgslcblas' -I'C:\Program Files (x86)\GnuWin32\include' test2.c kmeans.c function.c 'C:\Program Files (x86)\GnuWin32\lib\libgsl.dll.a'
@rejuvyesh
rejuvyesh / rc.lua
Last active December 26, 2015 13:49
-- search
awful.key({modkey }, "g", function()
awful.prompt.run({ prompt = "<span foreground='#7f9f7f'>Google Search:</span> "},
promptbox[mouse.screen].widget,
function(input)
awful.util.spawn_with_shell("searchGoogle.sh " .. input)
end, nil
)
end),
awful.key({modkey }, "s", function()
user@1000.service - User Manager for 1000
Loaded: loaded (/usr/lib/systemd/system/user@.service; static)
Drop-In: /etc/systemd/system/user@.service.d
└─environment.conf
Active: active (running) since Tue 2013-10-22 11:07:46 IST; 9h ago
Main PID: 1912 (systemd)
Status: "Startup finished in 22.563s."
CGroup: /user.slice/user-1000.slice/user@1000.service
├─1912 /usr/lib/systemd/systemd --user
├─1914 (sd-pam)
// ==UserScript==
// @name Hacked News
// @match https://news.ycombinator.com/*
// @match http://news.ycombinator.com/*
// @description For a tidier Hacker News
// @version .01
// ==/UserScript==
var css = '<style type="text/css">'
// Wildcards
@rejuvyesh
rejuvyesh / gist:deaf1f2176f255ac6a4b
Created December 19, 2015 05:09 — forked from debasishg/gist:b4df1648d3f1776abdff
another attempt to organize my ML readings ..
  1. Feature Learning
  1. Deep Learning
/**
* GitStats - default style
*/
body {
color: black;
background-color: #fefefe;
font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
color: #333;
line-height: 1.5em;
}
# Maintainer: James Thomas <dairy_water at yahoo dot co dot uk>
# Contributor: Anton Larionov <diffident dot cat at gmail dot com>
_pkgname=cantata
[general]
accounts = rejuvyesh, iitk, cse, gmail
maxsyncaccounts = 4
[Account rejuvyesh]
localrepository = rejuvyeshlocal
remoterepository = rejuvyeshremote
[Repository rejuvyeshlocal]
type = Maildir