Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Laeyoung Laeyoung

:octocat:
  • Common Computer, Inc.
  • Seoul
View GitHub Profile
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@Laeyoung
Laeyoung / tf-resnet-openapi.json
Last active Oct 1, 2019
tf-resnet OpenAPI 3.0 Spec
View tf-resnet-openapi.json
{
"openapi": "3.0.0",
"info": {
"title": "TensorFlow Resnet API by Ainize",
"version": "0.1.1"
},
"servers": [
{
"url": "http://34.85.117.64:8501/v1/models"
}
@Laeyoung
Laeyoung / uitextfieldwithpadding
Last active Jul 20, 2018 — forked from lawreyios/uitextfieldwithpadding
Add padding to UITextField - Swift 3.0
View uitextfieldwithpadding
class CustomSearchTextField: UITextField {
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}
override func textRect(forBounds bounds: CGRect) -> CGRect {
return UIEdgeInsetsInsetRect(bounds, UIEdgeInsetsMake(0, 15, 0, 15))
}
override func editingRect(forBounds bounds: CGRect) -> CGRect {
@Laeyoung
Laeyoung / alleys
Last active Jan 5, 2016
Alleys Player Sample URL
View alleys
[Sample](http://alleys.co/player?id=Rv8CaJQ3WI8)