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
export PATH=$PATH:~/bin/:~/bin/sicd/ | |
export EDITOR=vim | |
mkdir -p ~/tmp/delete_after_$(date +%Y-%m-%d) | |
export T=~/tmp/delete_after_$(date +%Y-%m-%d) | |
alias ls='ls --color=auto' | |
alias pbcopy='xsel --clipboard --input' | |
alias pbpaste='xsel --clipboard --output' | |
if [ -f /etc/bash_completion ]; then | |
. /etc/bash_completion |
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
From: http://friendfeed.com/bobuk/c6a3d237 | |
Script: | |
{{{ | |
#!/usr/bin/perl | |
use Modern::Perl; | |
use File::Find; | |
use LWP::UserAgent; |
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
package JustTest; | |
gettext('test '); | |
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
dpkg-scanpackages: warning: Package site (filename binary/site_1.00_i386.deb) is repeat; | |
dpkg-scanpackages: warning: ignored that one and using data from binary/site_1.01_i386.deb! | |
dpkg-scanpackages: info: Wrote 1 entries to output Packages file. |
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
Благодаря этому уникальному упражнению, вы, совершенно не зная ни одного языка программирования, сможете почувствовать себя настоящим программистом-профессионалом! | |
Для упражнения потребуются: | |
― два участника; | |
― часы (желательно с секундомером); | |
― листок чистой бумаги; | |
― ручка (шариковая или гелевая, но именно ручка,- это важно). | |
Один из участников будет "Заказчиком" (Работодателем), другой ― "Исполнителем" (Программистом). | |
"Заказчику" выдаются часы и право голоса, "Исполнителю" ― бумага и ручка. |
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/perl | |
use strict; | |
use warnings FATAL => 'all'; | |
use 5.010; | |
use DDP colored => 1; | |
use Carp; | |
use Perl6::Form; | |
my $ddp_options = { |
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
{ | |
use_prototypes => 0, | |
hash_separator => ' => ', | |
index => 0, | |
return_value => 'void', | |
end_separator => 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
bessarabov@b-yanote:~/git/play-perl$ time vagrant up | |
[default] Importing base box 'precise64'... | |
[default] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.2.0 | |
VirtualBox Version: 4.1.18 |
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
Delivery to the following recipient failed permanently: | |
dmitry@kalinnikov.ru | |
Technical details of permanent failure: | |
Google tried to deliver your message, but it was rejected by the server for the recipient domain kalinnikov.ru by mxs.ht-systems.ru. [78.110.50.88]. | |
The error that the other server returned was: | |
550-Verification failed for <ivan@bessarabov.ru> | |
550-Called: 173.194.71.26 |
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
Revision history for App-Nopaste | |
0.91 Sun Jan 27 2013 | |
Decode incoming text as utf8 (Jesse Luehrs) | |
Support for GITHUB_USER and GITHUB_PASS (Rafael Kitover) | |
Name the gist file `nopaste` not `nopaste.txt` for possible syntax highlighting (Rafael Kitover) | |
Use decode_json not a regular expression to decode Gist response body (Shawn M Moore) | |
Give a hint to perldoc App::Nopaste::Service::Gist on 401 (Shawn M Moore) | |
0.90 Tue Oct 30 2012 |
OlderNewer