Skip to content

Instantly share code, notes, and snippets.

View marvinpoo's full-sized avatar

Marvin Borisch marvinpoo

View GitHub Profile
@marvinpoo
marvinpoo / stop-tugging-on-my-green-shirt.js
Created March 20, 2025 22:14
stop gugging on my green shirt - the code
let canvasWidth = 800; // Update canvas width
let canvasHeight = 800; // Update canvas height
let threadCount = 425; //tinker
function setup() {
createCanvas(canvasWidth, canvasHeight);
angleMode(DEGREES);
noLoop();
}
@marvinpoo
marvinpoo / QuickCopy of BigDump.php
Last active May 31, 2024 09:47
BigDump to Import huge Database files!
<?php
error_reporting(E_ALL);
// BigDump ver. 0.36b from 2015-04-30
// Staggered import of an large MySQL Dump (like phpMyAdmin 2.x Dump)
// Even through the webservers with hard runtime limit and those in safe mode
// Works fine with latest Chrome, Internet Explorer and Firefox
// Author: Alexey Ozerov (alexey at ozerov dot de)
<?php
/*
Plugin Name: Magic Login: New User TTL
Version : 0.1
Description: Raises the time until the token loses its validity for new users.
License : GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mltimeextender
*/
@marvinpoo
marvinpoo / keybase.md
Created January 25, 2022 13:54
Verifying my Github to Keybase

Keybase proof

I hereby claim:

  • I am marvinpoo on github.
  • I am coppnic (https://keybase.io/coppnic) on keybase.
  • I have a public key ASBggLtJnkg-OU0urSGQZFTnKe0yPBee0fstfV431OXrqAo

To claim this, I am signing this object:

#team-cards {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
@include size(md) {
grid-template-columns: 1fr 1fr 1fr;
}
}
@marvinpoo
marvinpoo / _mediaquery.scss
Created March 10, 2021 10:57
mediaqueries
$medium: 768px;
$large: 1024px;
$xlarge: 1280px;
@mixin size($size) {
@if $size == md {
@media screen and (min-width: $medium) { @content; }
}
@else if $size == lg {
@media screen and (min-width: $large) { @content; }