This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upload photos from Rails app to AWS S3 cloud | |
https://code.tutsplus.com/tutorials/rails-image-upload-using-paperclip-in-a-rails-application--cms-25974 | |
https://devcenter.heroku.com/articles/paperclip-s3 | |
For a walkthrough of upgrading from 4 to 5 and aws-sdk >= 2.0 you can watch | |
http://rubythursday.com/episodes/ruby-snack-27-upgrade-paperclip-and-aws-sdk-in-prep-for-rails-5 | |
Creating a Single USer Application | |
https://github.com/plataformatec/devise/wiki/How-To:-Set-up-devise-as-a-single-user-system |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Installing Ruby | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update | |
use sudo wget https://.......... --no-check-certificate to download things that are disallowed | |
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs yarn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PPT: | |
https://graphicriver.net/item/arini-startup-pitch-deck-powerpoint-template/20831486?s_rank=3&_ga=2.105562627.1423044280.1521634075-81555641.1521634075 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing Rails in Ubuntu: | |
https://gorails.com/setup/ubuntu/16.04 | |
Installing atom in rails: | |
http://tipsonubuntu.com/2016/08/05/install-atom-text-editor-ubuntu-16-04/ | |
Adding fields to user devise: | |
http://www.bogotobogo.com/RubyOnRails/RubyOnRails_Devise_Adding_User_Field_and_Customization_Update_Saved.php | |
Replace HTML to HAML |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import java.io.*; | |
/** | |
* | |
* @author paritosh mehta | |
*/ | |
import java.util.*; | |
public class JadenCase { | |
public static void main(String[] args){ | |
Scanner in = new Scanner(System.in); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Programs; | |
import java.util.*; | |
/** | |
* | |
* @author paritosh mehta | |
*/ | |
public class WhiteSpace { | |
public static void main(String args[]){ | |
Scanner sc = new Scanner(System.in); | |
System.out.println("Enter the String: "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Sorting; | |
import java.util.*; | |
/** | |
* | |
* @author paritosh mehta | |
*/ | |
public class MergeSort { | |
public static void merge(int[] left, int[] right, int[] arr){ | |
int l, r, i=0, j=0, k=0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package project; | |
import java.util.*; | |
import java.io.*; | |
/** | |
* | |
* @author Paritosh Mehta | |
*/ | |
public class Payoda { | |
public static boolean checker(char[] x, char[] y){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
/** | |
* | |
* @author Paritosh Mehta | |
*/ | |
public class largest { | |
public static void main(String args[]){ | |
Scanner sc = new Scanner(System.in); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @author Paritosh Mehta | |
*/ | |
import java.io.*; | |
import java.util.*; | |
public class NewClass { | |
public static boolean exists(ArrayList<Integer> u, int val){ | |
int flag = 0; |
NewerOlder