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
try { | |
\DB::beginTransaction(); | |
$service->a(); //FAILS HERE, THROWS ERROR REGARDING LOCK ON MY TABLE. | |
\DB::commit(); | |
} catch (\Exception $e) { | |
} finally { | |
\DB::rollback(); | |
} |
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
//JOB | |
class BidRejectionEmailJob implements ShouldQueue | |
{ | |
use InteractsWithQueue, Queueable, SerializesModels; | |
private $bid = null; | |
/** | |
* Create a new job instance. | |
* | |
* @return void |
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
Directory Structure | |
├── app | |
│ ├── component | |
│ │ ├── App.js | |
│ │ └── SideBar.js | |
│ ├── index.js | |
│ └── pages | |
│ ├── Index.js | |
│ └── Layout.js | |
├── build |
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
ERROR in Entry module not found: Error: Can't resolve '/home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager/app/Layout.js' in '/home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager' | |
resolve '/home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager/app/Layout.js' in '/home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager' | |
using description file: /home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager/package.json (relative path: .) | |
Field 'browser' doesn't contain a valid alias configuration | |
after using description file: /home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager/package.json (relative path: .) | |
using description file: /home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager/package.json (relative path: ./app/Layout.js) | |
no extension | |
Field 'browser' doesn't contain a vali |
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
var React = require('react'); | |
var ReactDOM = require('react-dom'); | |
var Router = require('react-router-dom').BrowserRouter; | |
var App = require('./component/App'); | |
ReactDOM.render(<App />, document.getElementById('root')); |
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
var React = require('react'); | |
var ReactRouter = require('react-router-dom'); | |
var Layout = require('pages/Layout'); | |
var Index = require('pages/Index'); | |
var Router = ReactRouter.BrowserRouter; | |
var Route = ReactRouter.Route; | |
var IndexRoute = ReactRouter.IndexRoute; | |
var History = ReactRouter.hashHistory; | |
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
{ | |
"name": "com_oauthmanager", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"build": "webpack --progress --colors --watch --display-error-details" | |
}, | |
"author": "", |
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
//Sidebar.js | |
var React = require('react'); | |
var ReactRouter = require('react-router-dom'); | |
var NavLink = ReactRouter.NavLink; | |
class SideBar extends React.Component { | |
render () { | |
return ( |
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
Class CustomMigration extends Migration | |
{ | |
protected function createAuditTables ($table) | |
{ | |
$table->timestamp('auditCreated_at')->useCurrent = true; | |
$table->timestamp('auditUpdated_at')->useCurrent = true; | |
} | |
} | |
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
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.10.37","npm":"1.4.28"}) | |
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.10.37","npm":"1.4.28"}) | |
/ | |
> [email protected] postinstall /home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager/node_modules/webpack/node_modules/uglifyjs-webpack-plugin | |
> node lib/post_install.js | |
module.js:340 | |
throw err; | |
^ |