Skip to content

Instantly share code, notes, and snippets.

View girliemac's full-sized avatar
📝
Working mostly on writing docs these days

Tomomi ❤ Imura girliemac

📝
Working mostly on writing docs these days
View GitHub Profile
@girliemac
girliemac / conferences.md
Last active January 9, 2023 21:37
TECHNICAL BLOGS, TUTORIALS, and DOCUMENTATIONS

Conference & Meetup Talks

I have done many conference talks and I honestly do not recll everything, after lanyrd.com, where I used to keep tracks of all my conferences, has shut down. So this is the list where the talks were recorded && I remember. I am pretty sure some are missing!

⭐️: As a keynote speaker

Web, JavaScript, and other technical Conferences

@girliemac
girliemac / slackapi-async-await.js
Last active March 9, 2021 08:04
Examples of calling Slack Web API method via HTTP with axios
const axios = require('axios');
const qs = require('qs');
const apiUrl = 'https://slack.com/api';
const greet = () => {
let messageArgs = {
token: process.env.SLACK_ACCESS_TOKEN,
channel: '#cats',
text: ':wave: Hello, welcome to the channel!',
@girliemac
girliemac / keybase.md
Last active January 11, 2021 00:53
Reset on 1/10/2021

Keybase proof

I hereby claim:

  • I am girliemac on github.
  • I am girlie_mac (https://keybase.io/girlie_mac) on keybase.
  • I have a public key whose fingerprint is D846 171A 2FF9 6E98 7FC5 D01B 1E07 2DBB EBB4 7EC7

To claim this, I am signing this object:

{
"100": "1f4af",
"1234": "1f522",
"interrobang": "2049",
"tm": "2122",
"information_source": "2139",
"left_right_arrow": "2194",
"arrow_up_down": "2195",
"arrow_upper_left": "2196",
"arrow_upper_right": "2197",
@girliemac
girliemac / social-meta.html
Last active April 25, 2018 18:37
Social Meta for Twitter and Facebook
<title>Page Title. up to 60-70 chars</title>
<meta name="description" content="Page description. No longer than 155 characters." />
<!-- Twitter Card data (Large image) -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@publisher_handle">
<meta name="twitter:creator" content="@author_handle">
<meta name="twitter:title" content="Title Here">
<meta name="twitter:description" content="Page description less than 200 characters">
<meta name="twitter:image" content="http://www.example.com/image.jpg">

Keybase proof

I hereby claim:

  • I am girliemac on github.
  • I am girlie_mac (https://keybase.io/girlie_mac) on keybase.
  • I have a public key ASAG2LRi_yJrII2IZXk3GT-hC11s4UuybUhqPUnG7XNB6Ao

To claim this, I am signing this object:

[
{
"action": "talk",
"voice_name": "Kendra",
"text": "Yo, you are listening to a text-to-speech call made with Nexmo's Voice API. Bye now."
}
]
[
{
"action": "talk",
"voiceName": "Chipmunk",
"text": "Pee, pee, ei, pee. I have a pen, I have an apple. Uh! Apple pen! I have a pen, I have pineapple. Uh! Pineapple pen!. Apple-Pen, Pineapple-Pen. Uh! Pen-Pineapple-Apple-Pen. Pen-Pineapple-Apple-Pen"
}
]
@girliemac
girliemac / 01.txt
Created October 25, 2016 02:39
Snippets for my Medium Post: Creating a Slack Command Bot from Scratch with Node.js & Distribute It
command=/httpstatus
text=302
response_url=https://hooks.slack.com/commands/1234/5678 ...
@girliemac
girliemac / geo.js
Last active October 14, 2017 03:44
Geohashing
var lat, lon;
if ('geolocation' in navigator) {
navigator.geolocation.getCurrentPosition(function(position) {
lat = position.coords.latitude;
lon = position.coords.longitude;
console.log('lat: ' + lat);
console.log('lon: ' + lon);
console.log('geohash: ' + geohash(lat, 0) + '' + geohash(lon, 0));