These things suck:
smart_emojis.mp4
You can fix them by running this in a Terminal:
sudo defaults write /Library/Preferences/FeatureFlags/Domain/UIKit.plist emoji_enhancements -dict-add Enabled -bool NO
npm i
Get an Intercom access token from the Developer Hub
Copy it into export.js here:
// src/index.js | |
var src_default = { | |
async fetch(request, env, ctx) { | |
const url = new URL(request.url); | |
if (url.pathname === "/") { | |
let res = await fetch(request); | |
return res; | |
} | |
if (url.pathname.startsWith("/example/")) { | |
let res = await fetch(request); |
from setuptools import setup | |
setup(name='MyShell-OpenVoice', | |
version='0.0.0', | |
description='Instant voice cloning by MyShell.', | |
long_description=open('README.md').read().strip(), | |
long_description_content_type='text/markdown', | |
keywords=[ | |
'text-to-speech', | |
'tts', |
var properties = PropertiesService.getScriptProperties(); | |
var service = "MyService" | |
var url = "http://example.com"; | |
var email = "you@gmail.com"; | |
function parseDate(date_string) { | |
return new Date(Date.parse(date_string)).toISOString(); | |
} |
#!/usr/bin/env python3 | |
import binascii | |
content = '' | |
with open('hacker.txt') as f: | |
content = f.read().splitlines() | |
line = ''.join(content) | |
n = 8 | |
lines = [line[i:i+n] for i in range(0, len(line), n)] |
/* Fading an LED in and out to produce a glow effect | |
via the PWM pins. | |
*/ | |
int timer = 10; | |
int pin = 3; | |
int val = 0; | |
void setup(){ | |
pinMode(pin, OUTPUT); |
import signal | |
import time | |
import logging | |
import RPi.GPIO as GPIO | |
from collections import deque | |
from threading import Thread, Lock, Event | |
from twilio.rest import Client | |
from blink1_pyusb import Blink1 | |
DRY_RUN = True |
#!/usr/bin/env bash | |
# | |
# Write a Storm configuration from environment variables. | |
# | |
# Environment variables namespaced with `MESOS_STORM_` | |
set -o errexit | |
set -o nounset |
#!/bin/bash | |
# Comments: | |
# 1. You must add execution rights to this file (chmod u+x pre-commit) | |
# 2. You need to have the 'jq' package installed to parse the json | |
if [ "$(command -v jq )" == "" ] ; then | |
echo "jq required for pre-commit hook $0" | |
exit 1 | |
fi |