- A.super
- B.begin
- C.try
- D.goto
def foo (a, *b)
p a
| # 1. ブロック内のコードを実行しない with ------- | |
| # refs http://stackoverflow.com/questions/12594148/skipping-execution-of-with-block | |
| import sys | |
| import inspect | |
| class SkipContext: | |
| def __enter__(self): | |
| # 1. SkipContextの外側のframeを取得 | |
| self.frame, _, _, _, _, _ = inspect.getouterframes(inspect.currentframe())[1] |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "github.com/codegangsta/cli" | |
| ) | |
| func main() { |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "github.com/codegangsta/cli" | |
| ) | |
| func main() { |
| package main | |
| import ( | |
| "fmt" | |
| "image" | |
| "image/color" | |
| "image/draw" | |
| "log" | |
| "github.com/fogleman/gg" |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <ctype.h> | |
| #include <memory.h> | |
| #include <stdbool.h> | |
| #define MSG_PROG_INFO "Count words in source" | |
| #define MSG_PATH_PROMPT "Path to the source file:" | |
| #define MSG_OUTPUT_OPTIONS "\nInput:\n1 - output lexicographically\n2 - output by frequency\n" | |
| #define MSG_INPUT_ERROR "Error: incorrect input" |
| #!/bin/bash | |
| CURRENT_DIR="$( dirname "${BASH_SOURCE[0]}" )" | |
| export PATH=${PATH/$CURRENT_DIR} | |
| args=() | |
| for arg in "$@"; do | |
| if [[ "$arg" =~ ^@.* ]]; then | |
| file="${arg#@}" | |
| if [ -f "$file" ]; then | |
| for a in $(cat "$file"); do | |
| args+=("$a") |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| body { | |
| font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
| width: 960px; | |
| height: 500px; | |
| position: relative; | |
| } | |
| form { |
| find . -name "package.json" -exec grep -nwE 'babelcli|crossenv|cross-env.js|d3.js|fabric-js|ffmepg|gruntcli|http-proxy.js|jquery.js|mariadb|mongose|mssql.js|nodecaffe|nodefabric|node-fabric|nodeffmpeg|nodemailer-js|nodemailer.js|nodemssql|node-opencv|node-opensl|node-openssl|noderequest|nodesass|nodesqlite|node-sqlite|node-tkinter|opencv.js|openssl.js|proxy.js|shadowsock|smb|sqlite.js|sqliter|sqlserver|tkinter' {} + |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>WebSocket test</title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
| <style> |