One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
/[Ll]ibrary/ | |
/[Tt]emp/ | |
/[Oo]bj/ | |
/[Bb]uild/ | |
/[Bb]uilds/ | |
/[Kk]eys | |
*.csproj | |
*.unityproj | |
*.sln | |
*.suo |
using UnityEngine; | |
using System.Collections; | |
public class CameraShake : MonoBehaviour | |
{ | |
// Transform of the camera to shake. Grabs the gameObject's transform | |
// if null. | |
public Transform camTransform; | |
// How long the object should shake for. |
package com.emil.android.util; | |
import android.content.Context; | |
import android.net.ConnectivityManager; | |
import android.net.NetworkInfo; | |
import android.telephony.TelephonyManager; | |
/** | |
* Check device's network connectivity and speed | |
* @author emil http://stackoverflow.com/users/220710/emil |
{ | |
"editor.fontFamily": "Operator Mono SSm Light", | |
"editor.fontSize": 14, | |
"workbench.colorTheme": "Dracula Soft", | |
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe", | |
"workbench.iconTheme": "vscode-great-icons", | |
"window.zoomLevel": 0, | |
"vim.disableAnnoyingNeovimMessage": true, | |
"vim.statusBarColorControl": true, | |
"vim.statusBarColors": { |
//first | |
cd ~ | |
//then | |
vim .bash_profile | |
//and after that put this line and save and opne/close bash on ubuntu on windows |
git config --global http.proxy http://myproxyserver:8080 |
const express = require("express"); | |
const bodyParser = require("body-parser"); | |
const app = express(); | |
app.use(bodyParser.json()); | |
app.use(bodyParser.urlencoded({ extended: false })); | |
app.get("/", (req, res) => { | |
res.json({ hope: "loop" }); | |
}); |
const supertest = require("supertest"); | |
const assert = require('assert'); | |
const app = require("../index"); |
const supertest = require("supertest"); | |
const assert = require('assert'); | |
const app = require("../index"); | |
describe("GET /", function() { | |
it("it should has status code 200", function(done) { | |
supertest(app) | |
.get("/") | |
.expect(200) | |
.end(function(err, res){ |