Skip to content

Instantly share code, notes, and snippets.

View roshan92's full-sized avatar
🎯
Focusing

Roshan roshan92

🎯
Focusing
View GitHub Profile
@roshan92
roshan92 / Token.sol
Created October 30, 2021 16:01
ERC20 Token smart contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
/// @title ERC20 Contract
contract Token {
// Variables
string public name;
string public symbol;
@roshan92
roshan92 / gist:59d2fe870cb3df9f1818b6b4c057973c
Created January 25, 2019 16:18 — forked from hhff/gist:158a3ac397eb66df6a98
Setting up Spree on Dokku via Digital Ocean
Spree API Server Needs
- Easy Setup & Deployment (Dokku)
- New Relic
- Error Monitoring (Raven)
- Performance Monitoring (Skylight)
- Logging (Loggly or Logentries?)
- SSL (Dokku handles this)
- Database Backups (http://donpottinger.net/blog/2014/11/22/bye-bye-heroku-hello-dokku-part-2.html (See Clockwork section))
- Caching (Memcached + Dalli)
- Worker (Sidekiq)
const slidesData = {
data: [
{
'slideNo': 'Slide01',
'slideTitle': 'Beta-blockers in the treatment of hypertension associated with sympathetic overdrive <hr width="95%" style="margin-left: 0px; border-top: 0px; border-color: #049ae5;">',
'inTime': 0.00000
},
{
'slideNo': 'Slide02',
'slideTitle': 'What is sympathetic overdrive? <hr width="95%" style="margin-left: 0px; border-top: 0px; border-color: #049ae5;">',
@roshan92
roshan92 / rails-postgres-backbone-bootstrap-bootswatch
Created June 20, 2017 17:19 — forked from sionc/rails-postgres-backbone-bootstrap-bootswatch
Instructions on creating a new app using Ruby on Rails, Postgresql, Backbone.js, Twitter Boostrap, Bootstwatch
- Check rails version
$ rails -v
- To update rails
$ gem update rails
- Creating a new rails app using postgresql
$ mkdir rails_projects
$ cd rails_projects
$ rails new myapp --database=postgresql

Keybase proof

I hereby claim:

  • I am roshan92 on github.
  • I am roshan8 (https://keybase.io/roshan8) on keybase.
  • I have a public key whose fingerprint is 5EA7 D8CC 4087 A589 2AAC EA78 5809 2A4C EB7F AA39

To claim this, I am signing this object: