172 liens privés
A gem that helps to detect potential memory bloats.
When your controller loads a lot of data to the memory but returns a small response to the client it might mean that you're using the IO in the non–optimal way. In this case, you'll see the following message in your logs:
Completed 200 OK in 349ms (Views: 2.1ms | ActiveRecord: 38.7ms | ActiveRecord Payload: 866.00 B | Response Payload: 25.00 B | Allocations: 72304)
Add this line to your application's Gemfile:
Currently gem can collect the data from
GitHub - web3labs/sirato-free: Ethereum, Hyperledger Besu, Quorum and VMware Blockchain for Ethereum blockchain explorer
Ethereum, Hyperledger Besu, Quorum and VMware Blockchain for Ethereum blockchain explorer - GitHub - web3labs/sirato-free: Ethereum, Hyperledger Besu, Quorum and VMware Blockchain for Ethereum blo...
xsv is a command line program for indexing, slicing, analyzing, splitting and joining CSV files. Commands should be simple, fast and composable:
Simple tasks should be easy. Performance trade offs should be exposed in the CLI interface. Composition should not come at the expense of performance.
Will accept any TCP connection and echo back a HTTP response with the
entire content of the incoming TCP connection.
The server makes no attempt to understand the incoming HTTP request
hence it doesn't know when the request is completed and therefore just
terminates the TCP connection 2 seconds after the first data packet.
To setup a simple echo-server on Heroku just click this button:
Note that the Heroku routing stack will proxy the incoming request and
add custom HTTP headers.
Alternatively, to start it locally just run (only supported on newer
versions of npm):
Or if you whish to install the module globally:
npm install http-echo-server -g
Just curl the URL of the app:
Alternatively - if installed locally - you can start the server using
http-echo-server, take note of the port it starts on and
then curl it:
Setting listening port
To set the http port, either supply the port as an argument to the
Or use the
PORT environment variable:
export PORT=3005 http-echo-server
Very interesting gem for push notifications.
Must check for later in my tests
Just so you know : that's how it's done.
It does not make a huge effort to follow a jet movements...
Pour faire des sous titres, à tester
1 == my_var "my string" == my_string
DO NOT :
my_var == 1 my_string == 'my_string'
I guess you see where I'm going here : syntax error detected is much better than execution error. zero is great. What about the rest of integers ? What about strings ?
= 0 instead of
== 0 argument does not make much sense anymore, does it ?
My two cents.
I did not "invent" it, I was instructed to do it decades ago.
Discover RustDesk, open source remote desktop software, open source TeamViewer alternative, control your desktop remotely. You have full control of your data, no concerns about security.
Did not use it yet.
One can install on docker his own server instance.
Seems really great.
This is a "must try" for any support team.
Too useful to pass
PC Online scanner
Une série qu'il faut absolument regarder (en français) sur
- l'histoire des Gaules,
- La fabuleuse histoire des Caisses d'épargne,
- Napoléon, stratège,
Avec des bonus sympatoch.
L'histoire ? Pas hilarant ? Reparlons-en !
Parallel, in bash
⛓️Chain ID: 10200
Must learn : metasploit is a vulnerability exploit tool.
- discover vulnerabilities
- inject code to search for vulnerabilities.
I so rarely use windows anymore but to play games, that I completely forgot about these tools...
I thought they fell into oblivion... apparently not, and they have been maintained.
This is a great toolbox for windows users
I use it to share screen/keyboard between machines.
Works with :
- raspberry pi
Market place for music instruments (buy and sell)
Plein d'outils pratiques
emacseditor ? You like
nano better for your usage : then forgetnano
. micro` is just what you're looking for :
- Shortcuts you are familar with ( select with shift + arrows, CTRL + c / CTRL + x / CTRL +v / CTRL + a and much more).
- Integrated help (CTRL +g)
- Integrated "micro" command line (CTRL + e) like you have in vim
- ctrl + q to quit
- Syntax highlighting, completion
- Screen split
Oh, and ... BONUS : usage of the mouse !
sudo apt install micro right away (tested in ubuntu desktop 20.04 / 21.04 / 22.04 and server 22.04 and mint).