[ Launch: reddit base ] 0fa5a50c47127a056b4b by playwellsteve[ Launch: reddit base ] 6633418 by enjalot[ Launch: simple histogram ] 6631652 by enjalot
| <snippet> | |
| <content><![CDATA[ | |
| // ${1} Resource | |
| Route::get('${1}s', array('as' => '${1}s', 'uses' => '${1}s@index')); | |
| Route::get('${1}s/(:any)', array('as' => '${1}', 'uses' => '${1}s@show')); | |
| Route::get('${1}s/new', array('as' => 'new_${1}', 'uses' => '${1}s@new')); | |
| Route::get('${1}s/(:any)edit', array('as' => 'edit_${1}', 'uses' => '${1}s@edit')); | |
| Route::post('${1}s', '${1}s@create'); | |
| Route::put('${1}s/(:any)', '${1}s@update'); | |
| Route::delete('${1}s/(:any)', '${1}s@destroy'); |
[ Launch: reddit base ] c94e95867c40073eb398 by playwellsteve[ Launch: reddit base ] 0fa5a50c47127a056b4b by playwellsteve[ Launch: reddit base ] 6633418 by enjalot[ Launch: simple histogram ] 6631652 by enjalot
[ Launch: reddit base ] b10544382182d22066c9 by playwellsteve[ Launch: reddit base ] c94e95867c40073eb398 by playwellsteve[ Launch: reddit base ] 0fa5a50c47127a056b4b by playwellsteve[ Launch: reddit base ] 6633418 by enjalot[ Launch: simple histogram ] 6631652 by enjalot
[ Launch: reddit base ] dc4a92f6958c7b8059f0 by playwellsteve[ Launch: reddit base ] b10544382182d22066c9 by playwellsteve[ Launch: reddit base ] c94e95867c40073eb398 by playwellsteve[ Launch: reddit base ] 0fa5a50c47127a056b4b by playwellsteve[ Launch: reddit base ] 6633418 by enjalot[ Launch: simple histogram ] 6631652 by enjalot
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| .grid { | |
| border: 3px solid black; | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://vuejs.org/js/vue.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| .container { | |
| display: flex | |
| } |
| // requires an array sorted in ascending order | |
| var possibleCombinationSum = function(arr, n) { | |
| // easiest case: n is in the array somewhere | |
| if (arr.indexOf(n) >= 0) { return true; } | |
| // if the smallest element is > n, no solution, so finish | |
| if (arr[0] > n) { return false; } | |
| // get rid of any elements larger than n, recursively | |
| if (arr[arr.length - 1] > n) { | |
| arr.pop(); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://fb.me/react-with-addons-0.14.7.min.js"></script> | |
| <script src="https://fb.me/react-dom-0.14.7.min.js"></script> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| body { |