Skip to content

Instantly share code, notes, and snippets.

@errordeveloper
errordeveloper / LEIN_GATLING_README.md
Last active December 11, 2015 02:19
Load-test your project with Gatling - the easy way to get started
@searls
searls / japan_guide.md
Last active November 3, 2017 15:19
Japanese Travel Survival Guide

Japanese Travel Survival Guide

Update 8/16/2015: I updated this guide a bit and posted it to Medium

A few notes about things I do when I travel to Japan.

Survival

Travel light

@juliepagano
juliepagano / 101_off_limits.md
Last active December 16, 2020 09:37
101 conversations I generally don't want to have...

This list now exists over at http://juliepagano.com/blog/2013/11/02/101-off-limits/ and will be updated there.

I keep saying that impromptu, unwanted feminism 101 discussions are exhausting and not a good use of my resources. Then people ask what I mean by 101, so I'm starting to make a list. This list will change over time - I recommend checking back.

I highly recommend checking this list before engaging with me about feminism if you're new to it. It'll save both of us a lot of time and frustration.

Diversity in tech

Women aren't equally represented in tech because biology

Nope. This argument is bad and the science does not support it. Unfortunately, every time you say this out loud, you are contributing to cultural problems that do decrease the number of women in tech.

@ceme
ceme / bash_curl_loop
Last active January 19, 2023 13:07
bash curl loop
while true; do sleep 1; curl http://www.google.com; echo -e '\n\n\n\n'$(date);done
@ericelliott
ericelliott / essential-javascript-links.md
Last active July 18, 2024 15:03
Essential JavaScript Links
@tehnoir
tehnoir / getudid.sh
Last active September 24, 2018 19:41
getudid
#!/bin/bash
function getUDID {
udid=($(system_profiler SPUSBDataType | grep -A 11 -w "iPad\|iPhone\|iPod\|AppleTV" | grep "Serial Number" | awk '{ print $3 }'))
if [ -z $udid ]; then
echo "No device detected. Please ensure an iOS device is plugged in."
exit 1
else
for id in "${udid[@]}"; do
if [ ${#id} -eq 24 ]; then
@eevee
eevee / gist:55426e5856f5825317b1
Last active January 28, 2021 22:51
adblock rules to hide mentions from people who don't follow you

Pop open "filter preferences" in adblock plus, and add the following rules to hide mentions from people who don't follow you (and who you don't follow).

For the interactions/notifications page:

twitter.com##.interaction-page [data-follows-you="false"][data-you-follow="false"]:not(.my-tweet)

For the mentions page:

twitter.com##.mentions-page [data-follows-you="false"][data-you-follow="false"]:not(.my-tweet)
import groovy.json.JsonSlurper
import org.sonatype.nexus.repository.storage.Asset
import org.sonatype.nexus.repository.storage.StorageFacet
def DOCKER_REPOSITORY_NAME = 'docker-hosted'
def dockerRepository = repository.repositoryManager.get(DOCKER_REPOSITORY_NAME)
def dockerBlobStore = blobStore.blobStoreManager.get(dockerRepository.configuration.attributes.storage.blobStoreName)
def storageTx = dockerRepository.facet(StorageFacet.class).txSupplier().get()
try {
@dahlia
dahlia / Dockerfile
Last active March 13, 2021 08:10
Running X11 GUI apps through Docker + XQuartz on macOS
FROM ubuntu:17.10
# We don't optimize the size of fslayer here...
RUN apt-get update
RUN apt-get install -y \
software-properties-common \
ttf-ubuntu-font-family \
fonts-ubuntu-title \
fonts-ubuntu-font-family-console
RUN add-apt-repository -y \
#!/bin/bash
license=$1
iq_host=${2:-"localhost:8070"}
user_pwd=${3:-"admin:admin123"}
echo "Installing to ${iq_host}"
cookies="cookies"
## Create session
curl --verbose \