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} -> |
#!/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) { |
Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources (e.g. fonts) on a web page to be requested from another domain outside the domain from which the first resource was served. This is set on the server-side and there is nothing you can do from the client-side to change that setting, that is up to the server/API. There are some ways to get around it tho.
Sources : MDN - HTTP Access Control | Wiki - CORS
CORS is set server-side by supplying each request with additional headers which allow requests to be requested outside of the own domain, for example to your localhost
. This is primarily set by the header:
Access-Control-Allow-Origin
Table of Contents