Skip to main content

Posts

Rib eye with shrimp paste

 6tbsp veg oil 1 1/4 lb bone in rib eye (1 1/2" thick) yu choy or bok choy halved lenghtwise if large 2 scallions, cut into 1'' pieces 2 garlic cloves, crushed 1 lemongrass stalk, tough outer layer removed, chopped 3'' piece ginger sliced 1/2 cup shrimp paste or crab paste 1. meidum high heat, oil grill grate + large cast-iron skillet on grill steak + salt + pepper, + 1tbsp oil rub to coat 2. bok choy in large bowl, drizzle 1tbsp oil over and season with salt. toss 3. grill steak on grate until deeply browned, 2 min per side 4. heat 4tbsp oil in skillet, cook scallions, garlic, lemongrass, giner, stir, until fragrant and starting to brown, about 1 min. Stir in shrimp paste 5. when shrimp mixture is bubbling, transfer steak to skillet. Cook. Turn every few mins, until medium rare, thickest part 125 degree. about 7 mins transfer steak to cutting borad, let rest 10 mins, set skillet with sauce aside 6. Grill boy choy, turning occas. until wilted and charred in spots, ...

Seafood Boil

  2tbsp veg oil 1 3'' piece ginger finely grated 2 garlic cloves, finely grated 1/4 cup yello miso 2tbsp rice vinegar 2tbsp mirin 3tbsp soy sauce 1/2 tsp kosher salt 4tbsp butter 2tsp old bay seasoning or shichimi 3 baby sweet potatoes 1 lb mussles 2 ears of corn, quartered crosswise 4 scallions, separate, dark green, white and pale green, finely chopped 8oz green beans, trimmed 1 lb shell-on extra large shrimp lime wedges 1/  heat veg oil in medium heat + ginger and garlic, stir often, until slightly golden, 1 min quickly whisk in miso, gradually + vinegar, mirin, soy sauce, salt and 3 cups water, whisk until no lumps remain. Increase heat if needed to maintain a simmer whisk in butter, 2tsp shichimi/old bay seasoning. As soon as butter metled, reduce heat as needed to maintain a simmer 2/ + sweet potatoes, cover pot, cook unitl potatoes are just tender, 8-10mins using a slotted spoon, transfer sweet potatoes to a large platter 3/ + mussels, cover, cook utnil opened, 1-2 minu...

Daikon And Grilled Chicken

  1. Cut radishes into quarters if smaller or into ½" pieces if larger + salt, pepper + 6 sliced scallions 2/ 2 Tbsp white wine vinegar + 1 Tbsp. prepared horseradish + 2 tsp. Dijon mustard 1/4 cup extra-virgin olive oil put half of the vinaigrette into the radish mixture 3/ 2 boneless chicken breasts, pound out to about 1/4'' thick. + salt and pepper on both sides 3 Tbsp. extra-virgin olive oil in skillet medium-high heat press down chicken firmly for good contact, 5 mins undisturbed, golden brown on one side turn over, 2 mins on the other side 4/ transfer chicken breast to vinaigrette, let sit 5 minutes Transfer to a clean cutting board cut crosswise into 4 or 5 pieces + radish salad

Sukiyaki

照烧汁 6tbsp 味淋 3tbsp 酱油 1tbsp 砂糖 1tbsp 水 100cc

Chicken with Peas

  Preheat oven to 425F pat 4 (3lb) skin-on bone-in chicken breast dry; rub with 2tsp salt + pepper stir shallot, 1tbsp lemon juice in a small bowl + salt + pepper pat chicken dry; rub with oil 4tbsp place chicken in the preheated skillet and roast; turn skin side up halfway through until instant-read thermometer inserted into the thickest park registers 150F 20-25 mins transfer chicken to cutting board, let rest (temperature will rise as meat sits) place skillet on the stovetop over medium heat + 4 cups 1/4''-1/2'' torn bread + salt + pepper Toast stirring often and scrape up browned bits until golden, about 4 mins + more oil if the pan looks dry Using a slotted spoon transfer croutons to a plate + 2tbsp butter + 3 anchovies fillets to the same skillet, cook, breaking up anchovies with a spoon until butter is melted + 2 cup peas + 1/2 tsp salt + 2tbsp water + pepper cook, stirring occasionally until peas are bright green and warmed through, about 4 mins. Cut chicken mea...

Tuna salad

 3tbsp oil medium-high heat in a large skillet + chickpeas toss occasionally, 6-8 mins until crisp and golden brown + salt, let cool whisk shallot, 2tbsp mayonnaise, 1tbsp Dijon mustard, 1tbsp red wine vinegar + salt, pepper + tuna, breaking up with a fork + chickpeas + endive + parsley + 2tbsp pickled chiles + lemon zest + lemon juice + 2 tbsp oil

Swiss Chard Chicken

preheat oven to 350F Toast 3tbsp skin on almonds, tossing once, 6-8 mins until slightly darkened. Let cool, chop 1.25lb chicken thigh + salt press chicken 2 bunches swiss chard -> remove ribs and stems -> tear leaves into 3'' pieces cut thicker ends of the stem on diagonal 1'' pieces vinaigrette: 1 shallot sliced + 1tsp lemon zest + 2tbsp lemon juice + 1tbsp white wine vinegar + 1/2 tsp crushed cumin seeds salt skillet 1tbsp oil medium hih chick thigh 5 mins unitl golden brown underneath  turn 5 mins unitl golden brown on the other side transfer to cutting board; reserve the pan juice rest 5 mins, cut into 1'' pieces pan juice + 4tbsp oil + vinaigrette boiling water + salted generously + swiss chard stems 2 mins until slightly tender vinaigrette + stems, toss well swiss chard leaves 15-30sec  until just wilted and bright green let cool, sqeeze out the liquid vinaigrette + leaves +  6 medjool dates,pitted and chopped, olives, chicken toss serve drizzle with...

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...

Managing software packages with yum on RHEL 8

1. Register Red Hat Enterprise server for support To gain tech support and full access to the repositories on Red Hat Network(RHN), you will register your server under your Red Hat account. One Red Hat account can associate with multiple servers, depending on the number of licenses you have. Your server will need the entitlement/subscription to access the software repositories on RHN. You can subscribe from either purchasing a subscription for RHEL, or Red Hat Developer program and its subscription Reference:  https://developers.redhat.com/articles/getting-red-hat-developer-subscription-what-rhel-users-need-know/ The subscription-manager tool is used to manage the subscription, the common usage includes: Register the server with Red Hat account: subscription-manager register List available subscription subscription-manager list --available Attach a subscription to the server subscription-manager attach --auto This will attach all the subscriptio...

Configuring Network on RHEL 8

1. Validate Network Configuration 2. Configure Network Networking is managed by a service called NetworkManager. It reads the network card configuration scripts located at /etc/sysconfig/network-scripts.  Each network card can have one or many connections. The commands to configure network are nmtui and nmcli . Another way is a GUI tool called nm-connection-editor . nmtui is text based UI with limited options. nmcli has rich features and you don't need to memorize. Here are nice ways to check it out. man -1 nm-settings  : to check user command man -5 nm-settings  : to check file formats and conventions man nmcil-examples : to find examples Example: nmcli con show|add|mod|up... nmcli dev show... 3. Set up Hostname and Name Resolution To view or change the hostname, a few options are: Use nmtui Use hostnamectl hostnamectl status hostnamectl set-hostname Edit /etc/hostname To set hostname resolution, you can use DNS and edit /etc/hosts....

Manage Advance Permission

1. SUID A user would write to the /etc/shadow file to change password, but he doesn't have root permission to do it. [root@hnl ~]# ls -l /etc/shadow ----------. 1 root root 1184 Apr 30 16:54 /etc/shadow SUID solves the problem by giving temporary root permission to the user. [root@hnl ~]# ls -l /usr/bin/passwd -rwsr-xr-x. 1 root root 32680 Jan 28 2010 /usr/bin/passwd      ---> use s to replace user execute permissions 2. SGID Both Linda and Lori work at the accounting group. When Linda creates a file, the file's group ownership is her primary group: Linda. Lori cannot access this file. SGID is used to make the directory tree (i.e. files and subdirectories)shared among the accounting group. Both users have accounting as their secondary group. Linda's file is shared with Lori with the help of SGID. [root@hnl data]# ls -ld account drwxr-sr-x. 2 root account 4096 Apr 30 21:28 account       ---> use s to replace gro...