æœ¬ç‰©ã®éŸ“å›½ã®ç„¼è‚‰ – Real Korean BBQ
ç„¼è‚‰ã¯ç¾Žå‘³ã—ãã¦ä½“ã«ã„ã„ã‹ã‚‰ã€å¤§å¥½ãã€‚é‡Žèœæ‘ã¨è¨€ã†ãƒ¬ã‚¹ãƒˆãƒ©ãƒ³ã¯æœ¬ç‰©ã®éŸ“å›½ã®ç„¼è‚‰ã®ãƒ¬ã‚¹ãƒˆãƒ©ãƒ³ã ã€‚ãƒ†ãƒ¼ãƒ–ãƒ«ã®çœŸã‚“ä¸ã«ã€è‚‰ãŒç„¼ã„ã¦ã„ã‚‹ã€‚æ¬¡ã«ã€è‚‰ã‚„å‘³å™Œã‚„ã‚ãƒ ãƒã‚„ãƒ¢ãƒ¤ã‚·ã‚’ãƒ¬ã‚¿ã‚¹ã«å…¥ã‚Œã¦ã€å·»ãã‚’ä½œã‚‹ã€‚è¶…ç¾Žå‘³ã—ã„ãã€‚ã‚¹ãƒ¼ãƒ—ã«é‡Žèœã‚’å…¥ã‚Œã‚‹ã®ã‚‚ãŒå¥½ãã€‚é‡Žèœã®é£Ÿã¹æ”¾é¡ŒãŒã‚ã£ãŸã®ã§ã€ãŸãã•ã‚“ã‚’é£Ÿã¹ãŸã€‚ã¨ã¦ã‚‚æº€è…¹ã ã£ãŸã€‚Google Translate: I like grilled meat because it is delicious and good for the body. The restaurant called vegetable village is a real Korean BBQ restaurant. Meat is burning in the middle of the table. Next, put the meat, miso, kimchi and moyashi in lettuce, and make a roll. It is super delicious. I also like to put vegetables in soup. I had all you could eat vegetables, so I ate a lot. I was very satisfied.
#èµ¤å‚ #Akasaka #ã‚„ã•ã„æ‘ #VegetableVillage #ç„¼è‚‰ #Yakiniku #ç„¼è‚‰ã®ãƒ¬ã‚¹ãƒˆãƒ©ãƒ³ #YakinikuRestaurant #æ—¥æœ¬èªžã®ç·´ç¿’ #JapanesePractice #é£Ÿã¹æ”¾é¡Œ #AllYouCanEat #Healthy #ä½“ã«ã„ã„ #æº€è…¹ #FullStomach
Location:Â ã‚„ã•ã„æ‘ å¤§åœ°ã€€ã€€é‡Žèœé£Ÿã¹æ”¾é¡Œ
æ—¥å…‰ã®ç¥žç¤¾ã¨ãŠå¯º – Nikko Temples and Shrines
ï¼’ï¼ï¼å¹´é–“ã€å¾³å·ã¨è¨€ã†å®¶æ—ã¯æ—¥æœ¬ã®æ”¯é…è€…ã ã£ãŸã€‚å½¼ãŸã¡ã¯æ—¥å…‰ã¨è¨€ã†ç”ºã§ãŸãã•ã‚“ç¥žç¤¾ã¨ãŠå¯ºã‚’ä½œã£ãŸã€‚ã“ã®ãŠå¯ºã¯ï¼‘ï¼–ï¼•ï¼“å¹´ã§ä½œã£ã¦ã€å¾³å·å®¶å…‰ã•ã‚“ã‚’ç¥€ã‚‹ãŸã‚ã®ç¥žç¤¾ã ã€‚å¾³å·æ™‚ä»£ã«ã€å¾³å·å®¶å…‰ã•ã‚“ã¯ï¼“ç•ªç›®ã®å°†è»ã ã£ãŸã€‚å…¨ã¦ã®å»ºç‰©ã¯ç¾Žã—ãï¼ Google Translate: For 200 years, the family Tokugawa was a ruler of Japan. They made many shrines and temples in the town called Nikko. This temple was made in 1653 and it is a shrine to worship Tokugawa Iemitsu. In the Tokugawa period, Tokugawa Iemitsu was the third general. All the buildings are beautiful! #æ—¥å…‰ #Nikko #æ±ç…§å®® #ToshoguShrine #å¾³å·å°†è» #TokugawaShogun #å¾³å·å®¶å…‰ #TokugawaIemitsu #ç´…è‘‰ #AutumLeaves #æ—¥æœ¬ã®ç§‹ #FallInJapan #🍁 #⛩ #ç¥žç¤¾ #Shrine #ãŠå¯º #Temple
Photo taken at:Â NikkÅ TÅshÅ-gÅ«
ãƒ›ãƒƒãƒˆã‚´ãƒƒã‚°ã¨å¯¿å¸ã®ã‚³ã‚¹ãƒ—ãƒ¬ – Hot dog and sushi halloween costumes
The famous Shinkyo Bridge (“sacred bridge”) in Nikko
It costs 300 yen just to walk across, but I’m happy to support it. The autumn leaves were beautiful. æ—¥å…‰ã«æœ‰åç¥žæ©‹ã¨è¨€ã†æ©‹ãŒã‚ã‚‹ã€‚300å††ã‚’æ‰•ã†ã®ã§ã€ä¹—ã‚Œã‚‹ã€‚ã¡ã‚‡ã£ã¨é«˜ã„ã€ã§ã‚‚æ‰‹ä¼ã†ã®ãŒå¥½ãï¼ç´…è‘‰ã¯ç¾Žã—ã‹ã£ãŸã€‚#AutumLeaves #bridge #ç¥žæ©‹ #ç´…è‘‰ #Nikko #Shinkyou #WorldHeritageSite #æ©‹ #æ—¥å…‰
Photo taken at: æ—¥å…‰äºŒè’å±±ç¥žç¤¾ ç¥žæ©‹
Beautiful new “Shibuya Stream” area just Southeast of Shibuya Station
There is a cafe, a pastry shop, and waterfalls on both sides of the river. #ShibuyaStream #æ¸‹è°· #Shibuya #æ¸‹è°·é§… #ShibuyaStation #æ¸‹è°·å°å· #æ¸‹è°·ã‚¹ãƒˆãƒªãƒ¼ãƒ #ShibuyaStream #ã‚«ãƒ•ã‚§ #cafe #ãƒ‘ãƒ³å±‹ #PastryShop
Photo taken at: æ¸‹è°·ã‚¹ãƒˆãƒªãƒ¼ãƒ
iOS8 simulator – keyboard drawer behavior
Beware: As of iOS8, the on-screen keyboard doesn’t slide outÂ when there’s a hardware keyboard connected.
The iOS Simulator simulates a hardware keyboard by default, so unless you turn off “Connect Hardware Keyboard” you’ll see very different behavior than the majority of your users.
Hardware keyboard enabled:
Hardware keyboard disabled:
Japan travel tips from a first-time gaijin
I’m back from 2 weeks in Japan. Â Here are some tipsÂ that I wish I had known at the beginning of my trip.
- Free WiFi is rare. Airports will have free WiFi. Large train stations will have free WiFi in the hub area but not from the platforms. Â I had problems getting paid WiFi to work from the platforms a fewÂ times.
- Less than half of the hotels we stayed at had free WiFi in the room. Â Some had free WiFi in the lobby though. Â Itâ€™s very difficult to tell when booking a hotel whether “freeÂ WiFi” isÂ in the room or just in the lobby.
- More than half of hotels hadÂ free wired ethernet available in the room. Â Highly recommended that you bring a compact wireless router.
- We rented a Japanese SIM from Advanced Global Communications.Â Despite inquiring several weeks before our trip, they were sold outÂ of WiFi hotspot devices, so we rented a SIM card and tethered. Â You reserve your SIM or device online and either pick it up at the airport or have it shipped to your hotel. Â The package includes a return mail envelope, and you drop it in the mail before you leave the country.
- Had we known that public WiFi is so rare, weâ€™d have rentedÂ one SIM card for each person. Â Several times our group wanted to split up, but it was too painful to find each otherÂ later, so we stuck together.
- Mobile providers advertise â€œunlimitedâ€ data, but you will be massively throttled if you go over 1GB in a 3 day period. Â We were throttled on the 2nd day, and for the remainder of the trip we had 6Mb upstream and 0.01Mb downstream (literally). Â Only Google Maps and Gmail worked at all on that slow of downstream. Â Strangely, because upstream wasnâ€™t throttled, uploading images and even movies to Facebook and Instagram worked well. Â Facebook home feeds or web browsing were unusable though – just timed out after a couple minutes 80% of the time.
- Vending machines, subway tickets, and ramen ticket dispensers takeÂ only cash. Â Save your cash for these things, and pay using a credit card at convenience stores and hotels.
- Every 7-Eleven location has an ATM where you can withdraw money. Â The fees for me (Bank of America) were approximately $5 per transaction + 3% currency conversion fee.
Japan Rail Pass
- AÂ JR Rail Pass costs $445 for 2 weeks. Â It *must* be purchased outside of Japan from a Japanese travel agent. Â They give you a voucher, then you exchange the voucher inside of Japan at the airport train station for your pass.
- The pass is good for the “JR” lines (trains). Â If you’re bouncing around the huge Tokyo area you’ll more often be taking subways, which aren’t JR.
- We traveled aroundÂ Tokyo and from Tokyo to Kyoto via Shinkansen (bullet train, ~$150 each way). Â The pass was slightly worse than break-even. Â If youâ€™re going to stick around Tokyo for your trip, the rail pass is likely not worth it. Â If youâ€™ll be traveling to Kyoto or farther, itâ€™s probably worth it.
Hostels, Hotels, and reservations
- Even the cheapest hostels and hotels are safe and clean. Â Every part of Japan we saw was safe and clean.
- If traveling in a group of 3 or more, a cheap hotel will be roughly the same price as a hostel, and youâ€™ll likely sleep better than in a large room with strangers.
- For a country obsessed with convenience, booking hostels/hotels/services in Japan is a pain. Â Many places donâ€™t have online reservation systems, instead you fill out a web request form and wait for someone to manually email you with an answer forÂ whether they can accommodate you.Â After a few days of being frustrated by these email reservations, we started using HostelWorldÂ and Hotels.comÂ to book.
- Hotels and hostels will fill up on Friday nights and weekends. Â Book a couple days in advance for those nights.
- Many special services like bath houses and river rafting won’t let you book less than 24 hours in advance, so plan your activities 2 days ahead.
- arigatÅ – thank you
- sumimasen – excuse me / pardon me
- konichiwa – hello
- sayonara – goodbye
- daijoubu – Iâ€™m OK (if someone bumps you)
- oishÄ« des – it’s delicious (thank the ramen cook after finishing your bowl)
Marching ants animated selection rectangle in CSS
Marching Ants is a common technique for showing a selection area in an image. The selection border has animated dashes to help distinguish between the selection and the image contents.
This is a CSS technique for a rectangular marching ants that has advantages over other common techniques:
- The contents of the selected area don’t need to be opaque
- Doesn’t require divs several divs for each edge of the animation
The CSS property border-image will do the heavy-lifting for us. Border-image is a strange beast because the name makes it sounds like an alternative to border-style (e.g. solid, dashed, dotted), but it’s really a 9-slice technique that even can fill the padding and content area with an image.
We’ll start with a 10px x 10px animated gif that is composed of nine tiles: 1×1 in the corners, 1×8 or 8×1 on the edges, and 8×8 in the center. The center tile is transparent so that we can let the area behind out element show through.
Our CSS will set border-image and specify that the slice is 1px from the edge and that the image should repeat instead of being stretched.
border-image: image-url('ants.gif') 8 repeat repeat;
-moz-border-image: image-url('ants.gif') 1 repeat repeat;
-webkit-border-image: image-url('ants.gif') 1 repeat repeat;
The result is very close to what you see in Photoshop or other programs. It’s great for creating a cropping UI.
Major caveat: border-image isn’t supported in IE <= 10.
Cross-editor coding style with EditorConfig
EditorConfig is a standard that helps developers define consistent coding styles between different editors and IDEs. Put a file in the root of your project called
.editorconfig, and when someone opens a file in a supported text editor, the editor will adhere to the project’s style rules. There are EditorConfig plugins for pretty much every text editor. I use this plugin for SublimeText.
.editorconfig file in the root of your project:
# editorconfig.org root = true [*] indent_style = space indent_size = 4 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.md] trim_trailing_whitespace = false
You can install EditorConfig for Sublime with Package Control in just a few seconds.