Obfuscation / Minification
- CliffNotes
Version Control
- Google Drive / Dropbox
full_path = File.expand_path(File.dirname(__FILE__)) | |
vm_directory = directory = File.basename(full_path) | |
parent_path_with_sep = full_path.gsub(Regexp.new(directory + "$"), '') | |
separator = parent_path_with_sep[-1] | |
parent_path = parent_path_with_sep.gsub(Regexp.new(separator + "$"), '') | |
i = parent_path.rindex(separator) | |
app_name = parent_directory = parent_path[i + 1..- 1] | |
puts app_name |
Obfuscation / Minification
Version Control
General Coding
Git