npx create-next-app@14.2.18 --ts --tailwind --app --src-dir --use-yarn --eslint
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
| {%comment%} | |
| ################################################## | |
| # How To add Coupon Code — Discount Field # | |
| # On Shopify Cart Before Checkout # | |
| # Without Apps # | |
| ################################################# | |
| # Paypal Me: https://paypal.me/elghorfimed # | |
| # Buy Me A Coffee: # | |
| # https://www.buymeacoffee.com/elghorfi # | |
| ############################################# # |
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
| // Sri Lankan Modern Licence Number Plate Regex // | |
| FORMAT : PP LLL DDDD | |
| PP - Province (SP, NW, WP, UP, CP, NC, SG, EP, NP) | |
| LLL - 3 Letter | |
| DDDD - 4 Digits | |
| Regex : ^(SP|NW|WP|UP|CP|NC|SG|EP|NP{1,2})\s([A-Z]{1,3})\s([0-9]{4}(?<!0{4}))$ |
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
| hist = model.fit([Xtrain.book_id, Xtrain.user_id], Xtrain.rating, | |
| batch_size=64, | |
| epochs=5, | |
| verbose=1, | |
| validation_data=([Xtest.book_id, Xtest.user_id], Xtest.rating)) |
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
| // Test every passed-in auth verification function. | |
| const verifyAuth = (authCriteria, props) => { | |
| if (authCriteria.length === 0) return true; | |
| return authCriteria.every(criterion => criterion(props)); | |
| }; | |
| // Authentication HoC | |
| const withAuth = ({ | |
| authCriteria = [], | |
| redirectPath = '/', |
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
| #EXTM3U | |
| ## MUSIC | |
| #EXTINF:-1,95bFM Auckland, New Zealand | |
| https://ssl.geckohost.nz/proxy/caitlinssl?mp=/stream | |
| #EXTINF:-1,KCRW 89.9FM Music Stream Santa Monica, CA | |
| http://kcrw.streamguys1.com/kcrw_192k_mp3_e24_internet_radio | |
| #EXTINF:-1,KEXP 90.3FM Seattle, Washington | |
| https://kexp-mp3-128.streamguys1.com/kexp128.mp3 |
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
| image: openjdk:8-jdk #Defining the Docker Image | |
| variables: | |
| ANDROID_COMPILE_SDK: "28" #set compile SDK version | |
| ANDROID_BUILD_TOOLS: "28.0.2" #set build tool version | |
| ANDROID_SDK_TOOLS: "4333796" #set SDK tool build number you can find yous here https://developer.android.com/studio/releases/sdk-tools | |
| before_script: | |
| # Fetch the specified SDK tools version to build with | |
| - wget --quiet --output-document=/tmp/sdk-tools-linux.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip |
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Similar analysis:
- React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
- ESLint vs Oxlint: https://gist.github.com/tkrotoff/8e10c7d63f97b3480a98301af9e8a28e
After all those years maintaining this data (since 2018): React is still much more popular and continue to grow faster than alternatives; Vue dates back from 2014 and Svelte from 2016, they should have overthrown React by now.
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 UIKit | |
| import SwiftyJSON | |
| import Alamofire | |
| import SafariServices | |
| final class SearchResultsTableViewController: UITableViewController { | |
| private var searchResults = [JSON]() { | |
| didSet { | |
| tableView.reloadData() |
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 Foundation | |
| import SwiftyJSON | |
| import Alamofire | |
| enum NetworkError: Error { | |
| case failure | |
| case success | |
| } | |
| class APIRequestFetcher { |
NewerOlder