Skip to content

Instantly share code, notes, and snippets.

View efranelas's full-sized avatar
🌹
Abandoned Account

[abandoned account] efranelas

🌹
Abandoned Account
View GitHub Profile

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@tamecalm
tamecalm / Postgresql-Termux.md
Created August 16, 2019 22:36
Learn How to Create Postgresql Server on Termux Terminal. ### Drop Comments 💧

Termux && Postgresql

How to create Local Database On Termux Terminal

  • Install the Postgresql Servers first to your Termux Terminal.
initdb ~/pg
  • Start the Server
@zeux
zeux / luau_features.pdf
Last active May 22, 2023 20:42
Frequently asked questions about the Lua VM work we (Roblox) are doing.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@soapdog
soapdog / Naive benchmark for Luvit vs Nodejs
Created September 21, 2016 20:23
Naive benchmark for Luvit vs Nodejs
This is a naive benchmark, it may not reflect real world usage. I basically used the same server script for Lua (luvit) and NodeJS
and fired the siege tool against it for 60 seconds and then 120 seconds. Luvit came ahead on both cases.
=== NodeJS 60s ===
Transactions: 18136 hits
Availability: 94.64 %
Elapsed time: 49.61 secs
Data transferred: 0.21 MB
Response time: 0.04 secs
@patxipierce
patxipierce / diceware.wordlist.pt.txt
Last active February 20, 2024 20:18
A diceware wordlist for the Portuguese language.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
11111 a
11112 aa
11113 aaa
11114 aaaa
11115 ab
11116 aba
11121 abaco
@remarkablemark
remarkablemark / README.md
Last active November 12, 2023 07:52
Classes - ES5 vs ES6

JavaScript Classes - ES5 vs ES6

An example that shows the difference between creating a JavaScript class and subclass in ES5 and ES6.

Reference

@subfuzion
subfuzion / curl.md
Last active May 6, 2024 09:53
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@ram-nadella
ram-nadella / trim.lua
Created January 19, 2016 22:40
Trim a lua string
function trim(s)
return (string.gsub(s, "^%s*(.-)%s*$", "%1"))
end
@nkt
nkt / Results.md
Last active September 27, 2023 08:24
ReactPHP vs Node.js

wrk -t4 -c400 -d10s http://127.0.0.1:1337/

PHP

Running 10s test @ http://127.0.0.1:1337/
  4 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
 Latency 7.02ms 6.94ms 82.86ms 85.27%

EDIT from 2019: Hi folks. I wrote this gist for myself and some friends, and it seems like it's gotten posted somewhere that's generated some (ahem, heated) discussion. The whitespace was correct when it was posted, and since then GitHub changed how it formats <pre> tags. Look at the raw text if you care about this. I'm sure someone could tell me how to fix it, but (thank you @anzdaddy for suggesting a formatting workaround) honestly this is a random throwaway gist from 2015, and someone more knowledgable about this comparison should just write a proper blog post about it. If you comment here I'll hopefully see it and stick a link to it up here. Cheers. @oconnor663

Here's the canonical TOML example from the TOML README, and a YAML version of the same.

title = "TOML Example"