perl code를 실행할 수 있다면 소스코드를 볼 수도 있습니다. 하지만 몇 줄 안되는 코드로 자신의 코드를 숨길 수도 있습니다.
<!DOCTYPE html> | |
<!-- mostly borrowed from Mojo --> | |
<html> | |
<head> | |
<title>WebSocket</title> | |
</head> | |
<body> | |
Testing WebSockets, please make sure you have JavaScript enabled. | |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.
-
Add
Enable=Source
to /etc/bluetooth/audio.conf right after[General]
. -
Find address in form XX:XX:XX:XX:XX:XX of phone with
hcitool scan
. -
Pair and trust smartphone with
sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX
andsudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes
. -
Create loopback in pulseaudio connection bluetooth a2dp source with alsa sink:
#!/usr/bin/perl | |
#=============================================================================== | |
# | |
# FILE: intime.pl | |
# | |
# USAGE: ./intime.pl | |
# | |
# DESCRIPTION: | |
# | |
# OPTIONS: --- |
PERLBREW_PERL="perl-5.14.2" | |
10 0 * * * envi PATH="$HOME/perl5/perlbrew/perls/$PERLBREW_PERL/bin:$PATH" /usr/bin/env perl /some/script_path |
For HTTP headers it's quite straightforward: draft-nottingham-http-link-header defines this.
Link: <http://example.com/>; rel="previous"; titile="Previous chapter"
As configured in my dotfiles.
start new:
tmux
start new with session name:
use strict; | |
use Tie::IxHash; | |
use JSON::PP; | |
# magic start | |
my $obj_parser_sub = \&JSON::PP::object; | |
*JSON::PP::object = sub { | |
tie my %obj, 'Tie::IxHash'; | |
$obj_parser_sub->(\%obj); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Upload your files</title> | |
</head> | |
<body> | |
<form enctype="multipart/form-data" action="upload.php" method="POST"> | |
<p>Upload your file</p> | |
<input type="file" name="uploaded_file"></input><br /> | |
<input type="submit" value="Upload"></input> |