Skip to content

Instantly share code, notes, and snippets.

View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
View AnimationName-1611504399568-54.css
.css-selector {
    fond: gradient linéaire ( 270deg , # c2c6dd, # c9d5ac, # eedf63);
    background-size:600% 600%;
    -webkit-animation: AnimationNom 53s facilité infinie;
    -moz-animation: AnimationNom 53s facilité infinie;
    -o-animation: AnimationNom 53s ease infinite;
    animation: AnimationNom 53s facilité infinie;
}
@ -webkit-keyframes AnimationName {
    0% {background-position: 0% 62% }
View untrusted-lvl2-solution.js
/********************
* theLongWayOut.js *
********************
*
* Well, it looks like they're on to us. The path isn't as
* clear as I thought it'd be. But no matter - four clever
* characters should be enough to erase all their tricks.
*/
function startLevel(map) {
@semihkeskindev
semihkeskindev / docker-compose.yml
Created Jan 24, 2021
MsSQL (Microsoft SQL Server) Docker Compose File
View docker-compose.yml
version: '3'
services:
mssql-server-linux:
image: microsoft/mssql-server-linux:latest
volumes:
- mssql-server-linux-data:/var/opt/mssql/data
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=${SQLSERVER_SA_PASSWORD:-yourStrong(!)Password}
View lukas_doppeldecker.py
import vpython as v
xpointer = v.arrow(
pos = v.vector(0,0,0),
axis= v.vector(1,0,0),
shaftwidth = 0.1,
color=v.color.yellow,
)
ypointer = v.arrow(
pos = v.vector(0,0,0),
@valentind44
valentind44 / Update-AUPackages.md
Created Jan 24, 2021
Update-AUPackages Report #powershell #chocolatey
View Update-AUPackages.md
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Jan 24, 2021
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Sunday, January 24, 2021, 7:05:21 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.0.4.0]: 0Harmony(2.0.2), HarmonyMod(1.0.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:8.0.1]: 0Harmony(av:2.0.2,fv:1.2.0.1), HugsLib(av:1.0.0,fv:8.0.1)
Empire(Saakra.Empire)[mv:0.354]: FactionColonies(1.0.0)
Stack XXL(Indeed.StackXXL)[ov:1.0.0]: StackXXL(1.0.0)
QualityBuilder(hatti.qualitybuilder): 0Harmony(av:2.0.2,fv:1.2.0.1), QualityBuilder(av:1.0.14,fv:1.0.14)
Work Tab(fluffy.worktab)[mv:3.21.303]: FluffyExperiment(av:3.0.0,fv:3.8.1063), FluffyUI(1.0.0.34310), WorkTab(av:3.0.0,fv:3.21.308)
View solid-L-wrong-abstraction.cs
public class Transaction
{
public virtual long OriginalAmount { get; set; }
public virtual long InterestAmount { get; set; }
}
public class CreditCardTransaction : Transaction
{
}
@pixelbucket-dev
pixelbucket-dev / stencil-helper.js
Last active Jan 24, 2021 — forked from dogoku/stencil-helper.js
Helper functions that simplify compiling and running stencil source code in the browser – using worker for transpilation
View stencil-helper.js
const myWorker = new Worker('worker.js'/* , { type: 'module' } */);
// auto inject the h import, to reduce boilerplate required in source
const h = "import { h } from 'https://cdn.skypack.dev/@stencil/core';\n";
function addHToSources(sources) {
return sources.map(source => h + source);
}
export async function compileStencil(sources) {
if (!sources || !sources.length) {