Clone Mastodon's repository.
# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live
cd ~/live
// type i | |
message DAMFile { | |
repeated Chunk chunk = 1; | |
repeated QuantizedChunk quantized_chunk = 2; | |
} | |
// type "o" | |
message Chunk { | |
required Vertices vertices = 1; | |
required Faces faces = 2; |
#!/bin/sh | |
echo '' | |
echo ' __________' | |
echo ' / ___ ___ \' | |
echo ' / / @ \/ @ \ \' | |
echo ' \ \___/\___/ /\' | |
echo ' \____\/____/||' | |
echo ' / /\\\\\//' | |
echo ' | |\\\\\\' |
#!/bin/python3 | |
# Fork of https://gist.github.com/davej/113241 | |
# Requirements: | |
# - twitter API credentials (replace the correponding variables) | |
# - tweet.js file you get by extracting your twitter archive zip file (located in data/) | |
# License : Unlicense http://unlicense.org/ | |
import tweepy | |
import |
// Tracking cursor position in real-time without JavaScript | |
// Demo: https://twitter.com/davywtf/status/1124146339259002881 | |
package main | |
import ( | |
"fmt" | |
"net/http" | |
"strings" | |
) |
import React from 'react'; | |
import { storiesOf } from '@storybook/react'; | |
import { action } from '@storybook/addon-actions'; | |
import InlineMonacoEditor from './InlineMonacoEditor'; | |
export const LINES = [ | |
'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', | |
'Aenean aliquet, nulla eget auctor porttitor, lacus urna', | |
'posuere purus, at suscipit orci sapien quis est. Curabitur', |
#!/usr/bin/env bash | |
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
# https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
# https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
# https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
# https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
# Versions | |
CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE` |