Tag Archives: Resources

Citation Managers Initial List — P. 1

Link to the spreadsheet:

https://docs.google.com/a/riverdale.k12.or.us/spreadsheets/d/1CvAe2J9x_Wd0mMJQunSR5GDLYFaiXKckzXc8gfeGl2E/edit?usp=sharing

  • Works Cited 4 U
  • EZ Bib
  • iMiser
  • Ultimate Research Assistant
  • Refworks
  • Mendeley
  • Noodle Tools
  • Bibme
  • Citation Machine
  • Owl Purdue
  • Refme
  • Citation Generator by Mick Schruder
  • Citefast
  • Citation Maker
  • Cool Tools For Schools
  • Zitavi
  • Essay Writing Web.com
  • Ottobib
  • Cite This 4 Me
  • Noodle
  • DiRT
  • Citavia
  • Citeliter
  • Docear
  • Recipes4success
  • Refdot
  • Neil’s toolbox
  • Eturabian

 

Making a tableview cross off an entry on selection

Here’s the code I mentioned in class today that will make a table view cross off the row you tap on.  The purpose of posting this code is not for instruction or a requirement, but to help you explore something more with Tableviews.

func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {

        let cell = tbl.cellForRowAtIndexPath(indexPath)! //gets the cell

        if cell.accessoryType == .Checkmark{  //checks to see if it’s already checked

            cell.accessoryType = .None  //turn off the checkmark

            let attribString = NSAttributedString(string: cell.textLabel!.text!,attributes: [NSStrikethroughStyleAttributeName: NSUnderlineStyle.StyleNone.rawValue])  //create the ‘attributed text’ (that is, it has some styling attached to it) with the strikeout turned off

            cell.textLabel?.attributedText = attribString  //assign the new attributed text back to the textLabel

        }

        else  //it’s not already crossed off

        {

                cell.accessoryType = .Checkmark //add the checkmark

            let attribString = NSAttributedString(string: cell.textLabel!.text!,attributes: [NSStrikethroughStyleAttributeName: NSUnderlineStyle.StyleThick.rawValue, NSStrikethroughColorAttributeName: UIColor.redColor()])  //create the attributed text with the strikout

            cell.textLabel?.attributedText = attribString  //assign the new attributed text to the label

        }

    }

Fake Tracking Numbers

Here are a bunch of falsified tracking numbers.  I’ve put a * before the service code, and the shipper numbers are of varying lengths.  Your job is to grab the two characters to the right of the *, and then use vlookup to figure out what the service name is.

 

Final2
1ZB121G*0171542491
1Z3SL3YG*0269313750
1ZZ5Q9VI*0384486378
1ZEH0PX8*8059923484
1ZWZXK58*RS35927971
1ZMQ4X6R*1A54072855
1ZW3Q4LS*0189714238
1Z7MG14P*0239681205
1ZVPLDMG*0357895285
1Z7OW0UV*0588872611
1Z1S0N08*RS30063854
1ZZ2L736*1A86069940
1ZYDROQB*B014386086
1ZS71B0S*0233742771
1ZIFN64*0389128007
1ZTGWR30*0574056592
1ZTCB52D*RS89374006
1Z1R5WHR*1A55092187
1ZZEHH0A*0124231013
1Z7XN5FY*Y025989683
1Z9JAXZN*0317682058
1ZXG0PY*0556828503
1Z2999FB*RS85214527
1ZKH42VG*1A20863370
1ZEMBBU2*0195394192
1Z6AJNC4*0267305926
1ZMMPXLI*I034584409
1Z5IKSYD*0578555384
1ZAI4TYN*RS32630585
1ZU5TYZS*1A88928113
1ZNTQCSK*0111710813
1ZABKHXT*0221789689
1ZM0KA2T*T038164541
1ZGFER30*0552629480
1ZYK132I*RS70961736
1ZXYZL9Z*1A80796527
1ZKQHWJA*0182425263
1ZUYY5T4*0241409611
1Z9BYG1H*0352650755
1Z7FO9LW*0569550599
1ZT3JG9P*RS11407954
1Z0VE7F9*1A92075099
1Z43HLY9*0123148529
1ZQGLWLC*0290424199
1Z61XSD7*0346174186
1Z4YQO67*0571405833
1Z8FC2KK*RS93932552
1Z04PD8M*1A35458789
1Z978IJ3*0188607616
1Z98W33C*0253657157
1ZKYLLR8*0384457576
1ZF3C1PZ*0564502914
1ZFGXLGL*RS18944256
1Z9ONWQI*1A17859341
1ZV4QO60*0180649090
1ZMYY9MR*0288283910
1ZQFIH8D*0365438804
1ZZYRR8M*0564523000
1ZT3I4XL*RS67952397
1Z1FRE3D*1A22126135
1ZOXNUH8*0104504315
1ZT6X9WR*0216557620
1ZRYUXTH*0383413868
1Z2B5YWM*0546198024
1ZGET0NC*RS59691484
1ZKESO4G*1A80817482
1ZCTGW82*0121651046
1ZO56AZS*0284760256
1ZQ6TRTA*0348497638
1Z92WJ0B*0511465144
1ZJRBQXX*RS98075207
1ZQQ32NP*1A18151621
1ZWZRZQZ*0155334033
1ZXWXCOA*0256456426
1ZDKFZ13*0383393325
1Z4XKQRP*0568758116
1ZLJQHDU*RS58653164
1ZMYSJA1*1A46037987
1ZMCY2RC*0195243432
1ZYYL7OS*S023235704
1Z4HQ325*0368917884
1ZPOG5FN*0597700962
1ZQUCOS5*RS92460460
1Z9HYAP3*1A58781685
1ZDKIJPQ*0182670917
1ZXAMR8I*0211372266
1ZHS11RB*0328753991
1ZJSHP1G*1G05624561
1Z3YCBEP*RS56368906
1Z9TLK7*1A65073207
1Z96HY50*0160750837
1Z7JYADR*0268819569
1ZIN6LJS*0314963747
1ZTERTWJ*0561521529
1ZGU1Y6H*RS86968612
1ZJ47YJ7*1A47708075
1ZHFD2S*0111990947
1Z790CX1*0270498849
1Z8TWNBT*T032848757
1ZXNQJCT*0535249322

Code for printing to LCD

Here is a function that you can add to your code.  Then you can call it with a string to display in the first line and an integer to display in the second.

Don’t forget to add the declaration in main.h, like this:

void printToScreen(char line1[17], int value);

NOTE:  when pasting the following code in, you might need to retype the “%d” portion of the third line.

 

void printToScreen(char line1[17], int value){
char line2[17];
sprintf(line2, “%d”, value);

lcdSetText(uart1, 1, line1);
lcdSetText(uart1, 2, line2);

}

 

Then to call it and have it display “demo” on the first line, and -42 on the second, give it this:

printToScreen(“demo”, -42);