; (B) purchase, maintain, or install surveillance equipment, including metal detectors or software programs that monitor or mine the social media use or technology use of students; (C) arm teachers, principals, school leaders, or other school personnel; and (D) enter into formal or informal partnerships or data and information sharing agreements with— (i) the Secretary of Homeland Security, including agreements with U.S. Immigration and Customs Enforcement or U.S. Customs and Border Protection; or (ii) local law enforcement agencies, including partnerships that allow for hiring of school-based police and school resource officers. (e) Technical assistance The Secretary, in carrying out subsection (a), may reserve not more than 2 percent of funds to provide technical assistance to eligible entities, which may include— (1) support for data collection, compliance, and analysis of the activities of the program authorized under subsection (a); and (2) informational meetings and seminars with respect to the application process under subsection (b). (f) Eligible entities In this section, the term eligible entity means— (1) 1 or more local educational agencies (who may be partnered with a State educational agency), including a public charter school that is a local educational agency under State law or local educational agency operated by the Bureau of Indian Education