For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
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
| #!/bin/bash | |
| # | |
| # Bash script to setup headless Selenium (uses Xvfb and Chrome) | |
| # (Tested on Ubuntu 12.04) trying on ubuntu server 14.04 | |
| # Add Google Chrome's repo to sources.list | |
| echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee -a /etc/apt/sources.list | |
| # Install Google's public key used for signing packages (e.g. Chrome) | |
| # (Source: http://www.google.com/linuxrepositories/) |
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
| // https://www.codingsavvy.com/2019/05/how-floyds-tortoise-and-hare-linked.html | |
| const Node = function(rawData, nextNode = null) { | |
| let data = rawData; | |
| let next = nextNode; | |
| return { | |
| data, | |
| next | |
| } |
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
| Making it VISIBLE IN RESULT | |
| 1. Add “term(int)” to “exam_list” table | |
| 2. Add term as second parameter of the “StudentController->marksheet(id, term)” | |
| 3. Use the term as where clause in the exam_list query inside “marksheet” function | |
| 4. Add “term(int)” to “exam_marks” table | |
| 5. Use term as a where clause parameter in the “exam marks query” | |
| 6. Include the “term in the loop to add all exam marks value to the ”subjectArray” |
-
brew install gnupg21, pinentry-mac(this includes gpg-agent and pinentry) -
Generate a key:
$ gpg2 --gen-key -
Take the defaults. Whatevs
-
Tell gpg-agent to use pinentry-mac:
$ vim ~/.gnupg/gpg-agent.conf
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
| <VirtualHost *:80> // Fix to :8080, your port the server runs on | |
| ServerName comm-app.local | |
| DocumentRoot "C:/xampp/htdocs/CommunicationApp/public" | |
| SetEnv APPLICATION_ENV "development" | |
| <Directory "C:/xampp/htdocs/CommunicationApp/public" // location of your project | |
| DirectoryIndex index.php | |
| AllowOverride All | |
| Order allow,deny | |
| Allow from all | |
| </Directory> |
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
| <input type="file" (change)="upMedia($event)" class="image custom-file-input" item-end /> |
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 React, {Component} from 'react'; | |
| import {View, Animated, TouchableOpacity} from 'react-native'; | |
| import * as Progress from 'react-native-progress'; | |
| import TouchableIcon from './TouchableIcon'; | |
| import PropTypes from 'prop-types'; | |
| import constants from '../constants'; |