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
| git branch -a --merged remotes/origin/master | grep -v master | grep "remotes/origin/" | awk -F'/' '{print substr($0, index($0,$3))}' | xargs -n 1 git push --delete origin |
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
| text to speech app | |
| https://freetts.sourceforge.io/ | |
| search for TTS app |
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
| package com.influans.wonderland.babland.onboarding.performer; | |
| import com.influans.wonderland.babland.dto.CsvMappingItem; | |
| import com.influans.wonderland.babland.dto.CsvMappingList; | |
| import com.influans.wonderland.babland.dto.ImportableDto; | |
| import com.influans.wonderland.babland.entity.MappingRuleEntity; | |
| import com.influans.wonderland.babland.entity.enums.RuleEnum; | |
| import com.influans.wonderland.babland.enums.CatalogProductFieldsEnum; | |
| import com.influans.wonderland.babland.onboarding.Context; | |
| import com.influans.wonderland.babland.onboarding.ElementWrapper; |
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
| link: function (scope, element, attrs) { | |
| attrs.$observe('loading', function (value) { | |
| console.log(value); | |
| }); | |
| }, |
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
| ON: | |
| heroku maintenance:on --app APP_NAME | |
| OFF: | |
| heroku maintenance:off --app APP_NAME |
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
| To install: | |
| sudo apt-get install redis-server | |
| That will create a redis user and install the init.d script for it. Since upstart is now the replacement for using init.d, I figure I should convert it to run using upstart. | |
| To disable the default init.d script for redis: | |
| sudo update-rc.d redis-server disable | |
| Then create /etc/init/redis-server.conf with the following script: |
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
| netstat -tulpn |
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
| location.reload(); |
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 ssh-key | |
| https://help.github.com/articles/generating-ssh-keys | |
| //permision denied solution | |
| https://help.github.com/articles/error-permission-denied-publickeycompress & decompress a String |
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
| $('#isFeatured').is(':checked') |