$ openssl x509 -in cert.pem -noout -text | more
#!/bin/bash | |
# https://gist.github.com/ryankurte/bc0d8cff6e73a6bb1950 | |
set -e | |
if [ "$#" -ne 3 ] && [ "$#" -ne 4 ]; then | |
echo "Usage: $0 CA NAME ORG" | |
echo "CA - name of fake CA" | |
echo "NAME - name of fake client" | |
echo "ORG - organisation for both" |
#!/bin/bash | |
killall Xcode | |
xcrun -k | |
xcodebuild -alltargets clean | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" | |
rm -rf ~/Library/Developer/Xcode/DerivedData/* | |
rm -rf ~/Library/Caches/com.apple.dt.Xcode/* | |
open /Applications/Xcode.app |
#!/bin/bash | |
## Fix OneDrive for Mac CPU usage | |
## | |
## Seems this is still a problem 5 years later after I created this little gist. | |
## I have long since stopped using OneDrive (luckily), but according to | |
## comments below, I have added the new path for OfficeFileCache for macOS | |
## Mojave (10.14) and Catalina (10.15). | |
## Run this on macOS Mojave (10.14) and Catalina (10.15) | |
find ~/Library/Containers/ -type d -name OfficeFileCache -exec rm -r {} + |
Recently, we've been working on extracting Ember conventions from applications we're working on into the framework. Our goal is to make it clearer how the parts of an Ember application work together, and how to organize and bootstrap your objects.
Routing is an important part of web applications. It allows your users to share the URL they see in their browser, and have the same things appear when their friends click on the link.
The Ember.js ecosystem has several great solutions for routing. But, since it is such an important part of most web applications, we've decided to build it right into the framework.
If you have already modeled your application state using Ember.StateManager
, there are a few changes you'll need to make to enable routing. Once you've made those changes, you'll notice the browser's address bar spring to life as you start using your app—just by moving between states, Ember.js will update the URL automatically.
aws:autoscaling:asg Availability Zones | |
aws:autoscaling:asg Cooldown | |
aws:autoscaling:asg Custom Availability Zones | |
aws:autoscaling:asg MaxSize | |
aws:autoscaling:asg MinSize | |
aws:autoscaling:launchconfiguration EC2KeyName | |
aws:autoscaling:launchconfiguration ImageId | |
aws:autoscaling:launchconfiguration InstanceType | |
aws:autoscaling:launchconfiguration MonitoringInterval | |
aws:autoscaling:launchconfiguration SecurityGroups |