Skip to content

Instantly share code, notes, and snippets.

View TopRoupi's full-sized avatar
💬

Breno Nunes TopRoupi

💬
  • Brazil, SP São Paulo
  • 10:19 (UTC -03:00)
View GitHub Profile
@georgekettle
georgekettle / PhlexMailerLayout.rb
Last active February 25, 2024 22:27
Phlex Mailer layout
You'll need to update the following variables:
- ENV['APP_NAME']
- ENV['COMPANY_ADDRESS']
- ENV['HOST']
Make sure you have app/assets/images/logo.svg for this line:
helpers.image_url('logo.svg')
And also update the CSS variables to match your color scheme:
:root {
@julianrubisch
julianrubisch / _article.html.erb
Last active November 9, 2020 14:34
StimulusReflex Selector Morph
<%= article.title # ... etc %>
@hahastudio
hahastudio / mandelbrot.py
Created November 19, 2012 10:29
A Mandelbrot-Shaped Python Script that generate a Mandelbrot Fractal
_ = (
255,
lambda
V ,B,c
:c and Y(V*V+B,B, c
-1)if(abs(V)<6)else
( 2+c-4*abs(V)**-0.4)/i
) ;v, x=1500,1000;C=range(v*x
);import struct;P=struct.pack;M,\
j ='<QIIHHHH',open('M.bmp','wb').write