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
| /*<?php | |
| //*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s", | |
| //\u000A\u002F\u002A | |
| class PhpJava { | |
| static function main() { | |
| echo(//\u000A\u002A\u002F | |
| "Hello World!"); | |
| }} | |
| //\u000A\u002F\u002A | |
| PhpJava::main(); |
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 | |
| # Upgrade packages that are available to update | |
| sudo apt-get update | |
| sudo apt-get -y upgrade | |
| # Miscelaneous tools and media players and game emulators | |
| sudo apt-get install -y build-essential ubuntu-restricted-extras htop vcl smplayer k3b audacity audacious audacious-plugins visualboyadvance pcsxr | |
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 | |
| name=neidetcher_access | |
| rrdfile="/var/local/${name}.rrd" | |
| imageDir="/home/demian/code/demian0311.github.com/_site" | |
| case "$1" in | |
| create) | |
| rrdtool create $rrdfile --step 60 \ | |
| "DS:${name}:GAUGE:120:0:1000000" \ |
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 ubuntu:14.04 | |
| MAINTAINER Pan Jiabang, panjiabang@gmail.com | |
| RUN \ | |
| # use aliyun's mirror for better download speed | |
| sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \ | |
| apt-get update && \ | |
| apt-get install -y nodejs curl git-core && \ | |
| # use nodejs as node |