SASS Versions of
- Fontawesome 5
- Bootstrap 4
in Phoenix 1.3 and 1.4 via Webpack
SASS Versions of
in Phoenix 1.3 and 1.4 via Webpack
| vi /etc/environment | |
| add these lines... | |
| LANG=en_US.utf-8 | |
| LC_ALL=en_US.utf-8 |
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
| # Install tmux on Centos release 6.5 | |
| # install deps | |
| yum install gcc kernel-devel make ncurses-devel | |
| # DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
| curl -OL https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
| tar -xvzf libevent-2.0.21-stable.tar.gz | |
| cd libevent-2.0.21-stable | |
| ./configure --prefix=/usr/local |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| App.PickADate = Ember.View.extend({ | |
| attributes: ['monthsFull', 'monthsShort', 'weekdaysFull', 'weekdaysShort', | |
| 'monthPrev', 'monthNext', 'showMonthsFull', 'showWeekdaysShort', 'today', | |
| 'clear', 'format', 'formatSubmit', 'hiddenSuffix', 'firstDay', 'monthSelector', | |
| 'yearSelector', 'dateMin', 'dateMax', 'datesDisabled', 'disablePicker'], | |
| events: ['onOpen', 'onClose', 'onSelect', 'onStart'], | |
| attributeBindings: ['type', 'value', 'placeholder'], | |
| type: 'text', | |
| tagName: 'input', |
| #!/usr/bin/env python | |
| """ | |
| This script helps migrating issues from Bitbucket to GitHub. | |
| It currently ignores milestones completly and doesn't care whether an issue is | |
| open, new or on hold. As long as it's not closed it's considered open. | |
| To use it, install python-bitbucket, PyGithub and ipdb. |
| Steps to install and run PostgreSQL 9.2 using Homebrew (Mac OS X) | |
| (if you aren't using version 9.1.5, change line 6 with the correct version) | |
| 1. launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
| 2. mv /usr/local/var/postgres /usr/local/var/postgres91 | |
| 3. brew update | |
| 4. brew upgrade postgresql | |
| 5. initdb /usr/local/var/postgres -E utf8 | |
| 6. pg_upgrade -b /usr/local/Cellar/postgresql/9.1.5/bin -B /usr/local/Cellar/postgresql/9.2.0/bin -d /usr/local/var/postgres91 -D /usr/local/var/postgres | |
| 7. cp /usr/local/Cellar/postgresql/9.2.0/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/ |
| #!/bin/bash | |
| ############################################### | |
| # To use: | |
| # https://raw.github.com/gist/2776351/??? | |
| # chmod 777 install_postgresql.sh | |
| # ./install_postgresql.sh | |
| ############################################### | |
| echo "*****************************************" | |
| echo " Installing PostgreSQL" | |
| echo "*****************************************" |
| [user] | |
| name = Jose Juan Reyes | |
| email = [email protected] | |
| [core] | |
| editor = vim | |
| pager = less -FRSX | |
| whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| quotepath = false | |
| excludesfile = /Users/makingdevs/.gitignore_global | |
| commentChar = ";" |