Skip to content

Instantly share code, notes, and snippets.

View BaeFell's full-sized avatar
🦆
hi im baefell

BaeFell BaeFell

🦆
hi im baefell
View GitHub Profile
/*
* YAMLManager - by nfell2009
* All rights reserved
* Version: 1.3
*
*/
/*
* ALLOWED USAGE AND COPYRIGHT AGREEMENT
* This file and its contents are copyright of nfell2009
@BaeFell
BaeFell / FileManager.java
Last active September 8, 2015 13:22
Who knew reading a file could be so hard...
public String getLineOfFile(String file, Integer l) throws FileNotFoundException, IOException {
File f = new File(file);
if (!f.exists()) {
return null;
} else if (l < 0) {
return null;
} else {
l = l - 1;
List<String> sss = new ArrayList<String>();
### Keybase proof
I hereby claim:
* I am nfell2009 on github.
* I am nfell2009 (https://keybase.io/nfell2009) on keybase.
* I have a public key whose fingerprint is FA0A F3AA C4A6 F1C2 68C7 07D3 2990 2C58 E357 52D0
To claim this, I am signing this object: