Posts

How Does Font-Awesome Work?

Image
    So I asked myself one day how does this cool library work and how can I start making my own vector scaled icons? They are many reasons why I might want to create my style of font-awesome and understanding what going on behind the scenes. Rather than just use some png files into a sprite they can be embed icons in the style sheet. Font-awesome kind of hides the icons in the stylesheet with before and after content.       Without going too deep into the rabbit hole, and to somewhat answer this question in my own words. I would say that font-awesome which is being built with Adobe using vector scaled icons that have transparent grey scale in order for customizable color schemes and references them in the css with the "content" style. Not familiar with the syntax being used but the css uses some kind of path points to the icon's location. Example of that is  "\f132"   which output a shield icon. The file  path.less  probably explains ...

Google Analytics for Multiple Environments (Dev/QA/Prod)

Image
    Let's cut to the chase, I was looking for a way to use a single account with a single property  and have multiple views. I thought this was very possible would be easy to manage data that way but I wasn't sure how. After playing around a little with the interface I figured it out. None of the resources directly helped but were really good insight. What I also figured out was that you can use a single line of code to do this, so no need to change the javascript in each environment. This is great because I don't need to alter the javascript snippet to point to the difference environments. Google Analytics Filters     You will need these order to separate the data between different views, use the filter on your views not the property. Under Admin, select your view and then Filters.  For all the filters (Dev,QA, Prod) I did a  Predefined, Included only, traffic to the hostname and that contains.   I've seen in some environments where dev ...

Installing Android Studio Beta 0.8.14 exe

Image
    This wee k I installed android studio however but I didn't want manually install it and to use the zip file. So looked for the appropriate exe file (if there was any). In the recent  notes there is explanation on why the zip version pointed the download link. I installed v.0.8.14 but I pretty sure I wasn't paying attention because there is later versions available. Infact the release  Candidate 4  was updated just yesterday but v0.8.14 is what's currently listed on the downloads .  Notes (v.0.8.14)  after my install for android studio, prompted to startup the application but got that jvm missing error. When I ran the application myself and it worked fine. Also the icon is different for the program in the taskbar from the zip to the exe file. After running both the zip and the exe files, both made a configuration in the user's folder but only one of them was called beta.  After pinning the program to the taskbar, the program dup...

Android Studio 'tools.jar' file is not present in classpath

Image
     I move around from machine to machine a lot and this is an issue hidden in another form. The error doesn't really help but it is clear something is missing. Two things that I was missing was the correct file path to my sdk and didn't the JRE included/installed. Things to make sure you always do install the JDK  and  JRE install the version you want 64 or 32 bit sometimes I install both just to be safe but I don't like to do that. create the environment path JAVA_HOME sometimes the installer doesn't create this... path (64 bit) should be something like..   C:\Program Files\Java\jdk1.8.0_25      Right click on the window icon in the right and go to systems (advanced settings). Notes https://www.java.com/en/ - Does not include the JRE. http://www.oracle.com/technetwork/java/javase/downloads/index.html Resources ide - Android Studio 'tools.jar' file is not present in classpath - Stack Overflow  - Linux ...

Unity: Notes for My Next Game V

Image
    So I broke  one of my own rules, which was staying on task. With a lot of my notes being scattered all over the place the last few weeks it has been difficult to keep track of things. I have accomplish a lot, but I think I will go back to publishing my notes to better focus on my deadline.  I could have written the notes and just not publish them but I think it would be a waste of time,  especially  since I was already using a issue tracker. Publish these article forces my hand to show what I've got (which may not look like much for this article but I'll let you be the judge).  Notes:     I wanted to start getting my game in a playable state and since a lot of the small things bugged me. I just had to get them working right. I started worked on the things that just make it difficult to control my player but I did spend too much time on the player's character model. Controls on Android are not helpful with PC controls . Pc to ...

LPI Certification Material

    At one time I really wanted to take the  LPI certification  but I feel my experience speaks for itself. However I do want to cover the material and refresh myself on some of the stuff that I don't use on a regular basis. I bolded the commands I use the least and reworded the description a little more to my liking. Most of the information is just examples I found and stuff I think would be covered. Commands declare - Use the declare command to set variable and functions attributes. quota - displays users' disk usage and limits. By default only the user quotas are printed. date  - display or set the time. rpm - package manager. (I prefer debian) xvidtune - tweaks the screen resolution. nl - prints line numbers before each line in a file. od  - dumps files in octal format. su - option m is pretty useful, do not reset environment variables. mkfs - “used to build a Linux file system on a device, usually a hard disk partiti...

AngularJS: Facets in a Search Grid

    Sometime back I really needed this code however it came a little too late and unfortunately didn't make it into the final product. However I have since then built a complete explain showing how to hand facets with little javascript code and with a whole lot of functionality! Requirements Load appropriate facets, make a search. Update the UI, reload page if necessary but scale up for a single page application. Make things bookmarkable but don't lose that awesomeness from SPA's. Example http://jsfiddle.net/t7kr8/211/  - I forget where I found this but its probably buried somewhere in my resources. My Example https://fassetar.github.io/blog-examples/catalog-facets/ Javascript code var myApp = angular.module('myApp', []); myApp.controller('mainController', function($scope) { $scope.items = [{ item:"apples", flag: true }, { item:"oranges", flag: true }, { it...

Popular posts from this blog

Aspetcore: NLog with Postgresql

Mongodb Cheatsheet

Installing Windows on Acer chromebook 15 cb3-532