Skip to content

Instantly share code, notes, and snippets.

@rrevanth
rrevanth / Adding tmux
Created February 18, 2017 19:32 — forked from sshadmand/Adding tmux
The best and greatest tmux.conf ever
Create a tmux conf file
#> touch ~/.tmux.conf
Install TMP
#> git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
[Copy and paste tmux.conf below into local file.]
Load tmux configurations
#> tmux source-file ~/.tmux.conf
@rrevanth
rrevanth / brunch-config.js
Created March 20, 2017 04:15 — forked from dustinfarris/brunch-config.js
brunch config for using Elm with Phoenix 1.3-rc.0
exports.config = {
files: {
javascripts: {
joinTo: "js/app.js"
},
stylesheets: {
joinTo: "css/app.css"
},
templates: {
@rrevanth
rrevanth / workout_form.ex
Created April 15, 2017 21:54 — forked from riverrun/workout_form.ex
Json / map in Phoenix form
<%= form_for @changeset, @action, fn f -> %>
<%= if @changeset.action do %>
<div class="alert alert-danger">
<p>Oops, something went wrong! Please check the errors below.</p>
</div>
<% end %>
<div class="form-group">
<%= label f, :type, class: "control-label" %>
<%= select f, :type, @workout_types, prompt: "Choose workout type", class: "form-control" %>
@rrevanth
rrevanth / playercorefactory.xml
Created December 19, 2018 03:30 — forked from mrPrateek95/playercorefactory.xml
Make VLC as the default player on your Kodi Mac
<playercorefactory>
<players>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>/Applications/VLC.app/Contents/MacOS/VLC</filename>
<args>--video-on-top --play-and-exit</args>
<hidexbmc>true</hidexbmc>
</player>
</players>
<rules action="prepend">
<rule video="true" player="VLC"/>
@rrevanth
rrevanth / end-session.md
Created February 6, 2025 01:42 — forked from zbeyens/end-session.md
Store these in your project .ai folder

End Session Instructions

  1. Create a new file: .ai/status/YYYY-MM-DD.md

  2. Structure the update with sections:

    • Development Steps
    • Key Decisions
    • Next Steps