Skip to content

Instantly share code, notes, and snippets.

View Flyingmana's full-sized avatar
📄
Fighting against bureaucracy

Daniel Fahlke Flyingmana

📄
Fighting against bureaucracy
View GitHub Profile
@Flyingmana
Flyingmana / command.sh
Last active December 14, 2017 08:56
git lts git-log comparison
git log --no-merges --topo-order --pretty=oneline
# explaination:
--no-merges
Do not print commits with more than one parent. This is exactly the same as --max-parents=1.
--topo-order
Show no parents before all of its children are shown, and avoid showing commits on multiple lines of history intermixed.

Keybase proof

I hereby claim:

  • I am flyingmana on github.
  • I am flyingmana (https://keybase.io/flyingmana) on keybase.
  • I have a public key whose fingerprint is 2E12 224C B82B B39F CC68 719A C086 9E64 3724 DC3B

To claim this, I am signing this object:

## v19.4.4 - unreleased
@Flyingmana
Flyingmana / clone_and_go.php
Created June 28, 2020 10:25
scripts to help change the default branch in PHP projects
<?php
passthru("cd ".__DIR__);
if (!isset($argv[1])) {
throw new Exception("no argument?");
}
$repo = $argv[1];
$directory = "4_".basename($repo, '.git');
var_dump($repo, $directory);
@Flyingmana
Flyingmana / config.php
Created July 2, 2020 09:06
OpenMage Phan config
<?php
// local test: php phan.phar --allow-polyfill-parser --long-progress-bar > .phan/output.log
// for travis arguments: --disable-cache --long-progress-bar --allow-polyfill-parser
/**
* This configuration will be read and overlaid on top of the
* default configuration. Command-line arguments will be applied
* after this file is read.