Skip to content

Instantly share code, notes, and snippets.

View tadzik's full-sized avatar
🚲

Tadeusz SoΕ›nierz tadzik

🚲
View GitHub Profile
β”Œβ”€[tsosnierz@alderaan]─[~]
└─[%]─> cat dupa.pl
use 5.018;
package Foo {
sub new {
bless {}, shift
}
sub bar {
say "yada"
@tadzik
tadzik / output
Last active August 29, 2015 14:11
4018 function calls in 0.003 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1000 0.002 0.000 0.002 0.000 /usr/lib/python2.7/urlparse.py:95(hostname)
1002 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects}
1001 0.000 0.000 0.000 0.000 {method 'lower' of 'str' objects}
1000 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
1 0.000 0.000 0.000 0.000 /usr/lib/python2.7/urlparse.py:168(urlsplit)
β”Œβ”€[tadzik@yavin]─[~]
└─[%]─> cat test.py
from urlparse import urlsplit
import cProfile, pstats, StringIO
pr = cProfile.Profile()
pr.enable()
u = urlsplit("www.google.com/foo/bar?argh=fuuu#baz", "http")
a = []
1101 tadzik | lbt, Aard: so there is some work on that architecture graph done already?
1102 Aard | tadzik: graphing for dependencies of packages, querying live repositories for details
1103 tadzik | I see. The well desired thing seems to be the Big Picture[tm] though, as in "I want to scratch this particular itch, where do I look"
1107 tadzik | as in: is it a particular app, or the jolla sdk, or the part of nemo, or part mer itself
1107 tadzik | does that make sense?
1107 Aard | yes
1109 Aard | so the current approach is: architecture split into hw-adaptation, middleware and ui-level. those are then split into areas (like, backup, connectivity, contacts, ...), containing a
| few paragraphs with links to additional resources + explanation why it was chosen
1110 Aard | it's cross referenced with a 'technology list', which is split into areas as well, and just contains short details: component name, repository url, license, dependency graph
1110 Aard | at least the '
β”Œβ”€[tadzik@yavin]─[~]
└─[%]─> cat script.pl
use strict;
use warnings;
use feature 'say';
use File::Copy;
mkdir 'empty';
chdir 'empty';
my $from = 'one';
β”Œβ”€[tadzik@yavin]─[/tmp]
└─[%]─> ls chuj
DUPA script.pl
β”Œβ”€[tadzik@yavin]─[/tmp]
└─[%]─> /usr/bin/perl chuj/script.pl chuj
No need to move chuj/script.pl, it is already in lower case.
/tmp/chuj
Moving chuj/DUPA to chuj/dupa...
β”Œβ”€[tadzik@yavin]─[/tmp]
└─[%]─> ls chuj
β”Œβ”€[tadzik@yavin]─[/tmp/chuj]
└─[%]─> ls
DUPA script.pl
β”Œβ”€[tadzik@yavin]─[/tmp/chuj]
└─[%]─> /usr/bin/perl script.pl .
No need to move ./script.pl, it is already in lower case.
Moving ./DUPA to ./dupa...
β”Œβ”€[tadzik@yavin]─[/tmp/chuj]
└─[%]─> ls
dupa script.pl
$SIG{QUIT} = 'nope';
$SIG{INT} = 'nope';
$SIG{STOP} = 'nope';
while (1) {
print "choo choo\n";
sleep 1;
}
tadzik@kashyyyk:~/src/UnrealEngine/Engine/Binaries/Linux$ ./UE4Editor
Using binned.
Increasing per-process limit of core file size to infinity.
LogInit:Display: Running engine without a game
LogInit: Version: 4.5.1-0+UE4
LogInit: API Version: 0
LogInit: Compiled (64-bit): Oct 19 2014 18:53:49
LogInit: Compiled with Clang: 3.4 (tags/RELEASE_34/final)
LogInit: Build Configuration: Development
LogInit: Branch Name: UE4
set background=dark
highlight clear
if exists("syntax on")
syntax reset
endif
let g:colors_name = "yellowish"
highlight Normal ctermfg=yellow cterm=bold guifg=yellow guibg=#1B1D1E
highlight Identifier ctermfg=yellow cterm=bold guifg=yellow gui=none