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
#!/usr/bin/python | |
from __future__ import with_statement | |
import sys | |
""" | |
Exclamation language to Brainf*ck langage converter. | |
30 6 2013 Hiroki Ito | |
Exclamation programs can be translated into Brainf*ck using these substitutions |
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
#!/usr/bin/python | |
import sys | |
write = sys.stdout.write | |
# debug mode flag (True/False) | |
DEBUG_MODE = False | |
def dp(str): | |
if(DEBUG_MODE): | |
print str |
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
#!/usr/bin/python | |
""" | |
Brainf*ck langage to Exclamation language converter. | |
30 6 2013 Hiroki Ito | |
Exclamation programs can be translated into Brainf*ck using these substitutions | |
exclamation bf C | |
! + ++*ptr; | |
!! > ++ptr; |
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
;; Last modified : 2015/1/24 | |
;; | |
;; package | |
(require 'package) | |
(add-to-list 'package-archives '("marmalade" . "https://marmalade-repo.org/packages/")) | |
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) | |
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) ; Org-mode's repository | |
(package-initialize) |
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 | |
# 2015/2/1 | |
# | |
# A script for downloading rhino & engine source, build jars, and write & execute simple program. | |
# | |
# see https://java.net/projects/Scripting | |
# https://wiki.openjdk.java.net/display/Nashorn/Using+Rhino+JSR-223+engine+with+JDK8 | |
# change this variable | |
RHINO_VERSION=rhino1.8.0-SNAPSHOT |
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 -x | |
rm -rf /opt/rhino | |
sed -i -e "s/\/opt\/rhino\/rish//g" /etc/shells |
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
1. disable | |
``` | |
$ sudo nvram SystemAudioVolume=%80 | |
``` | |
2. enable | |
``` | |
$ sudo nvram-d SystemAudioVolume | |
``` |
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
javascript:(function(){var a=window;b=document;c=encodeURIComponent;s=a.parent.screen;d=a.open("http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk="+c(b.location)+"&title="+c(b.title),"_b1","width="+.8*s.width+",height="+.8*s.height+",resizable=1,alwaysRaised=1");a.setTimeout(function(){d.focus()},100)})(); |
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
# screenrc | |
# | |
# see also | |
# | |
# arch linux wiki | |
# https://wiki.archlinux.org/index.php/GNU_Screen | |
# GNU Screen manual | |
# https://www.gnu.org/software/screen/manual/screen.html#Overview | |
# scroll buffer (press Ctrl-J esc to enter copy-mode, press ESC to leave copy-mode) |
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/bash | |
https://docs.docker.com/install/linux/docker-ce/centos/ | |
sudo yum remove docker \ | |
docker-client \ | |
docker-client-latest \ | |
docker-common \ | |
docker-latest \ | |
docker-latest-logrotate \ |
OlderNewer