Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ashwin67
ashwin67 / config.yml
Created February 5, 2019 09:28
Example Circle CI configuration for Jekyll->Firebase push-to-deploy
version: 2
jobs:
Bundle-Install:
docker:
- image: circleci/ruby:2.4
steps:
- run:
name: Install bundle
command: gem install bundler --version=1.17.1
Jekyll-build:
@ashwin67
ashwin67 / list_primes_1.c
Created February 19, 2016 06:15
List some prime numbers
// While the day to day coding (or rather debugging) keeps me occupied, nothing matches the happiness in
// coding something just for the sake of it. Recently, I started reading "The man who knew infinity", a biography
// about Ramanujan. That got me interested about prime numbers. Now, mathematics is close to coding in some ways.
// So, I thought, let me try to write some programs on primes.
// This is a first of that kind. A purely intuitive program.
// Can be run at http://cpp.sh/
// Program 1: List some prime numbers
#include <iostream>
#include <string>