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
| $args | |
| 例 | |
| http://example.com/hoge?foo=123&bar=blahblah; | |
| $args => | |
| foo=123&bar=blahblah; | |
| $arg_PARAMETER | |
| 例 | |
| http://example.com/hoge?foo=123&bar=blahblah; | |
| $arg_foo => |
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
| Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
| /usr/bin/ruby22 -r ./siteconf20150423-16182-pnl9lp.rb extconf.rb --use-system-libraries | |
| checking for cmake... yes | |
| checking for gmake... yes | |
| checking for pkg-config... yes | |
| Building Rugged using system libraries. | |
| libgit2 version is not compatible | |
| *** extconf.rb failed *** | |
| Could not create Makefile due to some reason, probably lack of necessary |
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
| from PIL import Image | |
| // とちゅう | |
| char = [(100, '&'), (200, '-'), (10, '0'), (1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8, '8'), (9, '9'), (101, 'A'), (102, 'B'), (103, 'C'), (104, 'D'), (105, 'E'), (106, 'F'), (107, 'G'), (108, 'H'), (109, 'I'), (201, 'J'), (202, 'K'), (203, 'L'), (204, 'M'), (205, 'N'), (206, 'O'), (207, 'P'), (208, 'Q'), (209, 'R'), (11, '/'), (12, 'S'), (13, 'T'), (14, 'U'), (15, 'V'), (16, 'W'), (17, 'X'), (18, 'Y'), (19, 'Z'), (0, ' ')] | |
| #for x in range(0, 80): | |
| # d = [] | |
| # print "%d=>" % (x * 7 + 15) | |
| mes = "" |
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
| # 神 https://gist.github.com/teshi04/6132532 | |
| # env | |
| export TERM='xterm' | |
| export LSCOLORS=exfxcxdxbxegedabagacad | |
| export LANG=ja_JP.UTF-8 | |
| export GOPATH=~/go | |
| export PATH=$PATH:$GOPATH/bin | |
| alias ls="ls --color" |
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
| #!/bin/sh | |
| REVS=`svn info http://repo/svn/flags | grep ^Revision | sed -e s/"Revision: "//g` | |
| while [ $REVS -ne 0 ] | |
| do | |
| svn export http://repo/svn/flags . -r $REVS --force > /dev/null | |
| REVS=`expr $REVS - 1` | |
| done |
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
| while true | |
| do | |
| // チームのdefence keyword | |
| KW=`cat keyword.txt` | |
| echo "KW: $KW" | |
| svn delete * --force | |
| touch $KW | |
| svn add $KW | |
| svn commit -m totori | |
| sleep 5 |
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
| #include <stdio.h> | |
| void main() | |
| { | |
| int i = 0; | |
| unsigned char d = 0; | |
| FILE *fp = fopen("Reverseit", "rb"); | |
| FILE *ofp = fopen("reversed_1.jpg", "wb"); | |
| while (i < 0x1e12) | |
| { |
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
| [root@quark0176f5] | |
| # cat /lib/systemd/system/connect.service [~] | |
| [Unit] | |
| Description=Connect to Home Network | |
| Requires=gpstime.service | |
| After=gpstime.service | |
| [Service] | |
| Type=forking | |
| TimeoutStartSec=10 |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Security.Cryptography; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace simpleserial | |
| { | |
| class Program |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Security.Cryptography; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace commercial_app | |
| { |