Skip to content

Silveira Neto Posts

Cooler Master Hyper 212 Led

Features:

  • an enormous aluminum heat sink (120x120x54.1mm)
  • 4 copper direct contact heatpipes
  • It comes with one 120mm PWM fan, you can by an extra one and have one fan for air intake and another for exhausting air.
  • The fan has snap brackets, you don’t need screws to add or remove them from the heat sink.
  • This model also comes with LEDs in the fan but there is one without.
  • It comes with enough thermal paste for one or two usages.
  • Compatible with Intel® LGA 2011-3/2011/1366/1156/1155/1150/775.
  • Compatible with AMD FM2+/FM2/FM1/AM3+/AM3/AM2+/AM2.
  • This pc cooler usually goes for about $29 but after a coupon and a rebate it went down to $15.

Here is how a regular Intel stock OEM heat sink and fan (left) compares to a Cooler Master Hyper 212 heat sink (right):

As you can see, it is much larger than a regular air cooler.

Cooler Master Hyper 212 size and clearance:

Heat sink:

Fan (with LED):

The Cooler Master HAF 912 case could fit the Hyper 212 but I can see where other cases may not fit this cooler.

Happy π day
#piday2017 #piday.
Instagram: http://ift.tt/2moA5lF

Installing a Cooler Master Hyper 212 Led (CPU cooler). This thing is way bigger than I thought..
Instagram: http://ift.tt/2mB0T4Q

@electricpants @therealadamsavage @braincandylive #tested #vsauce.
Instagram: http://ift.tt/2mNolN5

Finally in my hands, Zelda Breath of the Wild!

#wiiu #zelda #botw #amazonprime.
Instagram: http://ift.tt/2lVuPVE

Cedilha no Ubuntu 16.04

    çççç
  ççç  ççç 
  ççç  ççç 
  ççç 
  ççç 
  ççç  ççç 
    çççç
     çç
    çç

Fiz esse script (cedilha.sh) pra fazer o c-cedilha (ç) funcionar no Ubuntu 16.04. Como é uma tarefa chata que eu já tive que fazer muitas vezes fica mais fácil pra mim ter um script pra fazer isso e pode ser que seja útil a outras pessoas. Infelizmente é uma solução que exige baixar e executar como root um script da internet. Eu recomendo que você leia o script e entenda o que está acontecendo antes de executá-lo. Esse script altera vários arquivos importantes e ele faz um backup (.bak) desses arquivos.

[bash]wget https://raw.githubusercontent.com/silveira/cedilha.sh/master/cedilha.sh
sudo bash cedilha.sh[/bash]

Por favor, se o script funcionou pra você também, diga nos comentários. Se você não está usando Ubuntu 16.04 e quer testar o script ainda assim, edite o script e remova a verificação no inicio do programa.

#7wonders #boardgame.
Instagram: http://ift.tt/2m6BEoP

Replacing with SED and regexes

Let’s say you have a html file called file.html and you want to replace “.jpg” to “.png” but only when in a href of anchor elements.

Example of input:
[html]<a href="alice.jpg">alice<a>
<a href="bob.jpg">bob<a>
something.jpg
href.jpg
<a href="example.com">alice.jpg</a>
<img src="href.jpg">
[/html]

Desired output:
[html]<a href="alice.png">alice<a>
<a href="bob.png">bob<a>
something.jpg
href.jpg
<a href="example.com">alice.jpg</a>
<img src="href.jpg">
[/html]

Notice that only the first two references to “.jpg” were changed to “.png”, the ondes in the href of the anchor.

You can use sed with regexes to achieve this.
[bash]
sed -i -E ‘s/(<a href=".*).jpg(")/\1.png\2/’ file.html
[/bash]

Where:

  • -i for editing the files in-place
  • -E to use a script
  • s// substitute
  • (<a href=”.*) group 1, the string ‘<a href=”‘ followed of any character zero or more times
  • .jpg the .jpg we want to replace
  • (“) group 2, only “
  • \1.png\2 substitute with the same group 1 then .png then the group 2.

“Love forever” by Yayoi Kusama. Plus my head.
#infinitekusama #hirshhorn.
Instagram: http://ift.tt/2lUotaw