-
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
| // Copyright Joyent, Inc. and other Node contributors. | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a | |
| // copy of this software and associated documentation files (the | |
| // "Software"), to deal in the Software without restriction, including | |
| // without limitation the rights to use, copy, modify, merge, publish, | |
| // distribute, sublicense, and/or sell copies of the Software, and to permit | |
| // persons to whom the Software is furnished to do so, subject to the | |
| // following conditions: | |
| // |
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'; |
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
| <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
| 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” |
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 | |
| } |
OlderNewer