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
View conferences.md
@girliemac
girliemac / slackapi-async-await.js
Last active March 9, 2021 08:04
Examples of calling Slack Web API method via HTTP with axios
View slackapi-async-await.js
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
View keybase.md

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:

@girliemac
girliemac / us-states.json
Created September 26, 2014 19:18
TopoJSON: US Map by States
View us-states.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@girliemac
girliemac / cordova-01.html
Last active July 2, 2018 19:07
Snippets for blog, "Sending iOS Push Notifications via APNS in JavaScript using PhoneGap and PubNub"
View cordova-01.html
<script type="text/javascript" src="js/PushNotification.js"></script>
<script type="text/javascript" src="//cdn.pubnub.com/pubnub-3.7.4.min.js"></script>
@girliemac
girliemac / social-meta.html
Last active April 25, 2018 18:37
Social Meta for Twitter and Facebook
View social-meta.html
<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">
View slack-emoji-list.json
{
"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 / 0.txt
Last active October 19, 2017 01:11
Snippets for D3 Bubble Chart blog
View 0.txt
Demo: http://pubnub.github.io/d3-bubble/
Tutorial: http://www.developer.com/java/fun-with-d3.js-data-visualization-eye-candy-with-streaming-json.html
@girliemac
girliemac / config.2.xml
Last active October 18, 2017 20:52
[Blog] Turning Your JavaScript Chat App Into Android and iOS App with PhoneGap
View config.2.xml
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.pubnub.com" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>SimpleChat</name>
...
<platform name="ios">
<icon src="app-icon-ios.png" />
...
</platform>
@girliemac
girliemac / cordova-1.html
Last active October 18, 2017 17:39
Snippets for blog, "Sending Android Push Notifications via GCM in JavaScript using PhoneGap and PubNub"
View cordova-1.html
<script type="text/javascript" src="js/PushNotification.js"></script>
<script type="text/javascript" src="https://cdn.pubnub.com/pubnub-3.7.4.min.js"></script>