Skip to content

Instantly share code, notes, and snippets.

View emafriedrich's full-sized avatar

Emanuel Friedrich emafriedrich

  • Blaze
  • Posadas, Misiones, Argentina
View GitHub Profile
scp -i mykey.pem somefile.txt [email protected]:/
@emafriedrich
emafriedrich / html
Created July 12, 2017 19:55
Break words on overflow on new line
overflow-wrap:break-word;white-space: pre-line;
@emafriedrich
emafriedrich / gist:f380eec94b67fcc7b5c993d96469b670
Created June 23, 2017 16:23
Replace images src with erb <%= image_tag(src) %> in sublime text
Search all images paths on file
\/[\w:-]*\.(png|jpg?e)
replace with
<%=image_path('${0}')%>
ej: