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
| //The default sizes are for a bicycle with a 35mm diameter round frame, standard bicycle seat, 1/4-20 hardware (1 inch long for the middle bolt and 2.5 inch long for the 2 side bolts) with nylock nuts. | |
| //More information at https://www.thingiverse.com/thing:4370283 | |
| /* [ Rendering settings ] */ | |
| //Which piece should be displayed? Note that the online Customizer will generate each piece individually as well as an .stl that includes all 3 pieces regardless of which view you select below. | |
| part="All"; // [Top:Top Only,Middle:Middle Only,Bottom:Bottom Only,All:View All Three] | |
| /* [General dimensions] */ | |
| //Width of all 3 adapter pieces. | |
| width=75; |
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
| <?php | |
| require_once('app/Mage.php'); | |
| umask(0); | |
| Mage::app(); | |
| $submissions = Mage::getModel('plugincompany_contactforms/entry')->getCollection(); | |
| $submissions | |
| ->addFieldToFilter('form_id', 1) //example parent form id filter | |
| ->addFieldToFilter('created_at', ['gt' => '2017-10-15']) //example submission date filter |
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 | |
| #Place this file in the following folder: | |
| #/usr/local/bin/ | |
| # now run `dbash container_name` to enter bash shell in container | |
| # or `dbash [tab][tab]` to use the autocomplete functionality | |
| docker exec -t -i $1 env TERM=xterm bash | |
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 | |
| #user data | |
| DBUSER=yourusername #add your mysql user name here | |
| DBPASSW=yourpassword #add your mysql password here | |
| URL='http://test.dev/' #your local www-data URL | |
| GITBASEURL='git@gitlab.com:magento-extensions/' #the 'root' url of your git provider / project group | |
| #end user data | |
| INST=$1 |