Skip to content

Instantly share code, notes, and snippets.

View poting-lin's full-sized avatar

Po-Ting poting-lin

View GitHub Profile

Mac OSX 開發環境安裝

推薦安裝的應用程式

@poting-lin
poting-lin / feedly_api.md
Created January 14, 2017 13:03 — forked from d3m3vilurr/feedly_api.md
Unofficial Feedly API Document

IDs

  • user_id - user/:uid
  • feed_id - feed/:feed_uri
  • category_id - :user_id/category/:category (special category: global.all, global.uncategorized)
  • tag_id - :user_id/tag/:tag (special tag: global.saved)

APIs

http://cloud.feedly.com/:version/:api

@poting-lin
poting-lin / gist:24bdb00ce594b00f17035e22298ba8de
Created February 19, 2017 18:16 — forked from mestizo/gist:9167834
Completely disable IPv6 on OSX
#To Get List of Hardware
sudo networksetup -listallhardwareports
#To Disable IPv6 on Wifi Adapter
sudo networksetup -setv6off wi-fi
#To Disable IPv6 on Built-in Ethernet Adapter
sudo networksetup -setv6off Ethernet
@poting-lin
poting-lin / onesignal.php
Created June 29, 2018 02:52 — forked from guruguruman/onesignal.php
Managing to send push notification using OneSignal https://onesignal.com/
<?php namespace App\Services;
use GuzzleHttp\Client;
class OneSignal {
const API_URL_ADD_PLAYER = 'https://onesignal.com/api/v1/players';
const API_URL_CREATE_PUSH = 'https://onesignal.com/api/v1/notifications';
const DEVICE_TYPE_IOS = 0;
const DEVICE_TYPE_ANDROID = 1;