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
### Keybase proof | |
I hereby claim: | |
* I am chris-asl on github. | |
* I am chris_aslanoglou (https://keybase.io/chris_aslanoglou) on keybase. | |
* I have a public key ASALGNrmkMwB_YU21jOB_pQMrPjOe9tVtkTHVfmATu0Tago | |
To claim this, I am signing this object: |
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
/Users/chris/.nvm/versions/node/v8.15.0/bin/node[47518]: ../src/node.cc:1411:void node::InternalCallbackScope::Close(): Assertion `(env_->execution_async_id()) == (0)' failed. | |
1: node::Abort() [/Users/chris/.nvm/versions/node/v8.15.0/bin/node] | |
2: node::(anonymous namespace)::DomainEnter(node::Environment*, v8::Local<v8::Object>) [/Users/chris/.nvm/versions/node/v8.15.0/bin/node] | |
3: node::InternalCallbackScope::Close() [/Users/chris/.nvm/versions/node/v8.15.0/bin/node] | |
4: node::InternalCallbackScope::~InternalCallbackScope() [/Users/chris/.nvm/versions/node/v8.15.0/bin/node] | |
5: node::PerIsolatePlatformData::RunForegroundTask(std::__1::unique_ptr<v8::Task, std::__1::default_delete<v8::Task> >) [/Users/chris/.nvm/versions/node/v8.15.0/bin/node] | |
6: node::PerIsolatePlatformData::FlushForegroundTasksInternal() [/Users/chris/.nvm/versions/node/v8.15.0/bin/node] | |
7: node::inspector::NodeInspectorClient::runMessageLoopOnPause(int) [/Users/chris/.nvm/versions/node/v8.15.0/bin/node] | |
8: v8_inspector::V8Debugger::h |
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 | |
# Match either cc=hep or anything that does NOT contain cc (as the default | |
# collection is hep). | |
FILTER_HEP_ONLY="(cc=hep)|^(?!.*cc=)" | |
# 1. We want to capture everything that starts after "p=". | |
# Sometimes the query part appears two times in the log entry, and grep captures | |
# the second one that ends with '"'. We exclude double quote so that the engine | |
# stops parsing once it sees this (or "&" which is the normal case). |
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
<?php | |
echo "foo"; | |
$output = shell_exec('ls -lart'); | |
echo "<pre>$output</pre>"; | |
?> |
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
# usefull bash commands for moss | |
# print submission dates | |
reset; ls -l */*.{tar,gz,rar} | awk '{for(i=6;i<=9;i++)printf "%s ",$i;printf "\n"}' | sort | |
# unzip archives | |
find . -type f -name *.tar -print0 | xargs -0 -I file sh -c 'tar -xf file -C `dirname file`' | |
find . -type f -name *.tar.gz -print0 | xargs -0 -I file sh -c 'tar -xzf file -C `dirname file`' | |
find . -type f -name *.rar -print0 | xargs -0 -I file sh -c 'unrar -y e file "`dirname file`"' |