Skip to content

Instantly share code, notes, and snippets.

@Fiona1729
Fiona1729 / lawena
Created Nov 5, 2021
Lawena settings for HLAE
View lawena
// Campath stuff
bind c "mirv_campath add"
bind v "mirv_campath clear"
bind x "mirv_input camera"
bind b "mirv_campath save temppath; mirv_campath load temppath; mirv_campath enabled 1"
// Demo playback
bind h demo_togglepause
bind j thirdperson
bind n "mirv_campath load temppath; mirv_campath enabled 1"
View keybase.md

Keybase proof

I hereby claim:

  • I am fiona1729 on github.
  • I am fiona1729 (https://keybase.io/fiona1729) on keybase.
  • I have a public key ASC0q0nLXLCSpUBeIkqRMHwcydCDaI6S0MHG0a5g77cfywo

To claim this, I am signing this object:

@Fiona1729
Fiona1729 / ghckiller.hs
Created Jun 30, 2020
GHC Killer using undecidable typechecking
View ghckiller.hs
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE FlexibleInstances #-}
{-# OPTIONS_GHC -freduction-depth=0 #-}
class X a where y :: a
instance X [a] => X a where y = undefined
main = print (y :: int)
View keybase.md

Keybase proof

I hereby claim:

  • I am theplasmarailgun on github.
  • I am finianb1 (https://keybase.io/finianb1) on keybase.
  • I have a public key ASDuhhtj-EyQXmPqLwukJZx2f2OiqQcOwyFtvQu1qTUfaQo

To claim this, I am signing this object:

@Fiona1729
Fiona1729 / hello_world.c
Last active Jun 13, 2019
Obfuscated Hello World in Python 3
View hello_world.c
#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#define w(h)copysign(1.0,h)
typedef int D;typedef float I;struct _{I a;I b;};typedef struct _ F;D f(D p){if(p<1){return 1;}else{return p*f(
p-1);}}I u(D s){I z=0;for(D k=0;k<s;k++){z+=pow(-1,k)*(f(6*k))/((pow(f(k),3))*(f(3*k)))*(13591409+545140134*k)/
(pow(640320,(3*k)));}return pow((z*pow(10005,0.5)/4270934400),-1);}I e(D n){I j=2;for(D i=2;i<n;i++){j+=1.0/f(i
);}return j;}I r(I h,I g){if(h>1.0||h<-1.0){return-r(1.0/h,g)+w(h)*g/2.0;}if(h==1.0||h==-1.0){return g/4.0;}I j
=0.0;for(D z=0;z<100;z++){j+=pow(-1.0,(I)z)*(pow(h,(2.0*(I)z+1.0))/(2.0*(I)z+1.0));}return j;}F s(I n,I g,I a[]
){if(n<-g/2.0||n>g/2.0){F j;if(n<0){j=s(n+g,g,a);}else{j=s(n-g,g,a);}I x=j.a;I y=j.b;F v={-x,-y};return v;}I x=