https://github.com/google/ios-webkit-debug-proxy
iOSとLinuxのみ。Windowsは動作しない。
公式チュートリアルにあるようにbrewで簡単インストール
brew install ios-webkit-debug-proxy
| # example: Set-PowerShellUICulture -Name "en-US" | |
| function Set-PowerShellUICulture { | |
| param([Parameter(Mandatory=$true)] | |
| [string]$Name) | |
| process { | |
| $culture = [System.Globalization.CultureInfo]::CreateSpecificCulture($Name) | |
| $assembly = [System.Reflection.Assembly]::Load("System.Management.Automation") |
https://github.com/google/ios-webkit-debug-proxy
iOSとLinuxのみ。Windowsは動作しない。
公式チュートリアルにあるようにbrewで簡単インストール
brew install ios-webkit-debug-proxy
| var waitForEl = function(selector, callback) { | |
| if (jQuery(selector).length) { | |
| callback(); | |
| } else { | |
| setTimeout(function() { | |
| waitForEl(selector, callback); | |
| }, 100); | |
| } | |
| }; |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| import tweepy | |
| import tw_key | |
| CONSUMER_KEY = tw_key.twdict['cons_key'] | |
| CONSUMER_SECRET = tw_key.twdict['cons_sec'] | |
| ACCESS_TOKEN_KEY = tw_key.twdict['accto_key'] | |
| ACCESS_TOKEN_SECRET = tw_key.twdict['accto_sec'] |
| # Python http.server that sets Access-Control-Allow-Origin header. | |
| # https://gist.github.com/razor-x/9542707 | |
| import os | |
| import sys | |
| import http.server | |
| import socketserver | |
| PORT = 8000 |
| wget --continue --no-check-certificate -O jdk-8-linux-x64.tar.gz --header Cookie: oraclelicense=a http://download.oracle.com/otn-pub/java/jdk/8-b132/jdk-8-linux-x64.tar.gz |
Reference: RFC 2616 - HTTP Status Code Definitions
| #!/bin/sh | |
| docker events --filter 'event=start' --filter 'event=stop' | while read event | |
| do | |
| container_id=`echo $event | sed 's/.*Z\ \(.*\):\ .*/\1/'` | |
| echo $container_id |