Hello, happy campers!
I had an instance that I could no longer find it's PEM file, so I totally freaked out and curled in a fetal position and started sobbing but then the Oracle helped me.
This post here did the trick: http://blog.celingest.com/en/2013/11/14/replace-lost-keypair-ec2-instance/
I just had to do one little change because the instance to be jacked wasn't using a EC2-USER but a ROOT user, so on this step:
cat
/home/ec2-user/
.
ssh
/authorized_keys
>
/mnt/recovery/home/ec2-user/
.
ssh
/authorized_keys
I had to change it a bit, to this:
cat
/home/ec2-user/
.
ssh
/authorized_keys
>
/mnt/recovery/root/
.
ssh
/authorized_keys
And Yippie kay-yay!
Cheers.
Hello,
So today I'll post about a 1 hour hell I went through trying to handle the "SF UI Display" as a font for a new app I'm working on.
This is a pure Swift project, so as this is my first time messing around it I obviously thought it was some kind of idiodicy of my part, so, as a good boy scout that I am tried:
- Converting the OTF to a TTF
- Redownloading the OTF and converting it again (never know when you could actually corrupt a file)
- Use the OTF (I normally use TTF, if I'm not mistaken TTF was the only supported font type on Cocos2D 1.X, so it kind of became a standard for me too as I started with Cocos - you can get a look on some of my
awesome Cocos2D projects, such as Hungry Frog or OldSchool Brix)
- Thought that I had dome some nasty shit on the Extension Class I coded (that I was totally hyped about because of the OptionSetType that I've build)
- Prayed to Jesus and asked for a Code-Miracle
So a few minutes after option 5 I had the brilliant idea! I just raged on my designer partner and he asked me a few questions and after that I put my poor excuse for a brain to work again. Went to iosfonts.com and check out if it was actually a system font and it wasn't.
But right at that moment my designer suggest to drop it and use Helvetica Neue so I when searched the font on the site and it was like: "HelveticaNeue-'Specific_Type'". So that light bulb just shined on top of my head and I took a shot and it worked.
"SFUIDisplay-'Specific_Type'".
So whats the what's the shitter here? Normally, for custom fonts we see it's name one the Font Book and go with it. So that's that. I've been betrayed by the Font Book.
Wrong: UIFont(name: "SF UI Display Bold", size: size)!
Corrent: UIFont(name: "SFUIDisplay-Bold", size: size)!
Cheers
Just jump this post. HAHA!
I'm posting this so I won't ever forget again what is the compatible degree in the U.S.
This was kind of a headache. Compatibility between the types of formation and all that.
This is officially my degree: BSc CIS
Thank you Wikipedia!
Hello, Ladies and Gents!
How's it been rolling? It's been some time and I really saw the necessity do register this.
So there I was downloading a FLAC file and all of a sudden it just hit me: "How the hell am I gonna listed to this if iTunes doesn't do this type of file".
So I went out on a hunt. Found a few options. Ones were good but pay-for-use-with-rediculous-30-secound-trial, other just converter the bloody file all in one. So I needed a converter that would handle my shit (convert and separate) and that's when I came across this bad boy here:
Media Human Audio Converter: http://www.mediahuman.com/audio-converter/
It doesn't inspire with it's name but it does it brilliantly. So if you're in look for something light-weighted, powerful and easy to use this is the one you should you.
Cheers!
Hey,
Get a reference here.
This dude teaches how to "bring back" the "Empty Project" template that we have in Xcode 5 and that for some stupid reason Apple preferred to focus on Storyboards.
Here it goes:
http://codefromabove.com/2014/09/xcode-6-removing-storyboards-and-creating-useful-empty-projects/
Cheers!
Hey,
Quick note.
I'm not a web developer, but often I need to manipulate something that the source comes from the web. So today I needed to get a lista of names, but they came full of HTML mambo jumbo and I was like: "OMFG! How am I gonna get this done".
So after a quick Google search this dude, Art Upton, just gave it all the steps I needed:
1. Put you file to be stripped
2. Command+F
3. Selecte the "grep" tick box
4. Put this magical function on the "Find" field: </?[^>]*>
5. Press "Replace All"
6. BOOM! Magic.
Get a look on the source of the magic: http://bcdwp.web.tamhsc.edu/webmaster/2011/08/12/how-to-strip-html-code-using-grep-in-text-wrangler/