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
#!/bin/bash | |
## Usage: | |
## IMPORTANT: GCLOUD_VERSION env variable set before running ex: export GCLOUD_VERSION=190.0.1 | |
## curl https://gist.githubusercontent.com/dezmaeth/69af9ef1fc28989eda9dc6e0f91b2dfc/raw/semaphore_ci_gcloud_prepare.sh | sh | |
export PATH=$SEMAPHORE_CACHE_DIR/google-cloud-sdk/bin:$PATH | |
if [ ! -f "$SEMAPHORE_CACHE_DIR/google-cloud-sdk/bin/gcloud" ] | |
then |
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
// Created by [email protected] | |
package gif.decoder; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.graphics.PorterDuff; | |
import android.graphics.PorterDuffXfermode; |
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
// Created by [email protected] | |
// Fixed transparency issue by [email protected] | |
package gif.decoder; | |
import java.util.Vector; | |
import java.io.InputStream; | |
import android.graphics.Bitmap; | |
import android.graphics.Bitmap.Config; |
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
var util = require('util'), | |
http = require('http'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
res.write('hello, i know nodejitsu.') | |
res.end(); | |
}).listen(8000); | |
/* server started */ |