Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block jonnyyu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jonnyyu /
Last active Aug 26, 2019
Create Aurora Serverless in CDK
from typing import Optional, Union
import jsii
from aws_cdk import (
aws_ec2 as ec2,
aws_rds as rds,
aws_kms as kms,
aws_secretsmanager as secretsmanager,
View git_clone_outside_container.txt
This file has been truncated, but you can view the full file.
C:\Data2>git config --global --list
fatal: unable to read config file 'C:/Users/Administrator.ECS-BASE-WIN-20/.gitconfig': No such file or directory
C:\Data2>git config --system --list
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
jonnyyu / save_lock_screen_images.bat
Created Nov 28, 2017
Save Windows Lock Screen Images
View save_lock_screen_images.bat
copy %userprofile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets\*.* %userprofile%\Pictures\Windows_LockScreen
cd /d %userprofile%\Pictures\Windows_LockScreen
ren * *.jpg
jonnyyu / gist:825340ec485cfbf79e4e0b9a369dc9a1
Created Apr 5, 2017
fake a react-packager to avoid launching packager on CI
View gist:825340ec485cfbf79e4e0b9a369dc9a1
require 'webrick'
server = => 8081)
server.mount_proc '/' do |req, res|
res.body = 'packager-status:running'
View gist:19286fcd7be928d2b184
require 'formula'
class Llvm33 < Formula
homepage ''
revision 1
stable do
url ''
sha1 'c6c22d5593419e3cb47cbcf16d967640e5cce133'
jonnyyu /
Created Feb 7, 2014
check app is responding on Mac
// main.c
// AppStatusChecker
// Created by Jonny Yu on 1/23/14.
// Copyright (c) 2014 Jonny Yu. All rights reserved.
#include <CoreServices/CoreServices.h>
#include <ApplicationServices/ApplicationServices.h>
View HelloWorld.cs
using System;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace MSBuildHelloWorldTask
public class HelloWorld : Task
public string FirstName
You can’t perform that action at this time.