This file contains 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
img_fused = imfuse(img1,img2,'falsecolor','Scaling','joint','ColorChannels',[1 2 0]); |
This file contains 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
clear all, close all, clc | |
%% read the image | |
x = imread('balls.jpg'); | |
x = imresize(x, 0.3); | |
figure() | |
imshow(x) |
This file contains 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
// Solves this mentioned error: | |
// android.os.FileUriExposedException: file:///storage/emulated/0/test.txt exposed beyond app through Intent.getData() | |
// Inside Manifest, define following permissions: | |
<uses-permission android:name="android.permission.CAMERA" /> | |
<uses-permission android:name="android.permission.INTERNET"/> | |
<uses-permission android:name="android.permission.RECORD_AUDIO" /> | |
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | |
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
This file contains 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
String tStart = "09:27:37"; | |
String tFinish = "15:24:04"; | |
String[] sTimeHourMinSec = tStart.split(":"); | |
int sHour = Integer.valueOf(sTimeHourMinSec[0]); | |
int sMin = Integer.valueOf(sTimeHourMinSec[1]); | |
int sSec = Integer.valueOf(sTimeHourMinSec[2]); | |
String[] fTimeHourMinSec = tFinish.split(":"); | |
int fHour = Integer.valueOf(fTimeHourMinSec[0]); |
This file contains 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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Raleway" /> | |
<link href="/styles.css" rel="stylesheet" type="text/css"> | |
</head> | |
<body> | |
</body> |
This file contains 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
killall node |
This file contains 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
Install the GPG key: | |
********************************************************************* | |
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - | |
********************************************************************* | |
Ensure apt is set up to work with https sources: | |
********************************************************************* | |
sudo apt-get install apt-transport-https | |
********************************************************************* |
This file contains 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
// Display elements of specific collection | |
show dbs | |
use <db name> | |
show collections | |
// Display elements of specific collection | |
db.collectionName.find | |
// Remove all elements from specific collection | |
db.collectionName.remove({}) |
This file contains 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
// First declare third version as a separate variable | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
d3version3 = d3 | |
window.d3 = null | |
</script> | |
// Then declare fourth version as a separate variable |
This file contains 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
In your case, I would suggest going with [submodules](https://stackoverflow.com/a/19279658/403401). However to answer your exact question, here's how you should proceed. | |
1. Start by creating `Jeremy/MyShooter` and `Jeremy/MyRPG` on Github. Keep them empty. | |
2. Clone your origin project on your system, twice, giving it different names | |
$ git clone http://github.com/Bob/CoolFramework MyShooter | |
$ git clone http://github.com/Bob/CoolFramework MyRPG |