dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit ff75793375010016b7276394fdab2ea9b7e874d0
parent ea5c8031e32229d345166d57a600c7a1b1179577
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Fri,  4 Aug 2017 18:24:40 +0200

Deleted scripts that are no longer needed.


Diffstat:
Dcafeteria_purchase_formatter.rb | 23-----------------------
Ddate_formatter.rb | 23-----------------------
Dpopa-gone-savage.rb | 19-------------------
Dupx.out_README | 3---
4 files changed, 0 insertions(+), 68 deletions(-)

diff --git a/cafeteria_purchase_formatter.rb b/cafeteria_purchase_formatter.rb @@ -1,23 +0,0 @@ -#!/usr/bin/ruby -gem 'date_converter' -require 'date_converter' - -filename=ARGV[0] -lines=File.readlines("#{filename}") -newlines = [] - -lines.each do |text| - replace=text.gsub(/(^.+)[A|P]M/,'\1') - replace=replace.gsub(/(\d{4})\sat\s\d{2}:\d{2},(.*$)/,'\1,\2') - arr = replace.scan(/\w+\s\d{1,2},\s\d{4}/) - ar2 = arr.map { |e| DateConverter.verbal_date_to_numeric(e,'-') } - - arr.each_with_index {|e,i| replace = replace.gsub(e,ar2[i])} - newlines << replace -end - -File.open("#{filename}", "w") do |io| - newlines.each do |line| - io.puts "#{line.chomp},Assets:Current Assets:Lunch Card Account" - end -end diff --git a/date_formatter.rb b/date_formatter.rb @@ -1,23 +0,0 @@ -#!/usr/bin/ruby -gem 'date_converter' -require 'date_converter' - -filename=ARGV[0] -lines=File.readlines("#{filename}") -newlines = [] - -lines.each do |text| - replace=text.gsub(/(^.+)[A|P]M/,'\1') - replace=replace.gsub(/(\d{4})\sat\s\d{2}:\d{2},(.*$)/,'\1,\2') - arr = replace.scan(/\w+\s\d{1,2},\s\d{4}/) - ar2 = arr.map { |e| DateConverter.verbal_date_to_numeric(e) } - - arr.each_with_index {|e,i| replace = replace.gsub(e,ar2[i])} - newlines << replace -end - -File.open("#{filename}", "w") do |io| - newlines.each do |line| - io.puts "#{line.chomp},Assets:Current Assets:Lunch Card Account" - end -end diff --git a/popa-gone-savage.rb b/popa-gone-savage.rb @@ -1,18 +0,0 @@ -#!/usr/bin/env ruby -## CHANGE THIS TO THE FOLDER WHERE YOU WANT TO STORE YOUR FILE ## -filepath="/Users/alex/Desktop/ /Computer Science/" - -## DO NOT MODIFY UNDER THIS COMMENT -require 'date' -date=Date.today.to_s - -print "Who did he roast now: " -roastee=gets.chomp -print "Enter roast: " -roast=gets.chomp - -finalpath="#{filepath}popa-savage-quotes.csv" -File.open(finalpath, 'a') { |file| - file.puts('#{date},#{roastee},"#{roast}"') -} -puts "Roasted."- \ No newline at end of file diff --git a/upx.out_README b/upx.out_README @@ -1,2 +0,0 @@ -Fixes a fucked CORE keygen. Check Info.plist in bundle. If the version is lower than system version, and the crash log says "UPX compressed binary" -Just run `upx.out -d $coreKeygenBinaryPath` and you good.- \ No newline at end of file