This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Client | |
constructor: () -> | |
@xhr = null | |
@requestType = "" | |
@url = "" | |
@headers = {} | |
@data = null | |
@successCallback = (status, data) -> | |
@erroCallback = (status, data) -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
"github.com/m4rw3r/uuid" | |
"gopkg.in/redis.v2" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/base64" | |
"encoding/json" | |
"net/http" | |
"net/url" | |
"strconv" | |
"strings" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ProjectName | |
| | |
|-- Assets | |
|-- Editor | |
|-- SettingsEditor.cs | |
|-- Sctipts | |
|-- Settings.cs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
) | |
func main() { | |
scanner := bufio.NewScanner(os.Stdin) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
msgpack = require('msgpack') | |
class Request | |
constructor: (onSuccess, onError) -> | |
@onSuccess = onSuccess or (statusCode, data) -> | |
@onError = onError or (statusCode, data) -> | |
@xhr = new XMLHttpRequest() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
from __future__ import absolute_import, unicode_literals, print_function | |
import commands | |
import sys | |
COMMAND = "rsync -arv {EXCLUDE} --partial {FROM} {TO}" | |
EXCLUDES = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
from settings import SETTINGS | |
try: | |
from settings_local import SETTINGS as LOCAL_SETTINGS | |
SETTINGS.update(LOCAL_SETTINGS) | |
except ImportError: | |
pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Read Int | |
atoi str = read str ::Int | |
readInt = do | |
line <- getLine | |
let i = atoi line | |
return i | |
--- exsample |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: | |
# Atlassian Stash API | |
# | |
# Dependencies: | |
# None | |
# | |
# Configurations: | |
# None | |
# Commands: | |
# None |