Skip to content

Latest commit

 

History

History
235 lines (185 loc) · 13.6 KB

misc.md

File metadata and controls

235 lines (185 loc) · 13.6 KB

PeopleCode traversal

/* Declaration */

Local Rowset &rs_level0, &rs_level1, &rs_level2, &rs_level3;
Local Row &row_level0, &row_level1, &row_level2, &row_level3;
Local Record &rec1;

/* PROCESSING LEVEL 0 */

&rs_level0 = GetLevel0();
&row_level0 = &rs_level0.GetRow(1);

/* PROCESSING LEVEL 1 */

&rs_level1 = &row_level0.GetRowset(Scroll.LEV1COUNTRY_TBL);
For &i = 1 To &rs_level1.ActiveRowCount
   &row_level1 = &rs_level1(&i);
   
   
   /* PROCESSING LEVEL 2 */

   &rs_level2 = &row_level1.GetRowset(Scroll.LEV2_STATE_TBL);
   For &j = 1 To &rs_level2.ActiveRowCount
      &row_level2 = &rs_level2(&j);
      
      
      /* PROCESSING LEVEL 3 */

      &rs_level3 = &row_level2.GetRowset(Scroll.LEV3_DIST_TBL);
      For &k = 1 To &rs_level3.ActiveRowCount
         &row_level3 = &rs_level3(&k);
         
         /*GET RECORD*/
         
         &rec1 = &row_level3.LEV3_DIST_TBL;
         
         /*GET FIELD*/
         
         &FIELD1 = &rec1.COUNTRY_DISTNAME.Value;
         WinMessage("District Name Is" | &FIELD1);
         
      End-For;
   End-For;
End-For;

Unix search

--recursively find all files in current and subfolders, find needs a starting point, so 
--the . (dot) points to the current directory
find . -name "foo*"

--case insensitive
find . -iname "foo*" 

--recursive search for text in files in a folder using grep
grep -Rnw '/path/to/somewhere/' -e 'pattern'
-- -r or -R is recursive ; use -R to search entirely
-- -n is line number, and
-- -w stands for match the whole word.
-- -l (lower-case L) can be added to just give the file name of matching files.
-- -e is the pattern used during the search
-- r option is lazy (traverses depth-first, than stops after the first directory)
-- R is greedy (will traverse the entire tree correctly).

--Along with these, --exclude, --include, --exclude-dir flags could be used for efficient 
--searching:
--This will only search through those files which have .c or .h extensions:
grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"

-- This will exclude searching all the files ending with .o extension:
grep --exclude=\*.o -rnw '/path/to/somewhere/' -e "pattern"

--For directories it's possible to exclude one or more directories using the --exclude-dir 
--parameter. For example, this will exclude the dirs dir1/, dir2/ and all of them matching 
--*.dst/:
grep --exclude-dir={dir1,dir2,*.dst} -rnw '/path/to/search/' -e "pattern"

-- source:
https://stackoverflow.com/questions/16956810/find-all-files-containing-a-specific-text-string-on-linux

Misc Unix

Description Link
Vim cheat sheet https://vim.rtorr.com
GNU grep cheat sheet https://devhints.io/grep
Bash scripting cheat sheet https://devhints.io/bash

Flowdiagram, drawing Tools

Description Link
Excalidraw https://excalidraw.com
Figma https://www.figma.com
Mural https://app.mural.co
Eraser https://app.eraser.io/dashboard/all
Draw.io https://www.drawio.com

iOS, Swift

Description Link
Collaborative List of Open-Source iOS Apps https://github.com/dkhamsing/open-source-ios-apps
21 Amazing Open Source iOS Apps Written in Swift https://medium.mybridge.co/21-amazing-open-source-ios-apps-written-in-swift-5e835afee98e
App Icon Generator https://www.appicon.co/#app-icon
Human Interface Guidelines, Apple https://developer.apple.com/design/human-interface-guidelines
Swift map(_:), Apple https://developer.apple.com/documentation/applearchive/archiveheader/4339557-map/
Swift Closures, Apple https://docs.swift.org/swift-book/documentation/the-swift-programming-language/closures/
SwiftUI Tutorials, Apple https://developer.apple.com/tutorials/SwiftUI#//apple_ref/doc/uid/TP40015214-CH6-SW1
Swift Thread, Apple https://developer.apple.com/documentation/foundation/thread
Mac Catalyst, Apple https://developer.apple.com/documentation/uikit/mac_catalyst
Swift ScrollView, Apple https://developer.apple.com/documentation/swiftui/scrollview
Swift List, Apple https://developer.apple.com/documentation/swiftui/list
Swift Navigation https://developer.apple.com/documentation/swiftui/navigation
Swift Gestures, Apple https://developer.apple.com/documentation/swiftui/gestures
Swift CaseIterable, Apple https://developer.apple.com/documentation/swift/caseiterable
Swift Type Casting https://docs.swift.org/swift-book/documentation/the-swift-programming-language/typecasting/
Swift Access Control https://docs.swift.org/swift-book/documentation/the-swift-programming-language/accesscontrol/
Swift Protocols https://docs.swift.org/swift-book/documentation/the-swift-programming-language/protocols
Swift Error Handling https://docs.swift.org/swift-book/documentation/the-swift-programming-language/errorhandling/
Swift Performance Tests, Apple https://developer.apple.com/documentation/xctest/performance_tests
Swift User Interface TEsts, Apple https://developer.apple.com/documentation/xctest/user_interface_tests
Swift XCTest, Apple https://developer.apple.com/documentation/xctest
Swift URL Loading System, Apple https://developer.apple.com/documentation/foundation/url_loading_system
Swift Handling an authentication challenge, Apple https://developer.apple.com/documentation/foundation/url_loading_system/handling_an_authentication_challenge
Swift Preventing Insecure Network Connections, Apple https://developer.apple.com/documentation/security/preventing-insecure-network-connections
Swift URLRequest, Apple https://developer.apple.com/documentation/foundation/urlrequest
Swift Fetching website data into memory, Apple https://developer.apple.com/documentation/foundation/url_loading_system/fetching_website_data_into_memory
Swift URLSession, Apple https://developer.apple.com/documentation/foundation/urlsession
Swift URLSessionTask, Apple https://developer.apple.com/documentation/foundation/urlsessiontask
Swift Core Data, Apple https://developer.apple.com/documentation/coredata
Swift SwiftData, Apple https://developer.apple.com/documentation/SwiftData
Swift Configuring Entities, Apple https://developer.apple.com/documentation/coredata/modeling_data/configuring_entities
Swift Configuring Attributes, Apple https://developer.apple.com/documentation/coredata/modeling_data/configuring_attributes
Swift Configuring Relationships, Apple https://developer.apple.com/documentation/coredata/modeling_data/configuring_relationships
Swift NSManagedObjectContext, Apple https://developer.apple.com/documentation/coredata/nsmanagedobjectcontext
Creating Predicates, Apple https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Predicates/Articles/pCreating.html
Using Predicates, Apple https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Predicates/Articles/pUsing.html
Swift NSComparisonPredicate, Apple https://developer.apple.com/documentation/foundation/nscomparisonpredicate
Swift SortDescriptor, Apple https://developer.apple.com/documentation/foundation/sortdescriptor
Submit your iOS apps to the App Store, Apple https://developer.apple.com/ios/submit/
App Review Guidelines, Apple https://developer.apple.com/app-store/review/guidelines/
App Store Connect Help, Apple https://developer.apple.com/help/app-store-connect/
TestFlight, Apple https://developer.apple.com/testflight/
Swift Forums https://forums.swift.org/top?period=weekly
Xcode Releases https://xcodereleases.com/
Terminal Cheatsheet for Mac (Basics) https://github.com/0nn0/terminal-mac-cheatsheet
Side Projects, reddit https://www.reddit.com/r/SideProject/
Flat UI Colors https://flatuicolors.com/
Google Fonts https://fonts.google.com/
CS193p - Developing Apps for iOS, Stanford https://cs193p.sites.stanford.edu/
Nil Coalescing https://nilcoalescing.com/
List of free and open-source iOS applications, Wikipedia https://en.wikipedia.org/wiki/List_of_free_and_open-source_iOS_applications
Alamofire is an HTTP networking library written in Swift. https://github.com/Alamofire/Alamofire

UX/UI

Description Link
Storyboard Website Design — How to Pre-Visualize Your Site https://www.studiobinder.com/blog/storyboard-website-design/
What Is UI Design? Definition, Tips, Best Practices https://www.coursera.org/articles/ui-design
UI Design, Adobe https://xd.adobe.com/ideas/process/ui-design/
User Interface (UI) Design, Interactive Foundation Design https://www.interaction-design.org/literature/topics/ui-design
Usability, Digital.gov USA Usablility
Scenario Mapping: Design Ideation Using Personas https://www.nngroup.com/articles/scenario-mapping-personas/
User scenarios https://guides.18f.gov/methods/decide/user-scenarios/
10 most popular design systems to learn from in 2022 for UX Designers https://uxplanet.org/10-most-popular-design-systems-to-learn-from-in-2022-for-ux-designers-18a24843a860
Design Systems 101 https://www.nngroup.com/articles/design-systems-101/
16 Tips that Will Improve Any Online Form https://uxplanet.org/the-18-must-do-principles-in-the-form-design-fe89d0127c92
31 Examples Of Icons In Navigation Menus https://www.awwwards.com/31-examples-of-icons-in-navegation-menus.html
7 Principles of Icon Design https://uxdesign.cc/7-principles-of-icon-design-e7187539e4a2?gi=7fac793515a7
Usability Evaluation https://www.interaction-design.org/literature/book/the-encyclopedia-of-human-computer-interaction-2nd-ed/usability-evaluation
Interaction Design Evaluation Methods https://gayan1999malinda.medium.com/interaction-design-evaluation-methods-df8132cedbf9

Deception, Counter Deception, Critical Thinking

DEF CON 32 - Tom Cross Greg Conti - Deception & Counter Deception - Defending Yourself in a World Full of Lies.pdf

Below links are from above DEFCON talk, added for redundancy only

Deception:
Deception in Malware:
Counter-Deception:
Security Journalism, Media & Critical Thinking:
Internet Counter-Deception:
Wikipedia:
Inspiration for the World Wide Web:

Roadmaps