Copy the deploy.sh
on root of your project.
Just run ./deploy.sh
(async () => { | |
const twitterClientToken = | |
"AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA"; | |
function getCookie(cname) { | |
const name = cname + "="; | |
const decodedCookie = decodeURIComponent(document.cookie); | |
let ca = decodedCookie.split(";"); | |
for (let i = 0; i < ca.length; i++) { |
#!/usr/bin/env bash | |
### Bash Environment Setup | |
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
# set -o xtrace | |
set -o errexit | |
set -o errtrace | |
set -o nounset | |
set -o pipefail |
<style> | |
/* GraphiQL One Dark Alt (Dark Mode) theme by Ben Keating[1] | |
* Colors taken from Atom's One Dark theme[2]. Add this file to the end of | |
* your <head> block[3] to override built-in default styling. | |
* | |
* [1]. https://twitter.com/flowpoke | |
* [2]. https://github.com/atom/atom/tree/master/packages/one-dark-ui | |
* [3]. e.g. `.../site-packages/graphene_django/templates/graphene/graphiql.html` | |
*/ |
The following will guide you through the process of enabling SSL on a Apache webserver
Create a directory within /etc/apache2/
using Terminal.app: sudo mkdir /etc/apache2/ssl
Next, generate two host keys:
// ABRA O GOOGLE CHROME, PRESSIONE `CTRL + SHIFT + J`, COLE O CÓDIGO ABAIXO E APERTE ENTER | |
const name = window.prompt("Qual seu nome?", "Anonymous"); | |
const bunny = ` | |
<h1>CONGRATS, ${name}! YOU ARE A HACKER NOW!</h1> | |
<h1>Happy Easter!</h1> | |
<pre style="background:#000; text-align:left; max-width:200px; margin:0 auto;"> | |
/ \ | |
/ _ \ | |
| / \ | |
/* | |
Hoje iremos MUDAR a vida da pessoa que não te responde no whatsappp... | |
Que tal enviar mensagens pra ela até obter uma resposta?! | |
Sensacional não acha?! Mas, somos devs, correto?! Então vamos automatizar esse paranauê! | |
Para utilizar: | |
- Abra o web.whatsapp.com; | |
- Selecione a conversa que você quer; | |
- Abra o console e cole o código que está no gist; |
/* | |
* Type definitions for ExcelJS | |
* Project: https://github.com/guyonroche/exceljs | |
* Definitions by: Rycochet https://github.com/Rycochet | |
* | |
* This is a WIP | |
*/ | |
declare namespace ExcelJS { | |
type Zip = any; |
fn is_prime(n: usize, primes: &Vec<usize>) -> bool { | |
for &p in primes { | |
let q = n / p; | |
if q < p { return true }; | |
let r = n - q * p; | |
if r == 0 { return false }; | |
} | |
panic!("too few primes") | |
} |