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
# INSTRUCTIONS: save as ~/.gdbinit | |
# REVISION : 6.1 | |
# CONTRIBUTORS: mammon_, elaine, pusillus, mong | |
# NOTES: 'help user' in gdb will list the commands/descriptions in this file | |
# 'context on' now enables auto-display of context screen | |
# | |
# CHANGELOG: | |
# Version 6.1 | |
# fixed filename in step_to_call so it points to /dev/null | |
# changed location of logfiles from /tmp to ~ |
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
#!/bin/sh | |
# Use like this: | |
# | |
# minify-js.sh < app.js > app.min.js | |
# | |
curl -s \ | |
-d compilation_level=SIMPLE_OPTIMIZATIONS \ | |
-d output_format=text \ |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{16d51579-a30b-4c8b-a276-0ff4dc41e755}\ProgID] | |
@="Chakra" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{16d51579-a30b-4c8b-a276-0ff4dc41e755}\ProgID] | |
@="Chakra" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Chakra] | |
@="JScript Language" |
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 <stdio.h> | |
#include <stdlib.h> | |
#include "librtmp/rtmp.h" | |
int main(int argc, char *argv[]) { | |
if (argc < 3) { | |
printf("usage : %s url ticket\n", argv[0]); | |
return 1; | |
} |
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
;; -*- mode:lisp; package:markdown-mode -*- | |
;; markdown.l ( http://www.geocities.jp/kiaswebsite/xyzzy/markdown.html ) | |
;; Rev: 227 を元に改変 | |
;; | |
;; License | |
;; ======= | |
;; | |
;; Copyright (c) 2011 Yousuke Ushiki <citrus.yubeshi@gmail.com> | |
;; Copyright (c) 2005,2006 kia |
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
;;; -*- mode: lisp; package: user -*- | |
#| | |
使い方(暫定): | |
1. どこかへ framework.l と nanri-master-change-tests.l をダウンロード | |
2. M-x load-file | |
load file: path/to/framework.l | |
3. M-x load-test-file | |
test file: path/to/nanri-master-change-tests.l | |
4. M-x change-tests |
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 <memory> | |
#include <cstdio> | |
struct year{year(){ std::printf("あけましておめでとうございます.\n"); };}; | |
using A = std::unique_ptr<year>; | |
int main() | |
{ | |
A happy {new year}; |
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
(defun jshint (&optional (filename (get-buffer-file-name))) | |
"jscript-mode: このファイルの文法チェック" | |
(interactive) | |
(let (command | |
(bufname "*JSHint*") | |
(noerror-message "No errors detected") | |
buf | |
line | |
col | |
(error-message nil)) |