Install node version 10 and yarn:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash
nvm install 10
npm install -g yarn
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.util.Stack; | |
| import java.util.zip.ZipEntry; | |
| import java.util.zip.ZipOutputStream; | |
| public class ZipHelper { |
| git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*\((.*?)\s*[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n |
| Visual Studio 2019 Product Key | |
| [Please Star this gist] | |
| Follow My GitHub Account --> https://github.com/ch-kashif @ch-kashif | |
| **Follow Me On Instagram -->> https://www.instagram.com/ch.kashif602/ ** | |
| Lets do a code together | |
| Join Cloud Disk repository --> https://github.com/ch-kashif/CloudDisk |
| rsync -avzzhP --inplace --info=progress2 -e 'ssh -p 2222' 192.168.2.X:SDCard/ <REPLACE_WITH_DESTINATION> |
| /** | |
| * Generates number of random geolocation points given a center and a radius. | |
| * @param {Object} center A JS object with lat and lng attributes. | |
| * @param {number} radius Radius in meters. | |
| * @param {number} count Number of points to generate. | |
| * @return {array} Array of Objects with lat and lng attributes. | |
| */ | |
| function generateRandomPoints(center, radius, count) { | |
| var points = []; | |
| for (var i=0; i<count; i++) { |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters] | |
| "AllowInsecureGuestAuth"=dword:00000001 |
To remove a submodule you need to:
| import javax.crypto.*; | |
| import javax.crypto.spec.GCMParameterSpec; | |
| import java.nio.ByteBuffer; | |
| import java.security.SecureRandom; | |
| import java.util.Arrays; | |
| public class AESGCMUpdateAAD2 { | |
| // AES-GCM parameters | |
| public static final int AES_KEY_SIZE = 128; // in bits |
| package edu.wwu.cs412.tvfanatic; | |
| import edu.wwu.cs412.tvfanatic.account.AccountPreferenceActivity; | |
| import android.app.Activity; | |
| import android.app.FragmentTransaction; | |
| import android.app.SearchManager; | |
| import android.app.FragmentManager.BackStackEntry; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.SharedPreferences; |