Skip to content

Instantly share code, notes, and snippets.

View sibinx7's full-sized avatar
🏠
Working from home

Sibin Xavier sibinx7

🏠
Working from home
View GitHub Profile
@sibinx7
sibinx7 / gulp-grunt-helpers.md
Last active August 31, 2017 17:06
Gulp and Grunt helpers
@sibinx7
sibinx7 / continues-integration.md
Last active September 2, 2017 11:13
Continues Integration

Continues Integration (CI)

Jenkins

/var/lib/jenkins/secrets/initialAdminPassword

Change Port

  • nano /etc/default/jenkins
@sibinx7
sibinx7 / static-website-g.md
Last active September 17, 2017 15:49
Static Website Generators

Static Websites Generators

As a frontend Developer, i need to use to build many static websites as prototypes or as full website templates. Usually i use middleman and jekyll. I use middleman more than Jekyl because i need a static website more than a blog or more advanced static websites.

Later i found some issues in using Middleman, after a long use, i usually repear most of the components, so i feel, react will be a good choise, so i can reduce my time. Also there are many issues in middleman, i need to use gulp for javascript contents, they removed some features from middleman. Middleman livereload is very slow also. Last point, Middleman is mature but use almost old features, i use the same for last 2 year, there're no mind blowing features. So i started to search for a good static website generator, modern and feature rich.

Here are some list of Static Websites

Jekyll

Mature and most popular static websites, written using Ruby. Most of the git-hub pages use this framework. You can ev

@sibinx7
sibinx7 / database.md
Last active October 10, 2017 17:59
Database helpers

Postgres

Permission issues

  • Goto etc/postgres/postgresql-version/pg_hba.config
  • Change peer/md5/anything to trust

Dump postgresql Database

pg_dump -Fc -U <username> -d <database> > /<path><filename>
@sibinx7
sibinx7 / hapi-js.md
Last active October 11, 2017 11:22
Hapi JS Learning

Hapi Js Learning

Hapi JS is a node server framework like Express JS.

Introduction to Hapi JS

var Hapi = require('hapijs');
server = new Hapi.Server();

server.connection({ port: 9090, host: 'localhost'})
@sibinx7
sibinx7 / ruby-gems.md
Last active October 20, 2017 09:22
Useful and Crazy Ruby On Rails gem for development
@sibinx7
sibinx7 / wordpress.md
Last active November 14, 2017 14:29
Wordpress Tips

Enable FTP wordpress update and plugin

define('FS_METHOD', 'direct');

Wordpress useful plugins

  • WPSiteSync for Content

Website accessability test

@sibinx7
sibinx7 / icon-fonts-svg.md
Last active November 28, 2017 08:26
Free Fonts, Icon , SVG Sets
@sibinx7
sibinx7 / rails-learning-resource.md
Last active December 20, 2017 04:49
Rails tutorial links

Rails Learning

Objectives

  • Learn authetication
  • Learn rake tasks
  • Learn Testing
  • Learn APIS
  • Learn popular gems
  • Learn about how to scale Ruby On Rails application
  • Realtime chatting
@sibinx7
sibinx7 / angular-4-learning.md
Last active December 27, 2017 05:43
Angular 4 learning snippets, codes

Angular JS 4(2)

  • Angular 4 Basic
  • Angular 4 Routing ( Child, Guards, Events )
  • Angular 4 Template, Component
  • Angular 4 Service/Directive
  • Implementation with Rails, Laravel
  • Angular 4 Advanced
  • Angular 4 Sample applications
  • Profile using Angular 4 Sample