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
# allow `mount` cmd without password | |
echo "$USER ALL=NOPASSWD: /bin/mount" | (sudo su -c 'EDITOR="tee -a" visudo') | |
# add the mount directive to `fstab` | |
sudo mkdir -p /c | |
sudo sh -c "echo '/mnt/c /c none bind' >> /etc/fstab" | |
# update to `.bashrc` to auto mount at login | |
echo "sudo mount -a" >> ~/.bashrc | |
# now reload it | |
source ~/.bashrc |
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
import java.lang.instrument.Instrumentation; | |
import java.lang.reflect.Layer; | |
import java.lang.reflect.Module; | |
import java.util.*; | |
public class WeakeningAgent { | |
public static void premain(String argument, Instrumentation instrumentation) { | |
boolean full = argument != null && argument.equals("full"); | |
Set<Module> importing = new HashSet<>(), exporting = new HashSet<>(); |
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
/** | |
* {@link Kalman} is an one dimensional implementation of KALMAN filter used to | |
* predict a noisy signal containing fluctuations due to measurement errors, noise etc. | |
* | |
* @author AchuthaRanga.Chenna | |
* | |
*/ | |
public class SimpleKalman { | |
/** process noise COVARIANCE */ | |
private double q = 1.48d; |
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
<NotepadPlus> | |
<UserLang name="LogFile" ext="log"> | |
<Settings> | |
<Global caseIgnored="yes" /> | |
<TreatAsSymbol comment="no" commentLine="no" /> | |
<Prefix words1="no" words2="no" words3="no" words4="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Delimiters">[(0])0</Keywords> | |
<Keywords name="Folder+"></Keywords> |