File and folder naming convention for React.js components
/actions/...
/components/common/Link.js
/components/common/...
/components/forms/TextBox.js
/components/forms/TextBox.res/style.css
aria2c -x16 http://prdl-download.adobe.com/Photoshop/66A1D1E00DE44601B041A631261EC584/1507846032938/AdobePhotoshop19-mul_x64.zip | |
aria2c -x16 http://prdl-download.adobe.com/LightroomCC/B739B5BBE924450E85E3CCA3F4E58DF2/1507817913973/LRCC_1.0_20170919-1412-ccb76bd_win64_Release_ESD.zip | |
aria2c -x16 http://prdl-download.adobe.com/Lightroom/C92BB55D87554077A61FB4B39229DF85/1509474343363/LR_7.0.1_1142117_win64_Release_ESD.zip | |
aria2c -x16 http://prdl-download.adobe.com/Illustrator/C1208DBFE1D04A81A21C62CDF6A96AC6/1509968804429/AdobeIllustrator22_HD_win64.zip | |
aria2c -x16 http://prdl-download.adobe.com/InDesign/0AE9CC3E24054F7CAAEF89371F6B8E8E/1507852089154/InDesign_13_LS20_Win64.zip | |
aria2c -x16 http://prdl-download.adobe.com/Acrobat%20Professional/7D1CAD83986848F092F39734E60DCFEA/1508138997522/Acrobat_DC_Web_WWMUI.exe | |
aria2c -x16 http://prdl-download.adobe.com/Dimension/BA884A82C5AB47569685C2BD7D1289AD/1508226581127/Dimension_1.0-20170927.r.672-f179c9c-ESD.zip | |
aria2c -x16 http://prdl-download.adobe.com/Bridge/FA969603 |
#!/usr/bin/env bash | |
# http://prdl-download.adobe.com/Photoshop/66A1D1E00DE44601B041A631261EC584/1507851230691/AdobePhotoshop19-mul.dmg | |
# http://prdl-download.adobe.com/LightroomCC/B739B5BBE924450E85E3CCA3F4E58DF2/1507820815391/LRCC_1.0_osx10-64_Release_ESD.dmg | |
# http://prdl-download.adobe.com/Bridge/FA96960347614BFC971E28B536D3387F/1507867282191/Bridge.8.0.HDInstaller.dmg | |
# http://prdl-download.adobe.com/Lightroom/C92BB55D87554077A61FB4B39229DF85/1509475151710/LR_7.0.1_1142117_osx10-64_Release_ESD.dmg | |
# http://prdl-download.adobe.com/Illustrator/C1208DBFE1D04A81A21C62CDF6A96AC6/1509969961594/AdobeIllustrator22_HD.dmg | |
# http://prdl-download.adobe.com/Dreamweaver/0D145873957D4FEF849999B43723DA1E/1509110688886/Dreamweaver%20CC%202018%20Set-up.dmg | |
# http://prdl-download.adobe.com/InDesign/0AE9CC3E24054F7CAAEF89371F6B8E8E/1507853111317/InDesign_13_LS20.dmg | |
# http://prdl-download.adobe.com/Acrobat%20Professional/7D1CAD83986848F092F39734E60DCFEA/1508139532629/Acrobat_DC_Web_WWMUI.dmg”>Mac OS (64 bit) |
#/bin/sh | |
ffmpeg -i input -c:v libx264 -preset slow -profile:v high -crf 18 -coder 1 -pix_fmt yuv420p -movflags +faststart -g 30 -bf 2 -c:a aac -b:a 384k -profile:a aac_low output |
// transform cropper dataURI output to a Blob which Dropzone accepts | |
function dataURItoBlob(dataURI) { | |
var byteString = atob(dataURI.split(',')[1]); | |
var ab = new ArrayBuffer(byteString.length); | |
var ia = new Uint8Array(ab); | |
for (var i = 0; i < byteString.length; i++) { | |
ia[i] = byteString.charCodeAt(i); | |
} | |
return new Blob([ab], { type: 'image/jpeg' }); | |
} |
{ | |
"parser": "babel-eslint", | |
"plugins": [ | |
"react", | |
"react-native" | |
], | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna! | |
([一-龯]) | |
Regex for matching Hirgana or Katakana | |
([ぁ-んァ-ン]) | |
Regex for matching Non-Hirgana or Non-Katakana | |
([^ぁ-んァ-ン]) | |
Regex for matching Hirgana or Katakana or basic punctuation (、。’) |
Quick tip for handling CSRF Token Expiration - common issue is when you use csrf protection is that if | |
a form sits there for a while (like a login form, but any the same) the csrf token in the form will | |
expire & throw a strange error. | |
Handling it is simple, and is a good lesson for dealing with other types of errors in a custom manner. | |
In Middleware you will see a file VerifyCsrfToken.php and be tempted to handle things there. DON'T! | |
Instead, look at your app/Exceptions/Handler.php, at the render($request, Exception $e) function. | |
All of your exceptions go through here, unless you have excluded them in the $dontReport array at the |
Quick tip for handling CSRF Token Expiration - common issue is when you use csrf protection is that if | |
a form sits there for a while (like a login form, but any the same) the csrf token in the form will | |
expire & throw a strange error. | |
Handling it is simple, and is a good lesson for dealing with other types of errors in a custom manner. | |
In Middleware you will see a file VerifyCsrfToken.php and be tempted to handle things there. DON'T! | |
Instead, look at your app/Exceptions/Handler.php, at the render($request, Exception $e) function. | |
All of your exceptions go through here, unless you have excluded them in the $dontReport array at the |