I'm a 20-yr-old polyglot programmer who's been coding since the age of 7. I believe in free, equitable access to information, and giving back to the community.
Personal site: https://thosakwe.com
| let c = new Deno.Command("code", {args:["--open-url", `vscode://vadimcn.vscode-lldb/launch/config?{'request':'attach','pid':${Deno.pid}}`]}).spawn(); |
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
| import { serve, json, validateRequest } from "https://deno.land/x/sift@0.6.0/mod.ts"; | |
| import { InteractionResponseTypes, InteractionTypes, createBot } from "https://deno.land/x/discordeno@18.0.1/mod.ts"; | |
| import nacl from "https://cdn.skypack.dev/tweetnacl@v1.0.3?dts"; | |
| import { withSafeAtomics } from "https://deno.land/x/oktrue@1.1.0/mod.ts"; | |
| // Try it out here: https://discord.gg/5nBCAa45 | |
| const kv = withSafeAtomics(await Deno.openKv()); | |
| serve({ |
I'm a 20-yr-old polyglot programmer who's been coding since the age of 7. I believe in free, equitable access to information, and giving back to the community.
Personal site: https://thosakwe.com
| # Redis Cheatsheet | |
| # All the commands you need to know | |
| redis-server /path/redis.conf # start redis with the related configuration file | |
| redis-cli # opens a redis prompt | |
| # Strings. |
Suppose you want to inject a credential into a Pipeline script. The cloudbees note does not include Pipeline script examples. https://support.cloudbees.com/hc/en-us/articles/203802500-Injecting-Secrets-into-Jenkins-Build-Jobs
The Jenkins Pipeline Docs' description of the git pushmethod doesn't have an example using injected credentials.
(https://jenkins.io/doc/pipeline/examples/#push-git-repo)
The Snippet generator is helpful, but not not if you try to follow the instructions at: https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Binding+Plugin
| s=%w(ABCDEFGHIJKMNOQRSUWXYZ0123456789 "`^' acegmnopqrsuwxyz)######################################## | |
| b='';d=->c{(w=s.find{|a|a[c]})&&(b+=(w.size+w.index(c)).to_s(2)[1..-1])};%(######################### | |
| B^"`^^```^""NB^"`^^```^""NBS4K2DANGSGDJXANGWGDJDBYUS4I2OENGWGDJD""'`"^"'""'J"`^"`^^`"`^DJ"`^"`^^`"`^ | |
| D mqwgmqwa anawoqom NOGGS24NNUZ6YX1BJAWC2IUKE21CCKJFFYZWQM wsereues Z pnaxmxex aomoeooo | |
| C 3MDN7SQJ 2BCEA37Q IBEG24XQOOX082HI6X0QZ51B7HW8WUIE7JYQZ4 ME7JSE6W M RO7GG835 N77U0Y5W | |
| F BDZ6UK1K OMZGQU5K O5WSFIME7JYGE34HOJ1Q525RO7SQ54HD2RGKFI UJE6XYJ4 D Q6FDEMXX KNM0GWW9 | |
| M 6YH4448A 2YH4Z24R Y3UY9MDM27Y0G3IRYXUY9JDM27Y0G3IRZBZ60U 8O6YH4J4 8 OYDDYZS4 A27FNGSG | |
| D `"""'"` xa "'"'"'" 1JIRYUZ65M7E7QWS13IRYZSE1SCMI9G8KCDM3Xg ``""``" 9 ``^^'`` en `^`"^^` | |
| 7F NQSGcsooosasp444WQ3FHY7U4A2OH443IRY3Z6DU4C7FZ0Y5HHI3U0 S21 RZOY G | |
| B xuwpxew "8H3IN27BQW45KOXXY04DA71U8W4RD6YA8GWRM2FE0D5KA27FNW^ psaycsa Y roryxma '" pmswrmz |
| void function() { "use strict" | |
| /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WIP DO NOT USE WIP !!!!!!!!!!!!!!!!!!!!! | |
| DO NOT USE THIS YET. | |
| USE THE 2016 VERSION BELOW PLEASE. | |
| WWWWWWWW WWWWWWWWIIIIIIIIIIPPPPPPPPPPPPPPPPP | |
| W::::::W W::::::WI::::::::IP::::::::::::::::P | |
| W::::::W W::::::WI::::::::IP::::::PPPPPP:::::P |
| /* | |
| var Trait1 = { | |
| method1() {} | |
| }; | |
| var Trait2 = { | |
| method2() {} | |
| }; | |
| var Trait3 = mixin({ |