mikekellyio
mikekellyio
Mike Kelly I/O
14 posts
Let's see, I probably should introduce myself. I'm Mike. How are you? I live in the shadow of Washington DC, in Ashburn, Va with my lovely wife, a confident fearless glax playing tween, a smiley hockey playing, lax goalieing little man, a bright eyed strong-willed knows what she wants little girl, and a couple dogs. I've lived in Northern Virginia pretty much my whole life. During the week, I'm busy coding websites using Ruby on Rails and HTML5/Javascript. On the weekends, I'm shooting portraits/weddings and spending time with my family.
Don't wanna be here? Send us removal request.
mikekellyio · 7 years ago
Text
Using Sass? hide your generated CSS from view in VS Code
If you’re working with SCSS and want to hide the generated CSS, go to Preferences, Settings, then Open settings.json, and add the following:
"files.exclude": { "**/*.css": { "when": "$(basename).scss" } }
Voila! Generated code disapears from the Explorer. The same trick can be used for any other file type.
(H/T to @aerotwist for pointing out the capability!)
1 note · View note
mikekellyio · 7 years ago
Link
The docs say that portable mode on Linux or Windows is only supported via the zip installation, but as of at least 2018 July release it is possible to migrate settings to the packaged version as well. 
The trick is to use the paths found in this section. 
Copy the user-data found at the below paths, to the corresponding directory on the target OS. 
Windows %APPDATA%\Code
macOS $HOME/Library/Application Support/Code
Linux $HOME/.config/Code
Then, copy the extensions found at the below paths, to the corresponding directory on the target OS. 
Windows %USERPROFILE%\.vscode\extensions
macOS ~/.vscode/extensions
Linux ~/.vscode/extensions
Restart VS Code, and voila, all your settings and extensions from your other computer have been migrated.
0 notes
mikekellyio · 11 years ago
Text
Find an open server port in Ruby
My cucumber tests using capybara were getting fails because the server spun up for javascript was conflicting with the servers spun by other devs on my team.
Solution?
1 note · View note
mikekellyio · 11 years ago
Link
pure CSS loading animations with minimal effort! simply manipulate class names on existing elements.
0 notes
mikekellyio · 11 years ago
Link
Cucumber and Capybara-Webkit automatic screenshots on failure - Gist is a simple way to share snippets of text and code with others.
0 notes
mikekellyio · 12 years ago
Text
Rails counter_cache: prime the pump!
I was working on some performance tweaks for a view that was spitting out a lot of counts of related records. I decided to try out using a counter_cache to help speed up things.
I set up all of the above and then wondered why my view was still slow. The answer was I needed to prime the pump:
0 notes
mikekellyio · 12 years ago
Link
I love to collaborate on design because it often pushes me to try new things. Recently, I was given a design comp something like this: a rounded compound shape serving as a fixed header, with a textured inset that had an inner shadow all around (a "well"). Well, I thought, how hard could this be?
woa. cool.
0 notes
mikekellyio · 12 years ago
Link
Neat solution to vertical centering items within blocks
0 notes
mikekellyio · 12 years ago
Text
Gravity was absolutely beautiful. 1st 3d movie I've seen where the 3d enhances and supplements story.
— Mike Kelly (@mikekellyio) October 15, 2013
So in summary, go see Gravity now in theaters in 3D while you can. The photography is gorgeous, the sound production perfect, the story great.
0 notes
mikekellyio · 12 years ago
Link
Keep your timestamps up to speed.
Uptodate automatically updates the timestamps on your webpage to reflect their age over time.
When your users hang out on the same page for a while, they will no longer be exposed to outdated timestamps.
#js
0 notes
mikekellyio · 12 years ago
Link
A interactive Git visualization tool to educate and challenge!
0 notes
mikekellyio · 12 years ago
Link
Learn how I created a Street Fighter clone with HTML, CSS, and JavaScript!
0 notes
mikekellyio · 12 years ago
Link
Want an original shuffled paper effect? Try Craig's CSS3 code on your website before everyone does it!
Love this effect.
0 notes
mikekellyio · 12 years ago
Link
From a customer and marketing perspective we wanted to introduce all the changes together, but as an engineering team we were wary about introducing so much change in one big release. We wanted to find a way that we could incrementally release the changes as we built them without affecting our customer experience. If we could selectively turn the new design on and off, this would allow us to give early access to our customers so they could provide feedback on the design while using it with their own data.
Cool technique for beta testing redesigns on production.
0 notes