- foo
- bar
- baz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/csv" | |
"encoding/json" | |
"fmt" | |
"io" | |
"log" | |
"os" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"os" | |
"github.com/miekg/dns" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "adoptopenjdk/openjdk" | |
tap "benbjohnson/litestream" | |
tap "buildkite/buildkite" | |
tap "buildkite/cli" | |
tap "charmbracelet/tap" | |
tap "d12frosted/emacs-plus" | |
tap "filosottile/musl-cross" | |
tap "formulate-dev/tap" | |
tap "gscreen/gscreen", "git@github.com:gscreen/homebrew-gscreen" | |
tap "homebrew/bundle" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enable color support of ls and also add handy aliases | |
if [ -x /usr/bin/dircolors ]; then | |
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" | |
alias ls='ls --color=auto' | |
#alias dir='dir --color=auto' | |
#alias vdir='vdir --color=auto' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlite3 | |
import requests | |
import yaml | |
import base64 | |
conn = sqlite3.connect('/path/to/recipes_2.db') | |
conn.row_factory = sqlite3.Row | |
c = conn.cursor() | |
def downloadAsBase64(url): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns antonyms.core | |
(:gen-class) | |
(:require [clj-http.client :as client])) | |
(use 'clojure.java.io) | |
(defn process-file | |
"Call func once for with each line in filename" | |
[filename func] | |
(with-open [rdr (reader filename)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns antonyms.core | |
(:gen-class) | |
(:require [clj-http.client :as client])) | |
(use 'clojure.java.io) | |
(defn antonym-for | |
[word] | |
(let [api-key "8c1e369f560ac4b0acfff71c674b37d6" | |
server-url (str "http://words.bighugelabs.com/api/2/" api-key "/" word "/json") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x = "Akshay Gupta <kitallis@nilenso.com>, Aninda Kundu <aninda@nilenso.com>, Asif Kalam <asif@nilenso.com>, Jasim <jasim@nilenso.com>, Jithu Gopal <jithu@nilenso.com>, Neha Kumari <neha@nilenso.com>, Nivedita <nid@nilenso.com>, Nivedita Priyadarshini <nid@nilenso.com>, Prashant Karpe <prashant@nilenso.com>, Srihari Sriraman <srihari@nilenso.com>, Srushti Ambekallu <srushti@nilenso.com>, Steven Deobald <steven@nilenso.com>, Tejas Dinkar <tejas@nilenso.com>" | |
x.scan(/\<([^>]+)\>/).flatten.each do |str| | |
system "heroku sharing:add -r production #{str}" | |
end |
NewerOlder