I hereby claim:
- I am joaolucasl on github.
- I am joaolucasluc (https://keybase.io/joaolucasluc) on keybase.
- I have a public key ASA1BxSGDppv9GSDaGWyseu4Bz5Nny6n-8o7uPdLAQfc9go
To claim this, I am signing this object:
[{ | |
"numero": "1", | |
"pergunta": "Qual é o fim principal do homem?", | |
"resposta": "O fim principal do homem é glorificar a Deus, e gozá-lo para sempre.", | |
"refs": "Rm 11.36; 1Co 10.31; Sl 73.25-26; Is 43.7; Rm 14.7-8; Ef 1.5-6; Is 60.21; 61.3." | |
}, { | |
"numero": "2", | |
"pergunta": "Que regra deu Deus para nos dirigir na maneira de o glorificar e gozar?", | |
"resposta": "A Palavra de Deus, que se acha nas Escrituras do Velho e do Novo Testamentos, é a única regra para nos dirigir na maneira de o glorificar e gozar.", | |
"refs": "Lc 24.27, 44; 2Pe 3.2, 15-16; 2Tm 3.15-17; Lc 16.29-31; Gl 1.8-9; Jo 15.10-11; Is 8.20; Hb 1:1 comparado com Lc 1.1-4 e Jo 20.30-31." |
I hereby claim:
To claim this, I am signing this object:
a |
//Criar um micro-framework simples que forneça a seguinte API: | |
// Cria um nó virtual que é utilizado na função render | |
function h(tagName, props, children) {} | |
// Recebe um nó virtual e um nó do DOM e renderiza o elemento dentro desse nó. | |
function render(vNode, domNode) {} | |
// Exemplo: | |
import { h, render } from './build.js' |
class ParentComponent extends React.Component | |
{ | |
render() { | |
return ( | |
<input type="text" ref={(field) => this.editText = field} /> | |
) | |
} | |
componentDidMount() { | |
if (this.editText !== null) { | |
this.editText.focus() |
package main | |
import ( | |
"fmt" | |
"github.com/hpcloud/tail" | |
) | |
func main() { | |
t, _ := tail.TailFile("/var/log/syslog", tail.Config{Follow: true}) | |
for line := range t.Lines { |
setInterval(() => { | |
Array.from(document.getElementsByTagName('ts-message')).forEach(item => { item.innerHTML = item.innerHTML.includes('Marcelo Camargo') ? '' : item.innerHTML } ) | |
}, 3000) |
PROGRAM calculator | |
! YOLO Doing Fortran in 2016 | |
! | |
! Hibb is Illuminatti /<o>\ | |
REAL :: num1 ! The target number 1 | |
REAL :: num2 ! The target number 2 | |
REAL :: res ! The result | |
CHARACTER(1) :: op ! The operation |
I have the following configuration/SCSS files related to my Asset Pipeline.
The need is to have a custom CSS file for each controller, such as the home
stylesheet below.
Inside those controller specific stylesheet, several variables, extends, and includes are used. If the SCSS file is imported inside application.scss
, such as:
@import "home"
the variables work fine. But once I remove that declaration and declare the file inside the asset pipeline, the applications runs into an error:
Undefined variable: "$LatoFamily"
#!/bin/bash | |
pushd /tmp | |
echo "Downloading ngrok" | |
rm -f /tmp/ngrok.zip | |
curl --silent https://dl.ngrok.com/ngrok_2.0.19_linux_amd64.zip -o /tmp/ngrok.zip | |
echo "Downloaded" | |
tar -xvf /tmp/ngrok.zip | |
if echo "$PATH" | grep /usr/local/bin; then | |
echo -e "\n Enter pwd if prompted" |