I want to listen to my music from command line,
but I have a meeting in 20 minutes!
timeout 20m pianobar || reset^ use this one
| name: adds todays date to master branch at 7am eastern time, 11am utc | |
| on: | |
| schedule: | |
| - cron: "0 11 * * *" | |
| # on: | |
| # push: | |
| # branches: | |
| # - master | |
| jobs: |
| import { useEffect } from 'react'; | |
| // ... | |
| const { var1, var2, var3 } = props | |
| useEffect(() => { | |
| console.log('tell me what loaded first time', { var1, var2, var3 }) | |
| }, []) | |
| useEffect(() => { | |
| console.log('tell me what changed plz ', { var1, var2, var3 }) | |
| }) |
| *** Settings *** | |
| Library SeleniumLibrary | |
| Documentation | |
| ... My First Test | |
| ... This test will Verify Google | |
| *** Keywords *** | |
| Navigate To Google |
| # The bash command `history | grep abc` is a neat tool. I abuse it alot. | |
| # So, I wrote a module that would list or search through iex history. | |
| # https://dev.to/sushant12/list-all-history-in-iex-408b | |
| # I prefer to put this module in my .iex.exs file and then import the .iex.exs file into my project. | |
| defmodule History do | |
| def search do | |
| load_history() | |
| |> Enum.with_index(1) | |
| |> Enum.each(fn {value, index} -> |
JavaScript does not bother you too much with types (at first), which is both a blessing and a cure. But we all know the Boolean type. Boolean variables can either be true or false. Yes or no.
Every value in JavaScript can be translated into a boolean, true or false. Values that translate to true are truthy, values that translate to false are falsy. Simple.
This is about two ways to make that translation.
| #!/usr/bin/env bash | |
| find node_modules \( -name '__tests__' -o \ | |
| -name 'test' -o \ | |
| -name 'tests' -o \ | |
| -name 'powered-test' -o \ | |
| -name 'docs' -o \ | |
| -name 'doc' -o \ | |
| -name '.idea' -o \ | |
| -name '.vscode' -o \ | |
| -name 'website' -o \ |
| import React, {Component} from 'react'; | |
| import {TextInput, View, Keyboard} from 'react-native'; | |
| import {Constants, Notifications, Permissions} from 'expo'; | |
| export default class Timer extends Component { | |
| onSubmit(e) { | |
| Keyboard.dismiss(); | |
| const localNotification = { | |
| title: 'done', |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| typedef unsigned long u64; | |
| typedef void enc_cfg_t; | |
| typedef int enc_cfg2_t; | |
| typedef __int128_t dcf_t; | |
| enc_cfg_t _ctx_iface(dcf_t s, enc_cfg2_t i) { |
| const listeners = (function listAllEventListeners() { | |
| let elements = []; | |
| const allElements = document.querySelectorAll('*'); | |
| const types = []; | |
| for (let ev in window) { | |
| if (/^on/.test(ev)) types[types.length] = ev; | |
| } | |
| for (let i = 0; i < allElements.length; i++) { | |
| const currentElement = allElements[i]; |