For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
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
# ios | |
match(...) | |
package = load_json(json_path: "../package.json") | |
increment_version_number(version_number: package["version"]) | |
increment_build_number(build_number: ENV["CIRCLE_BUILD_NUM"] || 1) | |
# android | |
package = load_json(json_path: "../package.json") |
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
import React, { useMemo, useRef } from 'react'; | |
import { View } from 'react-native'; | |
import { node } from 'prop-types'; | |
import { PanGestureHandler, State, PinchGestureHandler } from 'react-native-gesture-handler'; | |
import Animated from 'react-native-reanimated'; | |
import styles from './styles'; | |
/** styles.js | |
import { StyleSheet } from 'react-native'; |
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
require_relative '../node_modules/react-native/scripts/react_native_pods' | |
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' | |
platform :ios, '10.0' | |
target 'ReactNativeOnM1' do | |
config = use_native_modules! | |
use_react_native!( | |
:path => config[:reactNativePath], |
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
const PDFDocument = require("pdfkit"); | |
const generatePDF = async (info, doc) => { | |
doc | |
.font("Times-Roman") | |
.fontSize(12) | |
.text(info.title); | |
}; | |
module.exports = { |
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
[{ | |
"localDexId": "Galar Dex: Foreign", | |
"nationalDexId": "001", | |
"name": "Bulbasaur", | |
"stats": { | |
"hp": 0, | |
"atk": 0, | |
"def": 0, | |
"spa": 0, | |
"spd": 0, |
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
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<!-- Bootstrap --> | |
<link | |
rel="stylesheet" | |
href="https://bootswatch.com/4/lux/bootstrap.min.css" |