Skip to content

Instantly share code, notes, and snippets.

💭
🐸

Robin Boutros niuage

💭
🐸
Block or report user

Report or block niuage

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View lala.rb
pipe = "kikou.png"
(1..100).step(0.5) do |time|
begin
retries ||= 0
Timeout::timeout(5) do
fork do
`#{command(time, score_crop_options, pipe)}` # runs ffmpeg, writes frame into `pipe`
exit
end
@niuage
niuage / kik.rb
Created Jan 21, 2019
some more dirty experimentation
View kik.rb
require 'rmagick'
require 'open3'
def pixel_at(images, x, y)
values = images.map do |image|
color = image.pixel_color(x, y).red
color < 257 * 150 ? 0 : 1
end
res = values.reduce &:|
@niuage
niuage / sobel_operator.rb
Last active Jan 20, 2019
Quick and dirty test - implementation of the sobel operator algo
View sobel_operator.rb
class Img
def initialize(img)
@img = img
@pixels = img.get_pixels(0, 0, img.columns, img.rows)
end
def at(x, y)
pos = x + y * @img.columns
@pixels[pos].red
end
View gist:16da8861b152fb65b0f1d162b171745f
Fossil combo for foil crafting -
Aetheric, Bound, Pristine.
Hit minion dmg + dmg on full life,
then annul to 1-2 open suffix, 2 open prefix. Catarina 8 for no attack mods, and slam 2x :^)
View My PoE Builds
- 2H spectral throw
- poison arrow trapper
- Self cast freezing pulse (several)
- Tornado shot mines poison (rigwald quills + slivertongue) - deadeye
- Low life spectral throw (80 exa shav at the time)
- Ice shot - raider
- ED - trickster
- solar guards summoner - necromancer
- poison spark - ranger
- Flame totem - witch (several)
View gist:af8166dfcd58aac3db959e1823c8b2cd
Stone Golem from Voll / lvl 34?.
Gems -Sunder (12) - Merveil. Added Fire (8) - Brutus. Faster Attacks (18) / WED (18) -A2
-Righteous Fire 16 / Enduring Cry - A2
-Purity of Fire 24 / Vitality / Vulnerability / Flammability - A3
-Burn (31) / Ele Focus (18) / Conc Eff (18) - Library
-Stone Golem (34) - Voll
-AoE - Malachai
-Shield Charge A1 / Fortify (31) - Library
-Level with Cleave, Added Fire Brutus/Spell Totem
View on-jsx.markdown

Hi Nicholas,

I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I lead the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:

The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can'

View gist:2e763e68aa91907d6e02b5a30294e022
trapper builds in the ladder:
- https://www.pathofexile.com/account/view-profile/spacemouse/characters
this guy has trap cooldown recovery
amazing eva gear
think about droppping the 2 elementage dmg nodes on the left, and take more evasion, mvt speed, and phase accro
@niuage
niuage / digital_ocean_setup.md
Created Nov 8, 2015 — forked from ChuckJHardy/digital_ocean_setup.md
DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3 Setup Instructions
View digital_ocean_setup.md

DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3

Create a Droplet

SSH into Root

$ ssh root@123.123.123.123

Change Root Password

View gist:61b04d036234f1d3eacf
Richard:
- http://www.amazon.com/Baked-Creating-Products-Businesses-Themselves-ebook/dp/B004YW690A/ref=sr_1_1?s=digital-text&ie=UTF8&qid=1425498814&sr=1-1&keywords=baked+in
Clay:
- http://www.amazon.com/How-Make-Sense-Any-Mess/dp/1500615994
Brandon:
- http://www.goodreads.com/book/show/22668729-hooked
Holly:
You can’t perform that action at this time.