Hey.. Friends.. WELCOME.. I'm here to share with you #CLOUD + #R + #RoR + #Andriod + #AWS + #Wekatool + #hadoop + #TechNews I will be sharing my work copies and tips on Tech is use. + #yet_to_come_more...
Monday, 28 March 2016
Check the reasons.. How the Batman can Beat Superman
Check out @BestGamezUp's Tweet: https://twitter.com/BestGamezUp/status/714380448403742720?s=09
Wednesday, 23 March 2016
Ansible..!! for Big Data Infrastructure Setup { GREAT OPEN SOURCE WORK }
Hey Reader's.. This is Tash,
Most of the Tech Geek's know:
1. Whats Big Data .??? [click to know]
2. What does Big Data Infrastructure Mean's ..??[click to know]
3. What does Cloudera do.. ??[click to know]
4. How does Chef helps in Cloud Management..??[click to know]
5. How does Puppet manages IT infrastructure at scale..??[click to know]
6. Hadoop platforms for Cloud..??[click to know]
Look to Ansible Product Demo [video link]
Changes to Cloudera Manager or Ambari can also be driven through API requests, so that no manual task will need to be implemented. As far as security is concerned sensitive information such as passwords are encrypted and shadowed in Ansible through the vault.
This is the level at which Hadoop infrastructure should be managed, and this is how at '51zero' are currently building and managing our Hadoop infrastructure on Landoop [click to know]
Credit: Company 51zero
Most of the Tech Geek's know:
1. Whats Big Data .??? [click to know]
2. What does Big Data Infrastructure Mean's ..??[click to know]
3. What does Cloudera do.. ??[click to know]
4. How does Chef helps in Cloud Management..??[click to know]
5. How does Puppet manages IT infrastructure at scale..??[click to know]
6. Hadoop platforms for Cloud..??[click to know]
When observing how Big Data infrastructure is currently managed we notice either a manual process, or a semi-automated complex system.
Big Data teams are raising tickets to Infrastructure. After approval by business, a Devops implements changes either manually, using Cloudera Manager or Ambari[Ambari is open source apache project] and keeps track of which tickets have been implemented on which environment (dev/sit/uat) etc. Some teams also use Puppet or Chef,
but we think Ansible to be the most beneficial implementation, and we will explain the reasons.
To stay on the positive side, know that most organizations (especially in Europe) have their Hadoop systems in their data-centers. Now, with regulations in place, and cloud security not a concert most enterprises are planning moving Hadoop platforms to the Cloud over the next few years.
Ansible :
Ansible is beautiful as it can live in a small USB stick :)
Usually Ansible lives in a Git repository. Development teams have access and raise change requests directly to devops team (!). Usually most git changes will be a few new lines. Ansible will ensure the state is consistent, and then check and apply the new state as described in the commit message. Small changes can be tested using a Continuous Integration server onto the Hadoop DEV cluster, before propagating to other environments.
Changes to Cloudera Manager or Ambari can also be driven through API requests, so that no manual task will need to be implemented. As far as security is concerned sensitive information such as passwords are encrypted and shadowed in Ansible through the vault.
This is the level at which Hadoop infrastructure should be managed, and this is how at '51zero' are currently building and managing our Hadoop infrastructure on Landoop [click to know]
Credit: Company 51zero
Labels:
51zero,
Ansible,
Big Data,
Big Data Infrastructure,
Chef,
Cloudera,
DevOps,
GitHub,
Hadoop,
Puppet
Location:
India
Monday, 21 March 2016
Stagefright exploits ..!! { HACK } Your Android Phone's like Nexus 5, Samsung Galaxy S5, LG G3 HTC One + extra smartphones In 10 Seconds
Hey Reader's Tash here, ..
Lets know The Stagefright Android Attack.
Well, Stagefright exploit is back. The new Stagefright exploit, also being called Metaphor, allows an attacker to hack an Android smartphone in as less as just 10 seconds. There are a series of simple steps that allow Stagefright to take control of an Android phone and they work something like this:
NorthBit, a security research-based firm, has claimed to exploit this remote Android hacking bug. However, NorthBit term this exploit as the “worst ever discovered”.
Here is the video:
Metaphor - Stagefright Exploitation Breaking ASLR
On top of that, this new Stagefright exploit also guides black hat hackers, white hat hacker and even government spying agencies to build the Stagefright exploit for themselves — here’s the PDF document. This news of remote Android hacking exploit is another war declared An android after the Snapdragon programming mistake taking a toll on billion of android devices which we reported.
The researchers have also provided a proof-of-concept video that illustrates how easy it was for them to hack into Android-powered Nexus 5 device using this exploit in just 10 seconds. They also successfully tested it on a Samsung Galaxy S5, LG G3 and HTC One smartphones.
Credits: fossbytes
Lets know The Stagefright Android Attack.
Well, Stagefright exploit is back. The new Stagefright exploit, also being called Metaphor, allows an attacker to hack an Android smartphone in as less as just 10 seconds. There are a series of simple steps that allow Stagefright to take control of an Android phone and they work something like this:
Credits: theguardian
- It tricks users into visiting a hacker’s web page.
- The hacker’s web page contains a malicious multimedia file.
- Once the user downloads the malicious multimedia file, it resets the internal state of the phone.
- The attacker’s server then sends a custom generated video file to the affected device, exploiting the Stagefright bug to reveal more info about the device’s internal state.
- Using the information sent by the exploit to the hacker’s server, a hacker is easily able to control your smartphone.
NorthBit, a security research-based firm, has claimed to exploit this remote Android hacking bug. However, NorthBit term this exploit as the “worst ever discovered”.
Here is the video:
Metaphor - Stagefright Exploitation Breaking ASLR
On top of that, this new Stagefright exploit also guides black hat hackers, white hat hacker and even government spying agencies to build the Stagefright exploit for themselves — here’s the PDF document. This news of remote Android hacking exploit is another war declared An android after the Snapdragon programming mistake taking a toll on billion of android devices which we reported.
The researchers have also provided a proof-of-concept video that illustrates how easy it was for them to hack into Android-powered Nexus 5 device using this exploit in just 10 seconds. They also successfully tested it on a Samsung Galaxy S5, LG G3 and HTC One smartphones.
Credits: fossbytes
Labels:
affect,
Android smartphone,
control your smartphone,
fossbytes,
hacker,
HTC One,
LG G3,
Nexus 5,
NorthBit,
Samsung Galaxy S5,
Security,
Snapdragon,
Stagefright,
tashworks,
theguardian
Location:
India
Monday, 14 March 2016
Google reCaptcha ..!! Now with Ruby on Rails
Integration of Google reCaptcha with Rails application:
ReCaptcha is a powerful captcha service to be use with a form to stop
spam. This blog demonstrates the use of reCaptcha in rails application.
Here I have used the Ruby version 1.9.3 and Rails version 3.2.8
Environment
- Ruby version – 1.9.3
- Rails – 3.2.8
Step#1
Create
an account with recaptcha “http://www.google.com/recaptcha” and
register your site name with your google account to retrieve public and
private key that will be used later on the application
Step#2
Installation of recaptcha gem:
- Open your Gemfile and add this code:
gem 'recaptcha', :require => 'recaptcha/rails'
2. Plugin:
2. Plugin:
rails plugin install git://github.com/ambethia/recaptcha.git
Step#3
Create a file named recaptcha.rb in RAILS_ROOT/config/initializer and fill it with these codes
ENV['RECAPTCHA_PUBLIC_KEY'] = 'youractualpublickey' ENV['RECAPTCHA_PRIVATE_KEY'] = 'youractualprivatekey'
Create a file named recaptcha.rb in RAILS_ROOT/config/initializer and fill it with these codes
ENV['RECAPTCHA_PUBLIC_KEY'] = 'youractualpublickey' ENV['RECAPTCHA_PRIVATE_KEY'] = 'youractualprivatekey'
Step#4
Usages Open your views file and add this code
Usages Open your views file and add this code
<%= recaptcha_tags %>
Step#5
Validation In controller, you can check the captcha validation by the following
Validation In controller, you can check the captcha validation by the following
if @model.save && verify_recaptcha(:model => @developer, :message => "Oh! It's error with reCAPTCHA!") #captcha is valid else #captcha is invalid end
It's all the Power of Barby Gem ..!! In RoR to generate Barcode.
How to generate Barcode using Barby Gem in Rails 2.3.8:
A barcode is a series of vertical black lines with white spaces in
between. This series of lines and spaces can be read by a device that
can decode them. This would be a barcode reader. In Ruby on Rails there is a gem called “barby” which generates the barcode with various format.
Here is an example to create barcode using barby & Rails 2.3.8.
Step#1
Include the barby gems in your config/environment.rb file
|
Install the gems by running the command:-
rake gems:install.
Restart the Rails server.
Comment out the gems “png” & “RubyInline” in the “config/environment.rb” to get the server started.
Step#2
Create a folder named “Barcodes” to store the barcode images in your “Public” folder.
Step#3
Add the below lines of code in your controller
|
Step#4
The following method will generate the barcode images and store in
the “/public/Barcodes” path.Place this method inside the controller.
The “symbology” is the format in which the barcode will be generated. Default is “Code128B”, If you want to generate in different format you can set the “symbology” according to it.
def generate_barcodes(data) # check to see if we don't already have this barcode image uri = CGI.escape(symbology) + '_' + CGI.escape(data) + '.jpg' fname = RAILS_ROOT + '/public/Barcodes/' + uri #fname = '/var/www/html/arc_cloud/arcdevelopment/' + uri
# if the barcode image doesn't already exist then generate and save it
if ! File.exists?(fname)
str = 'Barby::'+symbology+'.new("'+data+'")'
begin
barcode = eval str
rescue Exception => exc
barcode = Barby::Code128B.new(data) # fall back to Code128 type B
end
File.open(fname, 'w') do |f|
f.write barcode.to_jpg
end
end
uri
end
Following lines of code will call to generate your dynamic barcode
generate_barcodes(@item_id)
To show the Barcode images call the following lines of code
<img src="/Barcodes/<%= @job_info.job_number %>.jpg">
| For More Images Call Visit : http://toreto.re/barby/ |
Labels:
/toretore/barby,
Barby Gem,
Barcode,
Gem,
gif,
GitHub,
jpg,
png,
Rails,
Ruby on Rails,
tashworks
Saturday, 12 March 2016
Interesting Tweet,,!! Found on RoR with Ubuntu 14.04
Labels:
Cloud,
Ruby on Rails,
server,
tweet,
ubuntu
Location:
Sector 3, Sector 3
Thursday, 10 March 2016
My Good Reasons.. Why I Choose Ruby on Rails over Java / Python ..!!
-Ruby on Rails Technology Stack - Credits: People10
Ruby on Rails is open source software, so not only is it free to use, you can also help make it better. More than 4,200 people already have contributed code to Rails. It’s easier than you think to become one of them.
My opinion's are:
1. I think it has a growing developer community supports plug-and-play functionality.
2. It executes common programming behaviors during run-time like (CLR + DLR)
3. It supports three types of rapid frameworks like :
a.) PADRINO:
adrenal helps the developer quickly set up their project it also comes with a dynamic administrative interface.
b.) Sinatra:
sinatra is useful for small sites with only a few pages.
c.) Rails:
i.) Provides conventions like convention over configuration
ii.) Don't Repeat Yourself (DRY)
iii.) Model-View-Controller
iv.) Pr-written code
v.) Supports Agile Development
4. UI & UX templates supported in RoR :
a.) Bootstrap
b.) Kendo UN templates
5. Databases supported in RoR :
a.) MySQL
b.) PostgreSQL
c.) Cassandra
d.) Mongo dB
e.) Neo4j
6. Rack Metal is used for implementation of the pipeline design patterns from Web Servers.
7. Text Search Functionality supported in RoR :
a.) Sphinx is an open-source full-text search engine.
b.) SunSpot Solr is a Ruby library for expressive powerful interactions with Solr search engine.
8. RoR supports Application Servers like : Thin, PUMA, Webrick, Unicorn, Faye
9. RoR supports Web Servers like : NGiNX, Mongrel, Apache
10. Development tools offered in Rails :
a.) Ruby mine (highly recommended)
b.) NetBeans
c.) Sublime
d.) RadRails
e.) TextMate
11. Source Code Repository for entire projects upports for RoR :
a.) GitHub
b.) BitBucket
12. Project Management tools used by RoR :
a.) PIVOTAL Tracker
b.) REDMINE
c.) JIRA
d.) Confluence
13. Deployment tools used in RoR :
a.) Capistrano
b.) puppet labs
c.) CHEF
14. Deployment PaaS platform supports RoR :
a.) Amazon Web Service (AWS)
b.) heroku
c.) DigitalOcean
15. RoR also supports Payment Gateways like :
a.) DWOLLA
b.) stripe
16. Now this is the important point that most of the managers ask for Testing
Yes, RoR supports Functional and Unit testing like :
a.) RSpec
b.) Shoulda
c.) FactoryGirl
d.) MiniTest-Spec Rails
Yes, RoR supports Browser testing like : Cucumber, webrat, Selena modules
i would like to conclude my idea's..
hope you like..
if i miss any plz. comment.
Labels:
AWS,
BitBucket,
Bootstrap,
Capistrano,
DigitalOcean,
FactoryGirl,
GitHub,
Mongo dB,
MySQL,
Neo4j,
NetBeans,
NGiNX,
PostgreSQL,
RSpec,
Ruby mine,
Ruby on Rails,
Sphinx,
SunSpot Solr,
webrat,
Webrick
Location:
Vellore, Tamil Nadu 632001, India
Wednesday, 9 March 2016
Die with Memories
Don't die with goals..
Die with Memories..
Life is Beautiful..
Earn Living..
Earn Respect..
Earn Money $$
Labels:
beautiful,
die,
earn,
goals,
life,
living,
memories,
money,
respect,
tashbadjoker,
tashworks
Location:
Sector 2, Sector 2
Saturday, 5 March 2016
Subscribe to:
Comments (Atom)
