Skip to content

Instantly share code, notes, and snippets.

@gakaki
gakaki / gist:b64a6544b06a28bea2188f0e7a4598e2
Created January 4, 2019 02:16
gitlab with sourcegraph
version: '3'
services:
# gitlab:
# container_name: gitlab
# image: 'gitlab/gitlab-ee:latest'
# restart: always
# environment:
# GITLAB_OMNIBUS_CONFIG: |
# gitlab_rails['gitlab_shell_ssh_port'] = 12222
package main
import (
"encoding/json"
"fmt"
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
"io/ioutil"
"net/http"
"reflect"
@gakaki
gakaki / gist:4731a2a63fc2d8272d610b307deacd3a
Created June 9, 2017 03:23
wwdc2017 movie and code links
https://devstreaming-cdn.apple.com/videos/wwdc/2017/604r7b4rnjq86/604/604_hd_scenekit_whats_new.mp4?dl=1
https://devstreaming-cdn.apple.com/videos/wwdc/2017/603anuihzisyb2a3/603/603_hd_vr_with_metal_2.mp4?dl=1
https://devstreaming-cdn.apple.com/videos/wwdc/2017/507koao27wdpt/507/507_hd_capturing_depth_in_iphone_photography.mp4?dl=1
https://devstreaming-cdn.apple.com/videos/wwdc/2017/514tjrrgnguh4k/514/514_hd_error_handling_best_practices_for_http_live_streaming.mp4?dl=1
https://devstreaming-cdn.apple.com/videos/wwdc/2017/515vy4sl7iu70/515/515_hd_hls_authoring_update.mp4?dl=1
https://devstreaming-cdn.apple.com/videos/wwdc/2017/513fzgbviu23l/513/513_hd_high_efficiency_image_file_format.mp4?dl=1
https://devstreaming-cdn.apple.com/videos/wwdc/2017/506jgz9rblchh/506/506_hd_vision_framework_building_on_core_ml.mp4?dl=1
https://devstreaming-cdn.apple.com/videos/wwdc/2017/505e36yrkhhfv/505/505_hd_whats_new_in_photos_apis.mp4?dl=1
https://devstreaming-cdn.apple.com/videos/wwdc/2017/707h2gkb95cx1l/707/707_hd_advances_i
###mac 开源osx 客户端
##手柄类
###enjoyable https://yukkurigames.com/enjoyable/
@gakaki
gakaki / jquery plugins site
Created August 19, 2014 09:25
some use full jquery plugin site collections
https://github.com/search?q=jquery+form&ref=cmdform
http://www.oschina.net/question/28_46196
http://www.jq22.com/
http://www.jqueryrain.com/
@gakaki
gakaki / wwdc2014_fetch_list
Last active August 29, 2015 14:02
WWDC2014 Fetch videos and pdf with title and id and platforms
// these code can simply get wwdc2014 videos and pdfs get it into the download tools
// https://developer.apple.com/videos/wwdc/2014/
// paset it in chrome or safrari
var hds = sds = pdfs = [];
function model_session() {
var tmp = {
title:"",
hd : "",
sd : "",