Skip to content

Instantly share code, notes, and snippets.

View carlosdagos's full-sized avatar
🏄‍♂️
Gone Surfing

Carlos D'Agostino carlosdagos

🏄‍♂️
Gone Surfing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am carlosdagos on github.
  • I am carlosdagos (https://keybase.io/carlosdagos) on keybase.
  • I have a public key ASB2n9HIzPLiMimbQRJ5beADR2hFk_OblvwaYLb5NbSF5Qo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am charlydagos on github.
  • I am carlosdagos (https://keybase.io/carlosdagos) on keybase.
  • I have a public key ASB2n9HIzPLiMimbQRJ5beADR2hFk_OblvwaYLb5NbSF5Qo

To claim this, I am signing this object:

diff --git a/sources/PseudoTerminal.m b/sources/PseudoTerminal.m
index f6868f3..f703404 100644
--- a/sources/PseudoTerminal.m
+++ b/sources/PseudoTerminal.m
@@ -354,7 +354,6 @@ static NSString* TERMINAL_ARRANGEMENT_HIDING_TOOLBELT_SHOULD_RESIZE_WINDOW = @"H
default:
return (mask |
- NSTitledWindowMask |
NSClosableWindowMask |
<?php
define('DEBUG', isset($argv[2]) && strtolower($argv[2]) == '--debug'); // just set the last one to "--debug"
$locale = explode('.', getenv('LC_ALL'))[1];
echo sprintf('System locale: %s [mb_internal_encoding set to: %s]' . "\n", getenv('LC_ALL'), $locale);
function rotateStringSimple(string $str) : string {
$res = '';
if (DEBUG) echo sprintf('%s String length: %s' . "\n", __FUNCTION__, strlen($str));
<?php
define('DEBUG', isset($argv[2]) && strtolower($argv[2]) == '--debug'); // just set the last one to "--debug"
$locale = explode('.', getenv('LC_ALL'))[1];
echo sprintf('System locale: %s [mb_internal_encoding set to: %s]' . "\n", getenv('LC_ALL'), $locale);
function rotateStringSimple($str) {
$res = '';
if (DEBUG) echo sprintf('%s String length: %s' . "\n", __FUNCTION__, strlen($str));
[carlos|server] ~ \grep HELLO apilog_2014.07.09.log | od -c
0000000   1   4   :   2   7   :   0   0       s   o   f   i   a       c
0000020   a   r   l   o   s   :           A   P   I   L   O   G       H
0000040   E   L   L   O       F   R   I   E   N   D       t   e   s   t
0000060   i   n   g  \n   1   4   :   3   1   :   4   5       s   o   f
0000100   i   a       c   a   r   l   o   s   :           A   P   I   L
0000120   O   G       H   E   L   L   O       F   R   I   E   N   D
0000140   t   e   s   t   i   n   g       6   3   9   0   3  \n
0000156
0000000   1   4   :   2   7   :   0   0       s   o   f   i   a       c
0000020   a   r   l   o   s   :           A   P   I   L   O   G     033
0000040   [   3   6   m 033   [   K   H   E   L   L   O 033   [   m 033
0000060   [   K       F   R   I   E   N   D       t   e   s   t   i   n
0000100   g  \n   1   4   :   3   1   :   4   5       s   o   f   i   a
0000120       c   a   r   l   o   s   :           A   P   I   L   O   G
0000140     033   [   3   6   m 033   [   K   H   E   L   L   O 033   [
0000160   m 033   [   K       F   R   I   E   N   D       t   e   s   t
0000200   i   n   g       6   3   9   0   3  \n

0000212