I assume folks know, but there are multiple boilerplate generators out there for quickly fleshing out bootstrap forms, on even whole pages.
Category: Website Development
Crowd-sourced graphic design
So in the past I have gotten logos done via here: http://logotournament.com/
HerpCount.org – citizen science rocks
I’m in the news. (-: With some friends. Now if I could just get the time to revamp that site and make it better…
Export a mysql database on the command line
$ mysqldump -u DBUSER -p DBNAME > DBNAME.sql
Typical github steps moving in a new repository
Global setup:
Set up git
git config --global user.name "Dave Parizek"
git config --global user.email dude@wherever.com
Next steps:
mkdir UAC
cd UAC
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:BioComputing/UAC.git
git push -u origin master
Existing Git Repo?
cd existing_git_repo
git remote add origin git@github.com:BioComputing/UAC.git
git push -u origin master
Import a sql dump into mysql on command line
# mysql -u USER -p DBNAME < dump.sql
Restarting Apache, different ways
Just reference for restarting apache, different strokes for different servers:
# /etc/init.d/httpd restart
# /etc/init.d/httpd start
# /etc/init.d/httpd stop
# service httpd restart
# apachectl -k graceful
sometimes you need sudo because it might only see the path from root
Oops, deleted super user Drupal 6, what to do? maybe you emptied user table?
I left my thinking cap off and emptied the user table of a dev Drupal 6 site I was working on. If that happens to you, just access your database with phpMyAdmin or similar, and:
INSERT INTO users (uid, name, pass) VALUES ('1', 'yourname', md5('yourpassword'));
then edit the users table further to add your email address and set status = 1.
Drupal 6 Programmatically Create Users
How to programmatically create new users in Drupal 6:
'username',
'pass' => 'password', // note: do not md5 the password
'mail' => 'email address',
'status' => 1,
'init' => 'email address'
);
user_save(null, $newUser);
?>
To update an existing user:
some_property = 'what_you_want_to_set_it_to';
// save existing user
user_save((object) array('uid' => $existingUser->uid), (array) $existingUser);
?>
List of Citizen Science applications / web sites / mobile phone applications
Hello. I am trying to compile a list of web sites and mobile phone applications wherein people are using technology to enable citizen science. If you know of a project I do not have listed, can you add it via the comments, and I will add it to the list? Thanks!
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
You must be logged in to post a comment.