Skip to main content

Posts

Soba noodles

Anchovy stock Kelp (dried seaweed) Anchovy water    boil it for 4 min + dried bonita + soy sauce refined rice wine ratio 3:2 + sugar + ice cubes  Tempura shrimp INGREDIENTS: Tempura Batter Ingredients: 1 cup (150g) all purpose flour 1/4 tsp baking soda 1 cup (236ml) cold carbonated water 2-4 ice cubes 1 egg INSTRUCTIONS: Method:  In a medium sized bowl, crack one whole egg and whisk until broken up and homogenized. While whisking, stream in 1 cup of cold carbonated water. Drop in 3-4 ice cubes to keep the batter cold. In a separate bowl, add a ¼ teaspoon of baking soda and 1 cup of all-purpose flour. Give a nice mix until everything is evenly incorporated.   Sift your flour mixture directly into your egg mixture. Using chopsticks, mix until it JUST starts to come together. To make you’re shrimp straight, make tiny scores along the length of the underbelly. Make sure to not go too deep. Repeat this on the other side. Lightly squeeze and gently pull it apart to ha...

Mushroom Soup

 Garlic shallot coarsely chopped 3Tbsp olive oil 1 lb mixed mushroom cut into bite-size pieces 1 oz parmesan finely grated about 1 cup 2/3 cup semi-pearled farro 3 tbsp soy sauce 4 celery stalks 1 tbsp lemon juice Dutch oven medium heat garlic and 3Tbsp olive oil about 1 min shallot + mushroom, salt + pepper stir occasionally until mushrooms are browned 10-15 mins Add 1oz(1cup) Parmesan rind, 2/3 cup farro, 3tbsp soy sauce + 6 cups water to pot Scrape up any browned bits stuck to the bottom, season with salt and pepper bring to a boil over medium-high Reduce heat and simmer until farro is al dente 15-20 mins Add sliced celery to pot and simmer until slightly softened and bright green about 3 mins Remove pot from heat; add 1tbsp lemon juice Taste and season with salt and/or more soy sauce if needed Divide soup among bowls and top with finely grated parmesan and celery leaves. Season with more pepper and drizzle with oil  Serve with bread alongside

Roasted Cod with Coconut Sauce

Cooking: preheat oven to 325 F drizzle oil over fish, season with salt -> 20 mins (flesh flakes when top is pressed with a spoon) 1 chile + 13.5 oz coconut milk + 1 tbsp honey + 2 tbsp mustartd + 1 tsp turmeric + salt bring to a simmer over medium heat. Cook whisking occasionally until sauce is reduced by a third and thickly coats a spoon 15 mins + asparagus cook until tender about 3 mins Remove from heat + 1/2 cup tomatoes and 2tsp lime juice season with more salt if needed slip roast fish into sauce and top with cilantro, serve with rice and lots of lime wedges

Automate "Loop Mount" Installation Disk on Linux

 Today I encounter an interesting task about system administration: Configure your system to automatically loop-mount the ISO of the installation disk on the directory /repo. Configure your system to remove this loop-mounted ISO as the only repository that is used for installation. Do not register your system with subscription-manager, and remove all reference to external repositories that may already exist. This is a common issue when you set up the VM: After you finish installing Linux, you want to boot the Linux normally, rather than running into the installation disk again. So when you install Linux, you attach the iso image. Later detach the iso so that Linux can boot normally. This could be easily done from virtualization software such as VirtualBox, VMWare Workstation, thanks to their user-friendly UI. However, this task asks you to do it through automation. In system admin books, this is barely mentioned. But it's still worth digging: in the scenario where you're settin...

Case Study: AWS Infrastructure Design for Web Application

In this article, you'll learn the basic components to spin up a web application in AWS. The first step is to draw an architecture graph. It's important to communicate the design with team members.  LucidChart is a great free tool to do this.  https://www.lucidchart.com/  They have libraries to support the AWS components. Please refer to the graph below. Click to zoom in for details Work in progress :)

AWS in Action - Deploy Static Website

Work in progress :) Two main components are: 1. S3 service It offers static web hosting. If your website doesn't need back-end processing, S3 is your place to go. It's cheap because you don't pay for computing resources but only pay for storage resources. 2. CloudFront CDN service for caching Dependencies Cloud Services Amazon Web Services S3 - Resource hosting and deployments AWS CloudFront - CDN for SPA AWS EKS - Backend API AWS DynamoDB - Persistent Datastore AWS Cognito - User Authentication Performance Tracking and DevOps Tools: AWS CloudWatch - Performance and Health checks Sentry - Bug Reporting Alternates: TBD Google Analytics - Usage Reporting Alternates: Mixpanel Travis (CI/CD) Frameworks: Ionic (Javascript) (Frontend) Node.js (Javascript) (Backend)

AWS services in a nutshell

AWS is a very powerful platform for your enterprise application. Do you wonder how to navigate through it? I've learned a wide range of topics and I just made it simple for you. Let's dive in. Fundamentals EC2: your physical server on the cloud. EBS : your physical hard drive attached to EC2. VPC : your private network in the cloud. A VPC spans all availability zones in a region. Lambda : Execution tool triggered by the event, the "compute power". Elastic Beanstalk : an orchestration service to deploy a web application in one click. Storage & Content delivery S3 : Storage/File system for objects. S3 Glacier : Cheaper storage solution for infrequently accessed files, e.g. log file. DynamoDB : NoSQL DB with flexibility and scalability. RDS : Relational DB management. Redshift : Data warehouse for Big data, usually stores historical data. e.g. Redshift stores orders in the last 10 years. RDS stores orders within 1 year. It leverages machine learning to...