https://www.youtube.com/shorts/uWEIaF0PNGg
Python optimization trick. Reassign global varibale in local scope specially in loops inside a function.
| { | |
| "id": 7667896, | |
| "txRef": "inv_17292345299xa50uv", | |
| "flwRef": "FLW-MOCK-1f2c29ac6d39368653b4a78a243fe3e9", | |
| "orderRef": "URF_1729234669506_2726735", | |
| "paymentPlan": 69699, | |
| "paymentPage": null, | |
| "createdAt": "2024-10-18T06:57:49.000Z", | |
| "amount": 83550, | |
| "charged_amount": 83550, |
| [ | |
| { | |
| "Currency Name": "United Arab Emirates Dirham", | |
| "ISO Code": "AED" | |
| }, | |
| { | |
| "Currency Name": "Albanian lek", | |
| "ISO Code": "ALL" | |
| }, | |
| { |
https://www.youtube.com/shorts/uWEIaF0PNGg
Python optimization trick. Reassign global varibale in local scope specially in loops inside a function.
ctrl+b+" = Splits the window horizantally
ctrl+c+% = Splits the window vertically
ctrl+d = Drop the current pane
ctrl+b+<arrows> = to switch between pages
ctrl+b+z = Zoom in and out in the current pane
ctrl+b+c = Create a new window
ctrl+b+p = Go to the previous window
ctrl+b+n = Go to the next window \
| const uptime = new Date(Math.floor(process.uptime()) * 1000).toISOString().substr(11, 8) |
I hereby claim:
To claim this, I am signing this object:
| // Inverts the integers of an array | |
| const invert = arr => arr.map(n => -n); | |
| invert([2,-5]); //=> [-2,5] |