This file contains 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
connecting thru tiny_tds via cli: | |
sudo yum install freetds | |
/etc/freetds.conf -> set tds version! (on ubuntu it was /etc/freetds/freetds.conf and didn't work until set the version to 8.0 | |
$ TDSVER=7.1 tsql -H servername -p 1433 -U domain\\user.name -P `cat pass.txt` | |
try with TDSVER=8.0 too... | |
------------------------------------------- | |
installing tiny_tds gem: | |
sudo yum install freetds-devel | |
rvm use 2.0.0 | |
gem install tiny_tds --platform=ruby --no-ri --no-rdoc #--platform to recompile native |
This file contains 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
##### TAR ##### | |
cd /root/projects | |
tar -cvpzf /root/projects.tar.gz --exclude=./sfitx ./ | |
c - create a new backup archive. | |
v - verbose mode, tar will print what it's doing to the screen. | |
p - preserves the permissions of the files put in the archive for restoration later. | |
z - compress the backup file with 'gzip' to make it smaller. | |
f <filename> - specifies where to store the backup | |
--exclude=/example/path - The options following this model instruct tar what directories NOT to backup. | |
--one-file-system - Do not include files on a different filesystem. |
This file contains 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
ti build -p android --device-id "Moto X - 4.2.2 - API 17 - 720x1280" | |
http://www.appcelerator.com/blog/2013/12/using-genymotion-with-titanium-3-2/ | |
package Android App for distribution (production): check keystore: | |
$ keytool -list -v -keystore /home/fer/.titanium/mobilesdk/linux/3.2.1.GA/android/dev_keystore | |
password => tirocks |
This file contains 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
/home/fer/genymotion/player --vm-name "Moto X - 4.2.2 - API 17 - 720x1280" |
This file contains 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
Debugging Titanium Android applications with node-inspector | |
Thanks to Stevo Perisic | |
Download the https://github.com/node-inspector/node-inspector using | |
$ npm install -g node-inspector | |
Than go to your titanium project folder and run: | |
$ node-inspector | |
after that in the same dir run: |
This file contains 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
Add new release não funciona quando mudamos o i18n para pt_BR | |
Funciona com en_US e es_ES | |
Sequencia de chamadas: | |
buggenie/modules/project/templates/releasecenter.html.php | |
onclick = TBG.Main.Helpers.Backdrop.show | |
buggenie/thebuggenie/js/thebuggenie.js | |
TBG.Main.Helpers.ajax url = '/buggenie/thebuggenie/get/partials/project_build/project_id/1' | |
core/load_routes.inc.php |
This file contains 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
openssl s_client -host SERVER_URL -port 993 -crlf |
NewerOlder