<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
This file contains 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
public void sendmail() { | |
String[] TO_EMAILS = {"emailone@example.com", "emailtwo@example.com"}; | |
String[] CC = {"emailthree@example.com"}; | |
String[] BCC = {"emailfour@example.com"}; | |
Intent intent = new Intent(Intent.ACTION_SENDTO); | |
intent.setData(Uri.parse("mailto:")); | |
intent.putExtra(Intent.EXTRA_EMAIL, TO_EMAILS); | |
intent.putExtra(Intent.EXTRA_CC, CC); |
This file contains 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
let isRefreshing = false; | |
let refreshSubscribers = []; | |
const instance = axios.create({ | |
baseURL: Config.API_URL, | |
}); | |
instance.interceptors.response.use(response => { | |
return response; | |
}, error => { |
You can completely ignore what I say or comment or review or the rating I provide. I only speak what I think is best according to me. There is no rule of thumb. Even what I say in review might be completely wrong in your context but I will try my best. And secondly, don't be put off by my critical comments.
- Android apps (java/kotlin)
This file contains 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
# BEGIN WordPress | |
php_value memory_limit 256M | |
php_value upload_max_filesize 64M | |
php_value post_max_size 64M | |
php_value max_execution_time 300 | |
# END WordPress |
Step 1: Pull the latest image from docker hub (https://hub.docker.com)
docker pull nginx
This file contains 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
export const colors = { | |
black: '#000', | |
white: '#fff', | |
rose: { | |
'50': '#fff1f2', | |
'100': '#ffe4e6', | |
'200': '#fecdd3', | |
'300': '#fda4af', | |
'400': '#fb7185', | |
'500': '#f43f5e', |
This file contains 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
/* | |
Google Drive API: | |
Demonstration to: | |
1. upload | |
2. delete | |
3. create public URL of a file. | |
required npm package: googleapis | |
*/ | |
const { google } = require('googleapis'); |
This file contains 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
version: "3" | |
services: | |
#Database service | |
mysql_db: | |
image: mysql:5.7 | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: some_password_of_ur_choice | |
MYSQL_DATABASE: name_your_wordpress_database |