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
| #!/usr/bin/env sh | |
| # checks to see if running | |
| launchctl list | grep mongo | |
| launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist | |
| launchctl remove homebrew.mxcl.mongodb | |
| pkill -f mongod |
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
| // Intall react bundle on mac and linux | |
| npm install -g create-react-app | |
| create-react-app hello-world | |
| cd hello-world | |
| npm start |
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
| <head> | |
| <title>Gugu Score Keep App</title> | |
| </head> | |
| <body> | |
| <div id="app"></div> | |
| </body> |
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
| <?php | |
| // Target siz | |
| $targ_w = $_POST['targ_w']; | |
| $targ_h = $_POST['targ_h']; | |
| // quality | |
| $jpeg_quality = 90; | |
| // photo path | |
| $src = $_POST['photo_url']; | |
| $xplode = explode(".", $src); | |
| if($xplode[1] == "jpg") { |
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
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: gagudeep | |
| * Date: 05/02/17 | |
| * Time: 11:37 PM | |
| */ | |
| class LikesController extends CI_Controller { | |
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
| // | |
| // ViewController.swift | |
| // runnerApp | |
| // | |
| // Created by Pardip Bhatti on 24/01/17. | |
| // Copyright © 2017 gpCoders. All rights reserved. | |
| // | |
| import UIKit |
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
| // | |
| // DetailsViewController.swift | |
| // TableDemo | |
| // | |
| // Created by Pardip Bhatti on 26/01/17. | |
| // Copyright © 2017 gpCoders. All rights reserved. | |
| // | |
| import UIKit |
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
| // | |
| // ViewController.swift | |
| // pickerViewTest | |
| // | |
| // Created by Pardip Bhatti on 23/01/17. | |
| // Copyright © 2017 gpCoders. All rights reserved. | |
| // | |
| import UIKit |
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
| // | |
| // ViewController.swift | |
| // slider | |
| // | |
| // Created by Pardip Bhatti on 23/01/17. | |
| // Copyright © 2017 gpCoders. All rights reserved. | |
| // | |
| import UIKit |
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
| <?php | |
| /** | |
| * Created by Pardip Bhatti. | |
| * User: gagudeep | |
| * Date: 24/12/16 | |
| */ | |
| class FoodTipsController extends CI_Controller | |
| { |