9 different idioms for describing people
Today, I'm going to teach you different idioms
to describe people.
Number one is "gold digger"
This word is used to describe people who only
get in a relationship because they are interested
in the other person's money.
"Ana married that rich guy even though he is 40 years
older than her. I suspect that she might be a gold digger."
Number two is "know-it-all."
You call someone a "know-it-all" when they are always trying
to seem like the smartest person in the room.
When I told my mom that I liked drawing squares,
my brother corrected me and said: 'Well, actually,
those are rectangles, because the sides are not even."
Oh my gosh! What a freaking know-it-all!
Number three is "Jack of all trades."
A "Jack of all trades" is a person who is good at doing
many different things. They may not be a master at any of
these things, but they are still pretty good.
"Carl fizes cars, builds websites and paints on the side
for money. I wish I were a Jack of all trades like him."
Number four is "yes-man".
A "yes-man" is someone who is constantly giving positive
feedback to their superior. They are always giving answers
that the other person wants to hear.
"There is John again saying that he will stay late to finish
the project and do the boss's laundry. I can't believe that!
I'd rather be unemployed than be someone's yes-man."
Number five is "party pooper".
A "party pooper" is someone who is always ruining other
people's fun.
"We can't let her know that we are going to the concert.
She's such a party pooper! She will probably tell our parents
that we stayed out late."
Number six is "social butterfly".
We call someone a "social butterfly" when they are always
surrounded by people. This kind of personality always attracts
a lot fun and activity. Usually, they are positive and talkative.
"Other people love going out, but I've never been much of a
social butterfly."
Number seven is "go-getter".
A "go-getter" is a very ambitious and goal-oriented person.
These people are always focused on figuring out how they can
get to the next level of something. Most of the time professionally
or academically.
"Harriet is only twenty years old, but she's already getting her
master's degree, owns a house and is working on her fourth book.
She is definitetly a go-getter."
Number eight is "copycat".
Someone who is a "copycat" is a person who is always trying to
imitate other people.
"I dyed my hair blue this week, and, what a coincidence... Bryan
dyed his hair blue too. He says it's just a coincidence, but I know
that he is a total copycat."
Number nine is "pain in the neck".
You call someone a "pain in the neck" when they are just annoying.
"Ever since his girlfriend broke up with him, Mika has been calling
me nonstop! I really want to help him, but he's been such a pain in
the neck. I think I'm going to block his phone number."
So, there you have it! 9 idioms for describing people.
Thanks for reading and see you next post!
Get on, get up, get out
Today we are going to be talking about the phrasal verbs:
Get on, get up, get out.
Let's start with "get on".
"Get on" is used when we are talking about transportation.
For example, I could say:
"I have to get on the next bus to Osaka".
or, "She is going to get on a plate to Tokyo."
or, "They are going to get on a boat to the Okinawa".
So we can use this for any kind of transportation
except for cars and taxis.
For cars and taxis we actually say "get in".
Next, we are going to talk about "get up".
"Get up" is used when we are talking about
when we are sleeping, and it's the morning time,
and then the alarm starts to make noise.
I would say:
"I have to get up when my alarm starts making noise."
So, for example:
"I get up at 5am on the weekdays, but I get up at 10am on the weekends."
Finally, we have the phrasal verb "get out".
"Get out" is used when we are talking about leaving
or escaping some sort of situation or place.
So, for example, if I am talking about my math class
and I am texting my friend, and I'm like:
"Oh my God, this class is so boring. I can't wait
to get out og this class!".
You can use this when somebody enters your house
and you don't want them to be there anymore, you could say:
"Hey, get out of my house! I want you to leave!"
So, one more time we have
"Get on"
which is used for transportation.
"Get up"
which is used when we talk about leaving the bed and
starting your day and
"Get out"
when we are talking about leaving or escaping some sort of situation.
Thanks for reading and see you next post!
JavaScriptのアローファクションこの書き方アリ!?
こんにちは!
誰だってプログラミングを初めてまもない時、書いたコードはエラーにはならないけど
もっと良いやり方ないか?不安になる時はないでしょうか?
今回はJavaScriptでの関数アローファンクションの短縮した書き方を勉強して行こう。
今回の例は配列にある数字を関数で2倍に返すFunctionになります。
これは普通のやり方になります。
今度はよくあるアローのやり方
上記のようにアローに渡す引数が一つの場合そのカッコを省略が可能。
さらに言えば波カッコにあるスコップが1ラインの場合このように波カッコなしで
省略ができます。
続きを読むrails new する際のやることリスト
最初に
自分用のメモとして随時更新していく。
アプリ名は sample にしているつもり。
Gemを入れた後bundle installを忘れずに。
#bundle installを反映するためにrails sを一度落とすする必要があります。
rails new
実行コード
rails new sample
Gemfile に carrierwave 追加haml 導入
HAML_RAILS_DELETE_ERB=true rails haml:erb2haml 実行
scss 変更
rm app/assets/stylesheets/application.css
touch app/assets/stylesheets/application.scss
でファイルだけ作っておくJQuery 導入
font-awesome-rails 追加
@import font-awesome
追加rspec 導入
bin/rails generate rspec:install
実行CarrierWave
aws:
s3:
bucket: <%= ENV['AWS_S3_BUCKET'] %>
key_id: <%= ENV['AWS_S3_KEY_ID'] %>
secret_key: <%= ENV['AWS_S3_SECRET_KEY'] %>
region: <%= ENV['AWS_S3_REGION'] %>
CarrierWave.configure do |config|
if %w(production staging).include?(Rails.env)
config.fog_credentials = {
provider: 'AWS',
aws_access_key_id: Settings.aws.s3.key_id,
aws_secret_access_key: Settings.aws.s3.secret_key,
region: Settings.aws.s3.region
}
config.fog_directory = Settings.aws.s3.bucket
config.storage = :fog
config.fog_public = false
config.fog_authenticated_url_expiration = 60 * 60 * 24 # second
else
config.storage = :file
end
end
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:print:]]/
Ruby on RailsでWe're sorry, but something went wrong.が出たときの対処法
初心者でもわかるエラー解決-ActionController::UnknownFormat in 〇〇Controller#アクション名
ActionController::UnknownFormat in 〇〇Controller#アクション名
エラーの本文はこんな感じ。
〇〇Controller#アクション名 is missing a template for this request format and variant. request.formats: ["text/html"] request.variant: [] NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.
Extracted source (around line #55):
53 "That's what you'll get from an XHR or API request. Give it a shot."
54 raise ActionController::UnknownFormat, message
55 else
56 logger.info "No template found for #{self.class.name}##{action_name},
57 rendering head :no_content" if logger
58 super
○○Controllerの#アクション名でテンプレートがないとなっている
解決に繋がる対策:
1、○○Controllerの#アクション名でテンプレートを書き間違えてないか確認する。
2、Gemでインストールをしているのであればサーバー再起動し再確認をする。
🔊gemのインストールを反映するためにサーバーを一度リセットする必要がある。
3、#アクション名ビューの中身に何かを書く。