MENU

Carruse

sábado, 19 de enero de 2019

思い浮かべ

Elon Musk

lon Reeve Musk (Pretoria, Sudáfrica, 28 de junio de 1971) es un físico, inversor y magnate sudafricano con nacionalidad canadiense y estadounidense. Cofundador de PayPal, Tesla Motors, SpaceX, Hyperloop, SolarCity, The Boring Company y OpenAI. Es director general de SpaceX, de Tesla Motors, presidente de SolarCity y copresidente de OpenAI. En junio de 2017 su fortuna se estimaba en 17,4 mil millones de dólares estadounidenses, lo que le convierte en la 56ª persona más rica del mundo. En diciembre de 2016, Musk fue nombrado como la 21ª persona más poderosa del mundo por la revista Forbes.3


viernes, 18 de enero de 2019

Japanese calendar heisei heiwa ets

Eight disciplines problem solving

Converting TMX into bilingual Excel file without special tools

Not all translators have all of the complex software tools available. Imagine you have a TMX file and you need to extract its contents into a bilingual Excel file. This article describes how to perform this ?data digging? with Microsoft Word and Unicode text editor.

Pre-requisites:

Unicode text editor, such as Notepad 2, PS Pad, or similar
Microsoft Word
Microsoft Excel
Procedure:

Open the TMX file in Unicode editor.
Select all content and copy the same into a new Word file.
Select all text in Word file (Ctrl+A) and set it as hidden (Ctrl+D, select Hidden checkbox).
Press Ctrl-H (Search and Replace) and click the More button.
Select the Use wildcards checkbox.
Enter ?\<seg\>*\</seg\>? (without double quotes) into Find input field.
Click into the ?Replace with? field and leave it empty. Click Format button and then select the Font option. Uncheck the Hidden checkbox). Click Replace All button.
Press Ctrl-H (Search and Replace).
Uncheck the Use wildcards checkbox.
Enter ?<seg>? (without double quotes) into Find input field.
Click the ?Replace with? field and enter ?<seg>?. Click the More button, click Format button and then select the Font option. Check the Hidden checkbox). Click Replace All button.
Press Ctrl-H (Search and Replace). Keep the Use wildcards checkbox unchecked.
Enter ?</seg>? (without double quotes) into Find input field.
Click the ?Replace with? field and enter ?</seg>^p?. Click the More button, click Format button and then select the Font option. Uncheck the Hidden checkbox). Click Replace All button.
Enter ?</seg>? (without double quotes) into Find input field.
Click the ?Replace with? field and enter ?</seg>?. Click the More button, click Format button and then select the Font option. Check the Hidden checkbox). Click Replace All button.
Save the Word file.
Now we have a Word file, where all texts other than source and target are hidden.

Copy all text in the Word file and paste into a new text document in Unicode text editor.
Save a new text file.
Open Microsoft Excel.
Open the text file you have just created in Excel.
Import the TXT following screen instructions. On pages 1 and 2 of the import wizard, click Next button. On the last page, select the Text radio button and click the Finish button.
Now we have an Excel file with our source and translation text. However, pairs are arranged into a single column. As the last step, we need to transpose every second row into a column. For this, we will use the following macro in Excel.

Copy the below code.
Press the keys ALT + F11 to open the Visual Basic Editor.
Press the keys ALT + I to activate the Insert menu.
Press M to insert a Standard Module.
Paste the code by pressing the keys CTRL + V.
Press the keys ALT + Q to exit the Editor, and return to Excel.
To run the macro from Excel, press ALT + F8 to display the Run Macro Dialog. Double Click the macro’s name to Run it.
Important:

You have to change the sheet name in the code below to whatever your sheet name is. Example: If your sheet name is ?List1? (instead of default Sheet1), you need to replace With Sheets(“Sheet1”) with With Sheets(“List1”).

WE ARE DONE. Now we have a bilingual Excel file created from source TMX.

Here is the code:

Option Explicit
Sub ReorgData()
Dim a As Variant, b As Variant
Dim lr As Long, lc As Long
Dim i As Long, ii As Long, c As Long, nc As Long
With Sheets("Sheet1")
lr = .Cells.Find("*", , xlValues, xlWhole, xlByRows, xlPrevious, False).Row
lc = .Cells.Find("*", , xlValues, xlWhole, xlByColumns, xlPrevious, False).Column
a = .Range(.Cells(1, 1), .Cells(lr, lc))
ReDim b(1 To UBound(a, 1), 1 To UBound(a, 2) * 2)
For i = 1 To UBound(a, 1) Step 2
ii = ii + 1
nc = 1
For c = 1 To UBound(a, 2)
b(ii, nc) = a(i, c)
b(ii, nc + 1) = a(i + 1, c)
nc = nc + 2
Next c
Next i
.Range(.Cells(1, 1), .Cells(lr, lc)).ClearContents
.Cells(1, 1).Resize(UBound(b, 1), UBound(b, 2)) = b
.Columns.AutoFit
End With
End Sub

貧乏ゆすりはなぜ起きる? その原因と対処法

貧乏ゆすりはなぜ起きる? その原因と対処法

2018.01.14 10:00 PM

カテゴリー:


KNOWLEDGE


タグ:


健康


生活


Image: <a href=“https://www.flickr.com/photos/adoyle/8457537054/” target="_blank">PROAllan Doyle/Flickr</a>

私には無意識に貧乏ゆすりをしてしまうという癖があります。座っている状態のときには必ずといっていいほど足が動いてしまい、数時間は止まりません。まわりに迷惑がかからないようにやめようとするのですが、なかなかやめられません。貧乏ゆすりの原因は一体なんなんでしょうか。

貧乏ゆすりを引き起こす原因は?

貧乏ゆすりは無意識のうちにしている人が多く、その原因は集中したときに襲う不安感であったり、ストレスであったりすることが多いといいます。

セラピストのCheryl Hassan氏曰く、

「貧乏ゆすりは何か不安なことがあったり、何か考え事をしたりしているときに、アクティブに活動する人を思い浮かべてその行動をまねようとしたり、気持ちを落ちつけようとしたりするときに起こる」

といいます。

もしあなたが稀に貧乏ゆすりをするようなタイプであれば、あまり心配する必要はありません

貧乏ゆすりをすることで心を落ち着けようとしている証拠だと考えられます。

ただもし日頃から貧乏ゆすりをする癖があるとすれば、そればレストレスレッグス症候群(通称RLS)と呼ばれる疾患であると考えられます。

RLSの症状を持つ人は特に夜間に動かないとき、足や腕に抑えきれない衝動を感じるといいます。Johns Hopkins Bayview Medical CenterでRLSのエキスパートであるRichard P. Allen氏は、RLSの症状を持つ人は気持ちがそわそわとするときにこの症状が現れ、常に動いていたい衝動を抑えられません。

この症状を持つ人は足や腕を動かさないととにかく心地が悪く、ときに痛みを感じることもあります。

症状がひどいときには会議中やテレビを観ているときでも関係ありません。座っているときにはまるでクラブでドラムを叩いているかのように、ベッドにいるときには海の中で何層もの水をかきわけているかのように、とにかく足を激しく動かしてしまうのです。


多くのRLS症状はそこまで普段の生活に大きく影響を及ぼすわけではありませんが、ひどい症状の人は夜充分な睡眠をとれないほど深刻です。約20人に1人、女性は男性の約2倍多くいるといわれています。

RLSには2種類のタイプが存在すると言います。

1つ目、こちらのタイプが大半だと言われていますが、45歳より前に発症し、時間が経過するごとに症状が悪化してしまうもの。

もう1つは45歳を過ぎて急に発症し、時間が経過してもその症状は悪化しないものです。

The National Institute of Neurological Disorders and Strokes(神経障害を研究する国立センター)によると、この疾患を引き起こす原因は複数ありますが、遺伝的な理由がほとんどで症状にも個人差があることから、これといった治療法がいまだ見つかっていないとのこと。

たとえば、私は母親からこのRLSを引き継いでいるのですが、体を適度に動かさなかったり、カフェインを大量摂取したり、鉄分が欠乏したりしたときに症状が悪化するようです。足を動かすことでほんの少し、他人よりもカロリーを消費できているなんてメリットもあります。

貧乏ゆすりをやめる方法

もしあなたがRLSで睡眠に障害があったり、痛みを感じたりする場合はすぐに医者に相談しましょう。

すぐに効果のでるような治療法はありませんが、専門医はその症状を少しでも改善できるような手立てはたくさんアドバイスしてくれるはずです。RLSの症状がさほど重くない場合は日頃から自分でもできる抑止法も試してみましょう。

NIによると、

「アルコールやたばこの量を減らす、もしくはやめる」「規則的な睡眠パターンを維持する」「週に数回は体を動かす機会をつくる」のがいいとか。

ほかにも、「足を動かす体操」「熱いお風呂」「水風呂」「温冷いずれかのパックを使って足をマッサージ」「クロスワードパズル」のように集中して何か物事に取り組むこともいいとされています。

車や飛行機での旅行を計画したり、1日の早い時間に映画を観賞してみたり、長時間ウォーキングをしてストレッチをしたり、映画館や飛行機で通路側の席をとるようにしてすぐに体を動かせるような状態にしておいたりと、さまざまな方法を試してみるといいでしょう。

Raymond Miltenberger教授は、もしどうしても足を動かすのを止めたいときには、足を組んだり、椅子に足を絡ませたり、一度椅子から立ち上がって、そわつく気持ちを落ち着かせることも有効だと言います。

あわせて読みたい

肩・首・腰をほぐす。デスクで手軽に実践できるストレッチ3選

寝ていて足がつった・こむら返り時にやるべき5つの対処法

Image: PROAllan Doyle/Flickr

Source: Anxiety Community ForumQuoraWikipediaNews in Health,The National Institute of Neurological Disorders and StrokesLIVESSTRONG.COMMen's Health

Patric Allan - Lifehacker US[原文

訳:saori

copyright (c) mediagene, Inc. All Rights Reserved.


Crear un schedule de limpieza

https://organisemyhouse.com/how-to-create-a-cleaning-schedule-that-really-works/2/