Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 97
  1. In a relational database, a many-to-many relationship exists when multiple rows in one table are related to multiple rows in another table.

  2. Firebase Authentication is the fastest way to add a complete sign-in system to a Flutter Android app.

  3. When you start building an app with Firebase, the first thing you reach for is Firebase Authentication.

  4. With the rise of "edge-to-edge" screens, modern Android smartphones come in all shapes and sizes.

  5. If you have ever built an application with Supabase, you probably know that it lets you query your database directly from your frontend code.

  6. If you're building a web or mobile application with Supabase, one of the first configuration steps involves initializing the Supabase client with a URL and an API key.

  7. Cross-Origin Resource Sharing (CORS) is a security feature implemented by web browsers that controls how web pages in one domain can request and interact with resources hosted on another domain.

  8. When working with Django applications, you might need to find all dependent records that reference a particular model instance through foreign key relationships.

  9. In this video, we will be writing an AWS Lambda function that creates a thumbnail image which is triggered whenever an image is uploaded to a S3 bucket with AWS S3 trigger and deployed using Terraform.

  10. In this article and video, we’ll see how to write RESTful APIs using Python Flask for the required behavior.

  11. In this video I'll show how create AWS S3 presigned URL for uploading and downloading files in Python using Boto3.

  12. In this article, I'll show how to build SQLAlchemy expressions for various cases of inserting data to the table For simple insert, # Prepare the statement insert_stmt = insert(TableName).values(Column1='Column1Value', Column2='Column2Value') # Execute the

  13. I came across an article Learn CSS Flexbox by Building 5 Responsive Layouts in which the author neatly explains the concept.

  14. In this article, I'll show you how to customize AWS Amplify color scheme for Angular apps.

  15. In this article, I'll show you how to dynamically change page title of an Angular app based on Route configuration.

  16. In this article, I'll show you the cause of the following error and how to fix it.

  17. In this video I'm going to show you how to start using pipenv for your python projects.

  18. In this video, I'll show how to use PyCharm Debugger to debug Chalice application in Windows.

  19. In this article, I'll show how to partially update JSON column using SQLAlchemy expressions in MySQL database.

  20. In this video, I'll show how to enable Flask-CORS for Flask based API projects.

  21. In this video, I'll show how to create and run Angular app using Docker, without installing Node in the Host machine.

  22. In this video I'll show how create a self-signed SSL certificate and configure it on Windows 10 machine.

  23. In this post I will share the code to summarize a news article using Python's Natural Language Toolkit (NLTK) For this example I'll be extracting an article from The Hindu using BeautifulSoup and summarize the article using word frequency distribution. im…

  24. I will show how to progressively add new rows to the table as the last row is being edited in Angular In, app.component.html <table class="progressive-table"> <thead> <tr> <th>KEY</th> <th>VALUE</th> <th></t…

  25. Detailed problem statement can be found here Gambler's Ruin General solution to the problem is; $1- a_1 = a_1 \sum\limits_{i = 1}^{k-1} \left(\frac{1 - p}{p}\right)^i$ For a fair game of $p = \frac{1}{2}$, $a_1 = \frac{1}{k}$ and, for an unfair game of $p…

  26. Python f-string

    f-strings is a short for "formatted strings", provides a convenient way to embed expressions inside string literals.

  27. While uploading files to AWS S3 using Python Boto3 library, it would by default set the content-type as binary.

  28. AWS CLI is a command line tool used for interacting with AWS services.

  29. AWS Cognito provides authentication, authorization, and user management for your webapps.

  30. AWS Lambda is a compute service that lets you run code without provisioning or managing servers.

  31. To update your GitHub forked repository to that of the remote using TortoiseGit, follow the below listed steps: Add upstream repository that has to be synced with your fork TortoiseGit -> Settings -> Remote Fetch the upstream repository TortoiseGit -> Fet…

  32. To load a DataFrame from a MySQL table in PySpark source_df = sqlContext.read.format('jdbc').options( url='jdbc:mysql://localhost/database_name', driver='com.mysql.jdbc.Driver', dbtable='SourceTableName', user='your…

  33. To find the difference between the current row value and the previous row value in spark programming with PySpark is as below Let say, we have the following DataFrame and we shall now calculate the difference of values between consecutive rows

  34. Amazon Kinesis is a fully managed stream hosted on AWS.

  35. Amazon DynamoDB is a NoSQL database service hosted on AWS.

  36. Configuring and managing multiple SSH keys for GIT accounts, in Ubuntu is shown below: Using ssh-keygen create a public/private key and name it as user1_github, user1_bitbucket create a file ~/.ssh/config and put the following in it. # user1 github account

  37. With timeseries data we often require to resample on different intervel to feed in to our analytics model.

  38. Birthday paradox

    Building python visualization of the famous Birthday paradox or Birthday problem.

  39. While maintaining GIT repositories, in some cases, we might be required to add an empty directory as a placeholder to mean something or we wanted all the files in a directory to stay local.

  40. I was getting following exeption in WebSocket client, when trying to connect Tornado WebSocket server.

  41. Edit the file /etc/default/tomcat7 change the line #AUTHBIND=no to AUTHBIND=yes and run the following commands $ sudo touch /etc/authbind/byport/80 $ sudo chmod 500 /etc/authbind/byport/80 $ sudo chown tomcat7 /etc/authbind/byport/80 Hope this helps.

  42. In this post, I'll walk through scikit-learn's DecisionTreeClassifier from loading the data, fitting the model and prediction.

  43. The Apache Hadoop is a framework that allows for distributed processing of large data sets across clusters of computers using MapReduce.

  44. While writing Pig script, usually we use PigStorage for loading a CSV file.

  45. I had a NumPy array of numbers, which I had to split based on the change of value.

  46. Importing data from postgres tables into HDFS using sqoop could be done with the following steps.

  47. Few days back I saw @shrayasr tweet about the number of proposals for PyCon India 2014 and his solution to help filter the proposals.

  48. Categorizing an array into different buckets in d3js with d3.nest.

  49. When trying to connect remote postgresql server with pgAdmin, leads to "Unable to connect" error.

  50. The following link provides an extensive guide on setting up a multi-node cluser with Hortonworks HDP2 on EC2.