Skip to content

Instantly share code, notes, and snippets.

View ferdi2005's full-sized avatar
💻
Fatti non foste a viver come bruti, ma per seguir virtute e canoscenza

Ferdinando Traversa ferdi2005

💻
Fatti non foste a viver come bruti, ma per seguir virtute e canoscenza
View GitHub Profile
@ferdi2005
ferdi2005 / persone.rb
Created June 4, 2020 09:43
Chi dovrà fare la wiki?
persone = "Ferdinando Traversa
Valerio Bozzolan
Francisco Ardini
Federico Massi
Roberto Guido
WebEngineer
Pierpaolo
Pellegrino Prevete
Dario Crespi
Lou Marsicano
@ferdi2005
ferdi2005 / shitpost.rb
Created May 19, 2020 07:29
S H I T P O S T S E N T E N C E S E A S I L Y W I T H T H I S R E A L L Y S I M P L E A N D M A G I C S C R I P T
puts 'Inserire la frase da S H I T P O S T A R E'
shitpost = gets.chomp
newpost = shitpost.upcase.split(//)
newpost.map! do |sub|
sub += ' '
end
puts newpost.join(' ')
10005 silly extract indexof@0.0.1
10006 silly tarball trying is-number@^3.0.0 by hash: sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=
10007 silly tarball trying kind-of@^3.0.2 by hash: sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=
10008 silly tarball trying is-buffer@^1.1.5 by hash: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==
10009 silly tarball trying is-binary-path@^1.0.0 by hash: sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=
10010 silly tarball trying underscore@~1.6.0 by hash: sha1-izixDKze9jM3uLJOT/htRa6lKag=
10011 silly tarball trying ipaddr.js@1.0.5 by hash: sha1-X6eM8wG4JceKvDBC2BJyMEnqI8c=
10012 silly tarball trying readable-stream@~1.1.9 by hash: sha1-fPTFTvZI44EwhMY23SB54WbAgdk=
10013 silly tarball trying inherits@2 by hash: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
10014 silly tarball trying indexof@0.0.1 by hash: sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=
@ferdi2005
ferdi2005 / 2019-09-19T19_03_18_688Z-debug.log
Created September 19, 2019 19:05
/Users/ferdi2005/.npm/_logs/2019-09-19T19_03_18_688Z-debug.log
10005 silly extract is-binary-path@1.0.1
10006 silly extract underscore@1.6.0
10007 silly extract ipaddr.js@1.0.5
10008 silly extract readable-stream@1.1.14
10009 silly extract inherits@2.0.4
10010 silly extract indexof@0.0.1
10011 silly extract crc@3.8.0
10012 silly extract buffer@5.4.3
10013 silly extract ieee754@1.1.13
10014 silly tarball trying is-buffer@^1.1.5 by hash: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Out of memory error
It looks like your server ran out of memory while compiling assets. Consider upgrading your server to the next tier of RAM to solve this problem.
-----> Deploying to do
-----> Connecting to do (167.99.244.102 port 22) as deploy
Uploaded .hatch/action-203962.sh
@ferdi2005
ferdi2005 / gist:b1eefa1663ca6eb24acd6152de042193
Created August 28, 2019 12:57
Codice per il redirect sicuro
<meta http-equiv="refresh" content="0;URL=https://it.wikipedia.org/wiki/Progetto:Wiki_Loves_Monuments_2019/Monumenti/Puglia">
@ferdi2005
ferdi2005 / TRIM-blacklist.txt
Created July 10, 2018 12:29
TRIM uncompatible devices
static const struct ata_blacklist_entry ata_device_blacklist [] = {
/* Devices with DMA related problems under Linux */
{ "WDC AC11000H", NULL, ATA_HORKAGE_NODMA },
{ "WDC AC22100H", NULL, ATA_HORKAGE_NODMA },
{ "WDC AC32500H", NULL, ATA_HORKAGE_NODMA },
{ "WDC AC33100H", NULL, ATA_HORKAGE_NODMA },
{ "WDC AC31600H", NULL, ATA_HORKAGE_NODMA },
{ "WDC AC32100H", "24.09P07", ATA_HORKAGE_NODMA },
{ "WDC AC23200L", "21.10N21", ATA_HORKAGE_NODMA },
{ "Compaq CRD-8241B", NULL, ATA_HORKAGE_NODMA },
<?php
if($msg == "/itastiera")
{
$menu[] = array(
array(
"text" => "bottone1",
"callback_data" => "/test1"),
array(
"text" => "bottone2",
"callback_data" => "/test2"),