コンピュータを使いながら見つけた・覚えた色々な便利技集。初歩的な事から上(中?)級技までいろいろご紹介します。 2018.11 << 12345678910111213141516171819202122232425262728293031 >> 2019.01
コンピュータを使いながら見つけた・覚えた色々な便利技集。初歩的な事から上(中?)級技までいろいろご紹介します。 2018.11 << 12345678910111213141516171819202122232425262728293031 >> 2019.01
MacBookAir買いました。Macはいろいろ不便で、情報を集め整理して、環境が整うまで時間がかかっている。メモの更新も滞ってる。 Google TalkのMac版がない。 Airで一番困ったこと。何をおいてもこれが困る。 Gmailのメール通知される手段がない。 Google Talkのメール通知の良いところ ・プッシュ通知でなところ。POP/IMAPでチェックしてるわけじゃない。 ・XMPPというチャットプロトコルでメール通知される ・だから速い。 Gmail notify のダメなところ もちろんGmailNotifyというGoogleのソフトウェアがある。 ・POP/IMAPアクセス。通知はない。定期チェック。 ・しかも時々動作がおかしくメールを取りそこねる。 ・チェック間隔が15分以上開くことがある。 ・ネットワーク切断・接続を繰り返すと絶望的に動かない。 ノートPCで接続切断
If you’d like to check out ElasticSearch, there’s already lots of options where to get the data to feed it with. You can use a Twitter or Wikipedia river to fill it with gigabytes of public data, or you can feed it very quickly with some RSS feeds. But, let’s get a bit personal, shall we? Let’s feed it with your own e-mail, imported from your own Gmail account. We’ll use couple of Ruby gems: Gmail
A friend asked me recently if I could build him a super simple web app that could email him. I said ‘SUuuuuuurrre’ that’ll be easy I’ll throw it on heroku and it will be awesome! I forgot using gmail is incredibly annoying. Took me way too long to figure out the problem. It’s that same Net::SMTP error that’s been hacked around a ton of times. I copied one such hack and added in Pony: pony_gmail.rb
ruby 1.8.7からsslに対応したようなので、 非常に簡単にGmailからPOPでメールを受信できるようになりました。 以前は結構苦労したような気がしたのに、 便利になりましたねぇ。 Net::POP3.enable_ssl(OpenSSL::SSL::VERIFY_NONE) Net::POP3.start("pop.gmail.com", 995, "your-email@gmail.com", "your-password") do |pop| unless pop.mails.empty? pop.mails.each do |email| begin logger.info "Retrieving mail..." MailReader.receive(email.pop) email.delete rescue Exception => e logger.error "[
twitterのフォロー通知メールとか、Amazonの発送通知メールとか、そういうメールを受け取ったらその内容に応じていろいろ処理したい時ってありますよね。 でもまあ、今時個人でメールサーバ立てるのなんて流行らないですし、自由にprocmailを仕込むわけにもいかないですよね。というわけでGmailのIMAPを使いましょう。 rubyで書くとこんな感じ。 require 'rubygems' require 'net/imap' require 'kconv' require 'pit' require 'logger' class ImapFetcher def initialize(pit_name) @pit = Pit.get( pit_name, :require=>{ 'host'=>'imap.gmail.com', 'port'=>993, 'use_ssl'=>'true
・ 読書メモ: 基本的に読み終わったもののみ載せる (読みかけとか途中で飽きたものを含めるとキリがないから) ・ Tips : 作ったスクリプトとかTips (WSH, JScript, Perl, Ruby, Rails, UNIXコマンド他) ※その他のtipsはこっち → tips ・ 日記 : 自分が思ったことの覚え書き的に 「TODO係」ではメールを受け取ったらそれをパースしてDBに登録するという動作をします。 メールサーバ(qmailとかPostfixとか)の設定で、メール受信時にバッチを起動して云々、、とやるのがスマートで良いのですが、メールサーバを管理したことが無いのでサーバを立てたりしたらスパムの踏み台にされてしまいそうで怖かったので 「cronでバッチを呼んで、そのバッチからメールを定期的に読みに行く」 という運用にしました。 使ってみたのは g
These days, it seems like almost all apps need to send email. And everyone has a gmail account. So why not have your app send email through Gmail? It’s fairly easy with just a few steps. Heroku currently runs Ruby 1.8.6. This means you need to provide your own SMTP TLS library. Luckily, Adam has made that super easy with a quick little Rails plugin. Simply install the library, set a few config var
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
Want to get more out of Google apps at work or school? Sign up for a Google Workspace trial at no charge. Save time navigating in Gmail by using keyboard shortcuts. Turn on keyboard shortcuts Some keyboard shortcuts only work if you've turned them on. Note: Keyboard shortcuts aren't supported on all keyboards. On a computer, go to Gmail. In the top right, click Settings See all settings. Click
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く