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
| ''' | |
| Based on Mitul patel code | |
| https://youtu.be/JDA4XzsGn4w | |
| Can be run throug this app | |
| https://repl.it/repls/PlumpColorlessGnudebugger | |
| ''' | |
| import turtle | |
| mitul=turtle.Turtle() |
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
| Generate login-link | |
| ------------------- | |
| reset user 1 password in db | |
| UPDATE users SET pass = md5(‘123456789’) where uid = 1; | |
| Drush can generate a one-time login link. | |
| ---------------------------------------- | |
| drush uli |
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
| // paste this in a new module | |
| function module_hook_init() { | |
| ctools_include('ajax'); | |
| ctools_include('modal'); | |
| // Add CTools' javascript to the page. | |
| ctools_modal_add_js(); | |
| // Create our own javascript that will be used to theme a modal. | |
| $popup_style = array( | |
| 'MessagePopup' => array( |
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 | |
| # | |
| # All the alias for you linux | |
| # | |
| # | |
| # Some more ls aliases | |
| alias e='exit' |