| key:"string value" | |
| int_key:22 |
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "VPC knowhow template", | |
| "Parameters": { | |
| "KeyName": { | |
| "Description": "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
| "Type": "String", | |
| "MinLength": "1", | |
| "MaxLength": "64", | |
| "AllowedPattern": "[-_ a-zA-Z0-9]*", |
| # Signal catching | |
| def shut_down | |
| puts "\nShutting down gracefully..." | |
| sleep 1 | |
| end | |
| puts "I have PID #{Process.pid}" | |
| # Trap ^C | |
| Signal.trap("INT") { |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Many of us spend many hours of our days using their terminal. Plus, we all have different tastes when it comes to color schemes. That's why the ability to change the color scheme of a terminal is one of its more important featuresl. Throughout this tutorial, I'll teach you how you can change the looks of your terminal, step by step.
This tutorial is aimed at elementary OS users, but it also works for any Ubuntu user. Start by installing dconf-tools:
sudo apt-get install dconf-tools
Secondly, you need to decide which theme you're going to apply. You can find dozens of terminal color schemes online, you can even design your own using this web application. Design the color scheme, hit "Get Scheme" and choose "Terminator". You'll get a raw text file with a background color, a foreground color and a palette. Those strings define your color scheme. In this tutorial, I'll post an
説明するのめんどい http://vividcode.hatenablog.com/entry/twitter-oauth-vulnerability
- 第一段階: locationヘッダでの自動リダイレクトからmetaタグでのリダイレクトに変更(X-Frame-Optionsが効くので、iframe総当り攻撃が困難に)
- 第二段階: https://dev.twitter.com/blog/changes-to-sign-in-with-twitter
とりあえず即座に攻撃できるような状態ではなくなっています。
原文 : http://source.android.com/tech/security/index.html
Androidプラットフォームを構成する主要なブロックは下記です。
- Device Hardware
- Android OS
- Androidアプリケーションランタイム
| [ | |
| { "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, "context": | |
| [ | |
| { "key": "following_text", "operator": "regex_contains", "operand": "^[)'\"\\}\\]]", "match_all": true }, | |
| { "key": "auto_complete_visible", "operator": "equal", "operand": false } | |
| ] | |
| } | |
| ] |
