##npm komutları
npm install -g cordova
node.js kullanarak cordova'yı bilgisayarınıza yükler.
##cordova komutları
cordova create hello com.example.hello HelloWorld
| import ldap | |
| def check_credentials(username, password): | |
| """Verifies credentials for username and password. | |
| Returns None on success or a string describing the error on failure | |
| # Adapt to your needs | |
| """ | |
| LDAP_SERVER = 'ldap://xxx' | |
| # fully qualified AD user name | |
| LDAP_USERNAME = '%[email protected]' % username |
| <?php | |
| $host = "db hostname"; | |
| $dbname = "db name"; | |
| $user = "db username"; | |
| $pass = "db password"; | |
| $charset = "UTF8MB4"; // if your db does not use CHARSET=UTF8MB4, you should probably be fixing that | |
| $dsn = "mysql:host={$host};dbname={$dbname};charset={$charset}"; |
##npm komutları
npm install -g cordova
node.js kullanarak cordova'yı bilgisayarınıza yükler.
##cordova komutları
cordova create hello com.example.hello HelloWorld
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
| /** | |
| * Continents and Countries MySQL Tables compiled from Wikipedia, Braintree Payments documentation | |
| * and a couple other places I don't recall at the moment. This data is compatible with the Braintree | |
| * Payment API as of Dec 2011 | |
| * | |
| * Compiled by Steve Kamerman, 2011 | |
| */ | |
| SET FOREIGN_KEY_CHECKS=0; | |
| -- ---------------------------- |
| <?php | |
| namespace Drupal\mymodule\Form; | |
| use Drupal\Core\Form\FormBase; | |
| use Drupal\Core\Form\FormStateInterface; | |
| /** | |
| * Provides a custom form. | |
| */ |