Skip to content

Instantly share code, notes, and snippets.

View Beace's full-sized avatar
🏠
Working from home

Beace Beace

🏠
Working from home
View GitHub Profile
@Beace
Beace / upload-github-release-asset.sh
Created November 9, 2018 08:23 — forked from stefanbuck/upload-github-release-asset.sh
Script to upload a release asset using the GitHub API v3.
#!/usr/bin/env bash
#
# Author: Stefan Buck
# License: MIT
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447
#
#
# This script accepts the following parameters:
#
# * owner
@Beace
Beace / golang_jwt_example.go
Created April 20, 2018 09:05 — forked from otiai10/golang_jwt_example.go
Golang JWT Example (2017/Oct/26)
package main
import (
"log"
jwt "github.com/dgrijalva/jwt-go"
)
type User struct {
Name string `json:"name"`
@Beace
Beace / controllers.js
Created May 21, 2016 13:53 — forked from aaronksaunders/controllers.js
Accessing MongoDB Example Ionic Framework - based on hello sample
angular.module('starter.controllers', [])
.controller('DashCtrl', function ($scope) {
})
.controller('FriendsCtrl', function ($scope, Friends) {
Friends.init()
.then(function (_data) {
console.log(_data.data.deployment_id);
Friends.all().then(function (_data) {