Profile

Cover photo
Dariel Dato-on
Works at Ernst & Young
Attended University of Texas at Dallas
Lives in Richardson, Texas
183 followers|328,964 views
AboutPostsPhotosYouTube+1'sReviews

Stream

Dariel Dato-on

Shared publicly  - 
 
Making a knife from an old saw blade. Pretty amazing to watch the process.
 ·  Translate
1
Add a comment...
 
Watch drones play musical instruments.

Flying Robot Rockstars: http://youtu.be/Qlqe1DXnJKQ
1
Add a comment...

Dariel Dato-on

Shared publicly  - 
1
Add a comment...

Dariel Dato-on

Shared publicly  - 
 
Hey, all! I'm really excited to share my creation from this past weekend: docker-znc - an IRC bouncer that runs inside Docker! (Not impressed? See the Why reinvent the wheel? section to see what's different!)

What is docker-znc?

Basically two things: Docker + ZNC (duh!). You can read more about Docker on their website (https://www.docker.io/), but in summary it allows you to package up an application and deploy it to any Docker host in a reliable, consistent way.

ZNC is an Internet Relay Chat (IRC) bouncer (http://wiki.znc.in/ZNC). For those of you who still use IRC, a bouncer allows you to be connect to IRC all the time so you don't miss any of the conversation.

Why do I need an IRC bouncer?

An IRC bouncer is kind of like a proxy server. It connects to the IRC server for you, and you connect your IRC client to the bouncer. This allows you to still be "connected" to IRC, even though you closed your IRC client. What makes this better than for example screen+irssi/weechat is that you can connect using any client (mIRC, X-Chat, AndroIRC, irssi, etc.) and you can even connect using multiple clients simultaneously.

ZNC even comes with an easy to use Webadmin module so you can configure it from your web browser. And with docker-znc, you can be running ZNC in just two commands, so you have no excuse to try it!

Why reinvent the wheel?

OK. At this point some of you more advanced folks might be wondering, What's the big deal? If you search "znc" in the Docker Index (https://index.docker.io/) there well over 20 other ZNC images! What makes this one different?

Well, I started this project because I was rather unsatisfied with the other implementations. The other images seemed to either:

1. Have an outdated version of ZNC.
2. Make you pass in your ZNC password as a parameter. This causes your password shows up in plain text when you list your Docker instances.
3. Store your ZNC configuration files inside the image which makes it difficult to upgrade the base image later.
4. Store your ZNC configuration files locally on your server. That kind of defeats the purpose of containers to begin with.

I was able to learn from the prior implementations and come up with a solution that (personally) feels cleaner and more elegant. Also, Docker is fun, so why not!

My implementation of docker-znc first uses the `znc --makeconf` command so you can configure ZNC exactly how you like. I do not pre-configure ZNC with a port number, dummy user, etc. You have all the same options as on a regular installation of ZNC. Then docker-znc stores all the ZNC configuration in a separate data volume. Check out the Dockerfile for all the details.

Where can I run docker-znc?

You can run docker-znc on any machine that can run Docker (which is basically any Linux machine). It makes the most sense to run docker-znc on a server that is always powered on such as a virtual private server, Amazon AWS, or Google Compute Engine.

I am of course assuming you are familiar with Docker and know how to install it. If not, stay tuned! I plan to do a Beginner's guide to Docker in the near future. Leave a comment below if you're interested!

Where do I get docker-znc?

Check out my GitHub page in the link below! Enjoy!

#docker   #irc   #znc   #linux  
1
1
Dariel Dato-on's profile photo
Add a comment...
 
Bashing Windows

I've been using Windows a lot lately (for work) and have come across several situations where I thought, "This would be so much easier if I had a Linux shell". CMD simply does not cut it and PowerShell lacks the simplicity of Bash (e.g., grep -> Select-String, cat -> Get-Content). The other pain point is that the CDM and PowerShell console is not freely resizeable, lacks customization, and rather ugly to be honest.

So I came up with a solution using MSYSGit and Console2 that should make any UNIX-shell lover feel at home. I'm also a big fan of using PortableApps.com on Windows. So I wanted the solution to also be portable and not require administrative privileges.

The following is a step-by-step tutorial:

Download MSYSGit

There's basically two ways to get a UNIX-like environment on Windows: Cygwin or MSYS. While Cygwin is technically more of a UNIX/Linux environment for Windows, MSYS is a lot simpler and (in my experience) easier to integrate with Windows.

The MSYSGit project (http://msysgit.github.io/) bundles MSYS with the popular source code management system git. They also include several other useful tools such as SSH and VIM. And they have a portable version. Great! Exactly what we need. Download the latest version which is currently  PortableGit-1.9.0-preview20140217.7z (https://code.google.com/p/msysgit/downloads/list).

You can change the .7z extension to .exe and double-click the file. It will ask you where you want to extract the files. For my purposes, I put it in my PortableApps folder next to all my other portable apps.

At this point, you can simply double-click the git-bash.bat file and a bash shell will open up in the CMD console. We can do better than this, though. Next up, Console2.

Download Console2

I used the PortableApps version of Console2 (http://portableapps.com/apps/utilities/console_portable) and installed/extracted it to my PortableApps folder.

Start Console2 and go to Edit -> Settings. Then under Tabs -> Main, use the following settings:

Title: Git-Bash
Icon: <path where you extracted PortableGit>\etc\git.ico
Shell: <path where you extracted PortableGit>\git-bash.bat

Click OK and then restart Console2. You should now have Bash running in Console2.

Customize MSYSGit/Console2

Change the default icon. Since the default Console2 icon is ugly, I replaced it with the git icon from MSYSGit. Copy the git icon (<path where you extracted PortableGit>\etc\git.ico) and rename and replace the Console2 icon (<path where you extracted Console2>\ConsolePortable\App\AppInfo\appicon.ico). Now the icon that appears in your taskbar will be much prettier.

Change the font. Under Edit -> Settings -> Appearance, change the font to Consolas 10pt.

Hide the clutter. I also disabled the menu, toolbar, status bar, scrollbars, and tray icon. You can adjust these settings under Edit -> Settings -> Appearance -> More. This gives the console a much cleaner look. You can always activate the menu by right-clicking the console background.

Change the color scheme. I've been a big fan of the well-thought-out Solarized color scheme (https://github.com/stevenharman/console2-solarized). First, make sure Console2 is closed. Then select either the console.xml or console.light.xml. Copy the contents between the <colors> tag (lines 5-20). Then open your configuration file (<path where you extracted Console2>\ConsolePortable\Data\settings\console.xml) and replace the contents between the <colors> tag (lines 5-20). Save the file.

Change the home directory. One small issue with MSYSGit is that it uses your profile folder as the home directory. While not necessarily a bad thing, I changed this for two reason: (1) I did not like the .bash_history, .ssh, and other files cluttering my user folder, and (2) using the profile folder is not truly portable. There are two logical alternatives to use for your home directory. You can create a /home/<username> folder in your MSYSGit folder (<path where you extracted PortableGit>\home\<username>), or you can use your PortableApps Documents folder. To change your home directory, you will need to edit the profile file (<path where you extracted PortableGit>\etc\profile). Find the line that says "# normalize HOME to unix path" (line 53) and just before it add either "HOME=/home/<username>" or something like "HOME=$(cd / && pwd -W)'/../../Documents'".

Share and Enjoy

You should now have a Bash shell that looks and feels like your typical Linux shell. Success! You can now bring all your commandline-fu to the Windows desktop. If you found this tutorial helpful, please share and +1! Thanks!



BONUS CONTENT

Did you know that Console2 supports multiple shells? You can use Console2 to manage both Bash and PowerShell. To do that, go to Edit -> Settings -> Tabs. Then click add and put in the following:

Title: PowerShell
Icon: <find powershell.ico online>
Shell: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

Now you can have Bash and PowerShell as tabs next to each other.

#bash    #powershell   #windows   #git  
4
2
Von Laurence's profile photoDariel Dato-on's profile photoCherny D. C. Berbesí I.'s profile photo
2 comments
 
Thanks! Hope you found some parts useful.
Add a comment...
In his circles
255 people
Have him in circles
183 people
khizar ali's profile photo
Nancy Hong's profile photo
Joey-Elijah Sneddon's profile photo

Dariel Dato-on

Shared publicly  - 
 
Dun-dun-dun-DUUUUNN!! ... Dun-dun-dun-DUUUUNN!!

To my musical (and not so musical friends), here's a fun quiz to try to guess the classical work from these excepts!

http://www.sporcle.com/games/iglew/cant-read-music
1
Add a comment...
 
 
A good reference and a handbook for current best practices. "Web Fundamentals" by Google. https://developers.google.com/web/fundamentals/
1
Add a comment...

Dariel Dato-on

Shared publicly  - 
 
Woot! 4096!
2
Add a comment...

Dariel Dato-on

Show and tell  - 
 
I know docker-znc has been done before, but here's my implementation of it. I think this a bit of a cleaner solution than some of the other ones. But let me know if you have any suggestions! Thanks!
 
Hey, all! I'm really excited to share my creation from this past weekend: docker-znc - an IRC bouncer that runs inside Docker! (Not impressed? See the Why reinvent the wheel? section to see what's different!)

What is docker-znc?

Basically two things: Docker + ZNC (duh!). You can read more about Docker on their website (https://www.docker.io/), but in summary it allows you to package up an application and deploy it to any Docker host in a reliable, consistent way.

ZNC is an Internet Relay Chat (IRC) bouncer (http://wiki.znc.in/ZNC). For those of you who still use IRC, a bouncer allows you to be connect to IRC all the time so you don't miss any of the conversation.

Why do I need an IRC bouncer?

An IRC bouncer is kind of like a proxy server. It connects to the IRC server for you, and you connect your IRC client to the bouncer. This allows you to still be "connected" to IRC, even though you closed your IRC client. What makes this better than for example screen+irssi/weechat is that you can connect using any client (mIRC, X-Chat, AndroIRC, irssi, etc.) and you can even connect using multiple clients simultaneously.

ZNC even comes with an easy to use Webadmin module so you can configure it from your web browser. And with docker-znc, you can be running ZNC in just two commands, so you have no excuse to try it!

Why reinvent the wheel?

OK. At this point some of you more advanced folks might be wondering, What's the big deal? If you search "znc" in the Docker Index (https://index.docker.io/) there well over 20 other ZNC images! What makes this one different?

Well, I started this project because I was rather unsatisfied with the other implementations. The other images seemed to either:

1. Have an outdated version of ZNC.
2. Make you pass in your ZNC password as a parameter. This causes your password shows up in plain text when you list your Docker instances.
3. Store your ZNC configuration files inside the image which makes it difficult to upgrade the base image later.
4. Store your ZNC configuration files locally on your server. That kind of defeats the purpose of containers to begin with.

I was able to learn from the prior implementations and come up with a solution that (personally) feels cleaner and more elegant. Also, Docker is fun, so why not!

My implementation of docker-znc first uses the `znc --makeconf` command so you can configure ZNC exactly how you like. I do not pre-configure ZNC with a port number, dummy user, etc. You have all the same options as on a regular installation of ZNC. Then docker-znc stores all the ZNC configuration in a separate data volume. Check out the Dockerfile for all the details.

Where can I run docker-znc?

You can run docker-znc on any machine that can run Docker (which is basically any Linux machine). It makes the most sense to run docker-znc on a server that is always powered on such as a virtual private server, Amazon AWS, or Google Compute Engine.

I am of course assuming you are familiar with Docker and know how to install it. If not, stay tuned! I plan to do a Beginner's guide to Docker in the near future. Leave a comment below if you're interested!

Where do I get docker-znc?

Check out my GitHub page in the link below! Enjoy!

#docker   #irc   #znc   #linux  
1
Add a comment...

Dariel Dato-on

Shared publicly  - 
 
Performing magic tricks to dogs.
1
Add a comment...

Dariel Dato-on

Shared publicly  - 
 
The Great Linux World Map 2.0!

Cool map of the Linux world! Funny how some of the descriptions are so fitting. The sea of forgotten distros...

http://www.dedoimedo.com/computers/linux-world-map-reloaded.html
1
Add a comment...
People
In his circles
255 people
Have him in circles
183 people
khizar ali's profile photo
Nancy Hong's profile photo
Joey-Elijah Sneddon's profile photo
Work
Occupation
IT Audit Staff
Skills
Auditing, IT Auditing, Web Development, Django, Python, Linux
Employment
  • Ernst & Young
    IT Audit Staff, 2013 - present
  • Center for Internal Auditing Excellence
    Teaching Assistant, 2011 - 2013
    * Enhanced marketing and awareness through various social media * Streamlined and developed online resume book system * Planned and organized events with companies in the metroplex
  • PricewaterhouseCoopers
    IT Audit Intern, 2012 - 2012
    * Developed risk assessment and audit plan for an IT project, change control, and test environment audit * Drafted test plan for SOX IT controls * Tracked engagement economics, planning, and budgeting
  • The University of Texas at Dallas
    Internal Audit Intern, 2011 - 2011
    * Detected a campus-wide security vulnerability in the University’s authentication system * Performed operational audits on the University's Counseling Center and AccessAbility Center * Led interviews with the client
  • Thomas Stephen & Company, LLP
    Audit Intern, 2010 - 2011
    * Performed audit and review engagements for non-public companies and not-for-profit organizations * Assisted in walkthroughs and testing of internal controls * Prepared footnotes and disclosures of the auditor's report
  • Salvation Army
    Volunteer Piano Instructor, 2008 - 2009
    * Directed piano class of 15 students per class * Designed and developed curriculum * Assisted in organizing student's activities
  • RealManage LLC
    Intern, 2007 - 2007
    * Billed Accounts Payable / Accounts Receivable using in-house accounting system * Researched and analyzed prospective leads for housing and homeowners associations * Generated and composed contracts for homeowners association
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Richardson, Texas
Previously
Manila, Philippines - Rancho Santa Margarita, California
Story
Tagline
IT Auditing, Internal Auditing, Accounting
Bragging rights
CR-48 test pilot.
Education
  • University of Texas at Dallas
    MBA & MS Accounting, 2011 - 2013
    * Passed CIA Exam * Passed CISA Exam * Sitting for CPA Exam in Summer 2013
  • University of Texas at Dallas
    BS Accounting, 2009 - 2011
Basic Information
Gender
Male
Looking for
Friends, Networking
Relationship
Single
Other names
oddrationale, Odd-rationale
Dariel Dato-on's +1's are the things they like, agree with, or want to recommend.
Secure Shell
chrome.google.com

Terminal emulator and SSH client.

Google Chrome
plus.google.com

Moving the web forward

Google Plus Nick
gplus.to

Make short url for google+ profile.

Google Talk
chrome.google.com

Use the Google Talk extension to chat with friends on your Chromebook.

Ubuntu
plus.google.com

Linux for Human Beings

republic wireless - The Mobile Network that Runs on Freedom
www.republicwireless.com

Unlimited wireless voice, text, and data service for only $19-month with no contract. Join the republic wireless freedom movement that retur

StayFocusd - Chrome Web Store
chrome.google.com

Installing... Processing... Checking purchase status... Cancelling... Description !!!!!!!!!!--- THINK BEFORE YOU POST ---!!!!!!!!!! If you f

Strict Pomodoro - Chrome Web Store
chrome.google.com

Enforces the Pomodoro time management technique by blocking distracting sites

OMG! Ubuntu!
plus.google.com

We're the fastest growing and most popular open source site on the Internet.

Ziptastic
daspecster.github.com

Ziptastic! Ziptastic is a simple API that allows people to ask which Country,State and City are associated with a Zip Code. The purpose for

xkcd: Ten Thousand
xkcd.com

XKCD updates every Monday, Wednesday, and Friday. You can get prints, posters, and t-shirts in the store. Ten Thousand. |&lt; · &lt; Prev ·

Hangouts can turn broadcasts into a two-way medium
gigaom.com

Indie singer Daria Musk explored the boundaries of Goole+ Hangouts this weekend when she played a six-hour live concert on Google's new vide

Our Favorite Single-Purpose Web Sites That Do Exactly What They Say They Do
feeds.gawker.com

You kids these days have the most convoluted web site names. Facebook? Twitter? eBay? I'm sorry, but I like my coffee black and my web sites

How to Max Out Your Dropbox Referrals with Google AdWords for Free
feeds.gawker.com

Last week, we mentioned that Vladik Rikhter used Google AdWords to max out his Dropbox account with all the space he could get from referral

A Stop Motion Video Made With a Quarter Million Jelly Beans
feeds.gawker.com

Kina Grannis' In Your Arms videoclip was animated using 288,000 jelly beans. The effect is great, but the behind-the-scenes how-to video rea

Yield Thought, I swapped my MacBook for an iPad+Linode
yieldthought.com

I swapped my MacBook for an iPad+Linode On September 19th, I said goodbye to my trusty MacBook Pro and started developing exclusively on an

keybr.com - Take typing speed test and practice typing online
www.keybr.com

Amazing free online typing tutor will help you to learn speed typing faster then ever

Information Security and Risk Management in Context
www.coursera.org

Information Security and Risk Management in Context is a free online class taught by Barbara Endicott-Popovsky of University of Washington

Frankie's is one of our family's favorite restaurants. The food here is very different than traditional Tex-Mex food and taste very authentic! The brisket enchiladas and Angie's special are two of my favorite dishes. The service is excellent.
Food: ExcellentDecor: ExcellentService: Excellent
Public - a year ago
reviewed a year ago
Quality: ExcellentAppeal: ExcellentService: Very good
Public - a year ago
reviewed a year ago
3 reviews
Map
Map
Map
One of my favorite Italian restaurant
Food: ExcellentDecor: ExcellentService: Excellent
Public - 2 years ago
reviewed 2 years ago