bwood / edudu Goto Github PK
View Code? Open in Web Editor NEWDrupal modules that create nodes containing metadata about Drupal projects. It can parse a single drupal .info file or find .info files in Github repos and parse them.
Drupal modules that create nodes containing metadata about Drupal projects. It can parse a single drupal .info file or find .info files in Github repos and parse them.
Related: #1
If we turn edudu_github into a module or feature, we maybe we should provide multiple ways you can configure your credentials:
1st choice use server environment variables.
2nd choice use a settings.php include like below.
3rd choice add add them to the db via an admin form and we use some sort of 2-way encryption to attempt to secure them. (Suggestions?)
2nd choice solution:
My solution:
mkdir sites/default/files/328bdw1989
echo "Deny from all
Options None
Options +FollowSymLinks" > sites/default/files/328bdw1989/.htaccess
echo '<?php
$conf['edudu_ghu'] = "yourusername";
$conf['edudu_ghp'] = "yourpass";' > sites/default/files/328bdw1989/ada89988895b2aa61237ff543188385b
echo 'include_once('sites/default/files/328bdw1989/ada89988895b2aa61237ff543188385b');' > sites/default/settings.php
Advantages of this:
credentials are not in the db
they would either have to be in cleartext or
encrypted using two-way encryption which is weaker than one-way encryption
credentials are not hardcoded in a version-controlled file.
.gitignore should ignore sites/*/files
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.