This file contains hidden or 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
| Gist (v4.2.0) lets you upload to https://gist.github.com/ | |
| The content to be uploaded can be passed as a list of files, if none are | |
| specified STDIN will be read. The default filename for STDIN is "a.rb", and all | |
| filenames can be overridden by repeating the "-f" flag. The most useful reason | |
| to do this is to change the syntax highlighting. | |
| If you'd like your gists to be associated with your GitHub account, so that you | |
| can edit them and find them in future, first use `gist --login` to obtain an | |
| Oauth2 access token. This is stored and used by gist in the future. |
This file contains hidden or 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
| (gdb) bt | |
| #0 0x0000003e5460be32 in pthread_kill () from /lib64/libpthread.so.0 | |
| #1 0x000000000066aeea in handle_fatal_signal (sig=11) at /home/nakatani/git/mysql-5.6.10/sql/signal_handler.cc:248 | |
| #2 <signal handler called> | |
| #3 0x0000000000b3101b in my_hash_sort_bin (cs=<value optimized out>, key=0xf99e159ad150a47c <Address 0xf99e159ad150a47c out of bounds>, len=5248597205062286336, nr1=0x2ad13f0c1828, nr2=0x2ad13f0c1820) at /home/nakatani/git/mysql-5.6.10/strings/ctype-bin.c:307 | |
| #4 0x00000000008dc1e7 in calc_hash (hash=<value optimized out>, key=0x2ad13f0c26c0 "\035%\f?\321*", length=5248597205062286336) at /home/nakatani/git/mysql-5.6.10/mysys/hash.c:46 | |
| #5 my_calc_hash (hash=<value optimized out>, key=0x2ad13f0c26c0 "\035%\f?\321*", length=5248597205062286336) at /home/nakatani/git/mysql-5.6.10/mysys/hash.c:232 | |
| #6 0x00002ad0a694a1a8 in load_table (this=0x16493f00) at ha_queue.cc:613 | |
| #7 queue_share_t::init_fixed_fields (this=0x16493f00) at ha_queue.cc:878 | |
| #8 0x00002ad0a694e1be in get_share_check (db_tabl |
This file contains hidden or 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
| ; Bind key command like this: | |
| ; (global-set-key "\C-xw" 'wrap-region-by-string) | |
| ; Then mark text (C-SPC or C-@) and put "Ctrl-x w" | |
| ; Enjoy! | |
| (defun wrap-region-by-string () | |
| (interactive | |
| (let ((start-point (region-beginning)) | |
| (end-point (region-end)) | |
| (start-str (read-string "Start: " nil 'my-history)) |
This file contains hidden or 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
| var tweetJsonStr = | |
| '{\n' + | |
| ' "results": [\n' + | |
| ' {\n' + | |
| ' "text": "\u58f2\u308bSale\u305c\u3088\uff01\u30bd\u30d5\u30c8\u30d0\u30f3\u30af\uff01 \u25a0\u8a2d\u7acb1976\u5e7411\u670825\u65e5\uff6536\u671f\u306e\u30bd\u30d5\u30c8\u30d0\u30f3\u30af\u682a\u5f0f\u4f1a\u793e\u3092\u58f2\u308a\u307e\u3059\uff01\u3000\u25a0\u7fa9\u63f4\u91d1\u637b\u51fa\u306e\u305f\u3081\u58f2\u308a\u307e\u3059\uff01\uff01\n\u25a0\u308f\u304c\u793e\u3088\u308a\u53e4\u3044\u30bd\u30d5\u30c8\u30d0\u30f3\u30af\u3001\u3054\u5b58\u77e5\u3067\u3059\u304b\uff1f\n2012/9/2 11:56", \n' + | |
| ' "from_user_name": "\u30bd\u30d5\u30c8\u30d0\u30f3\u30af", \n' + | |
| ' "profile_image_url": "http://a0.twimg.com/profile_images/1851931672/SB__8_normal.png", \n' + | |
| ' "created_at": "Sun, 02 Sep 2012 02:56:41 +0000" \n' + | |
| ' } \n' + | |
| ' ] \n' + |
NewerOlder