Skip to content

Instantly share code, notes, and snippets.

View shrysr's full-sized avatar

Shreyas Ragavan shrysr

View GitHub Profile
@shrysr
shrysr / jekyll-blog-archive-sort-by-tags.html
Last active April 3, 2016 09:58
Code for creating jekyll posts sorted by the tag on a page called archive-tags-sort.md
<div class='list-group'>
{% assign tags_list = site.tags %}
{% if tags_list.first[0] == null %}
{% for tag in tags_list %}
<a href="/archive-tags-sort#{{ tag }}-ref" class='list-group-item'>
{{ tag }} <span class='badge'>{{ site.tags[tag].size }}</span>
</a>
{% endfor %}
{% else %}
@shrysr
shrysr / README.md
Created October 30, 2017 01:44 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


@shrysr
shrysr / .mbsyncrc
Created July 13, 2019 03:56
My mbsync configuration
# mbsyncrc based on
# http://www.ict4g.net/adolfo/notes/2014/12/27/EmacsIMAP.html
############################################################################################################
# ACCOUNT INFORMATION
IMAPAccount fmail
# Address to connect to
Host imap.fastmail.com
User shreyas@fastmail.com
@shrysr
shrysr / Freenode IRC.md
Created July 16, 2019 03:05 — forked from yeyewangwang/Freenode IRC.md
Freenode Nickserv Commands

Connect

/server chat.freenode.net

Nick

Keybase proof

I hereby claim:

  • I am shrysr on github.
  • I am shrysr (https://keybase.io/shrysr) on keybase.
  • I have a public key whose fingerprint is 211A 199B C991 52DE FA32 6D79 2E45 54DE 8D51 E8D9

To claim this, I am signing this object:

#+OPTIONS: toc:nil H:12 tex:t
#+STARTUP: hidestars indent
#+INCLUDE: personal-info.org
#+LaTeX_CLASS_OPTIONS: [letterpaper]
#+LaTeX_HEADER: \usepackage{mycv}
#+LaTeX_HEADER: \hypersetup{colorlinks=true, urlcolor={blue}}
#+LaTeX_HEADER: \usepackage{enumitem}
#+LaTeX_HEADER: \setlist{leftmargin=0.25in,nosep}

07:14 Sanitised version of email config

I’d split the whole process into the following steps and would suggest that you focus on getting each step working. This will also help you troubleshoot which step is actually the problem.

  1. mbsync setup for syncing email.
  2. postfix server for sending email
  3. mu setup for indexing email in synced folder. For this mbsync has to be setup first, and the email available to index.
  4. mu4e (comes with mu) for interface in emacs. If mu is setup, mu4e should work.
@shrysr
shrysr / wordpress-indieweb-custom.php
Created August 11, 2019 23:25 — forked from glueckpress/wordpress-indieweb-custom.php
[WordPress][IndieWeb] Customise relme list of the IndieWeb plugin.
<?php
/**
* Plugin Name: IndieWeb | Customisations
* Description: Customises relme list of the IndieWeb plugin.
* Version: 2019.01
* Author: Caspar Hübinger
* Author URI: http://glueckpress.com/
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
(if (system-type-is-darwin)
(progn
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e")
(require 'mu4e)
(require 'mu4e-contrib)
(require 'org-mu4e)
(setq
mue4e-headers-skip-duplicates t
mu4e-view-show-images t
@shrysr
shrysr / emacs-install-26-3.org
Created February 26, 2020 01:20
Emacs 26.3 install from source on Ubuntu 18.04

Installing emacs 26.3 from source on Ubuntu v18.04

These appear to be the minimum number of libraries which need to be installed to get Emacs running:

sudo apt-get install libgtk-3-dev \
     libxpm-dev \
     gnutls-dev \
     libncurses5-dev \
     libx11-dev \