Skip to content

Instantly share code, notes, and snippets.

View EdJones's full-sized avatar

Ed Jones EdJones

View GitHub Profile
@EdJones
EdJones / gist:284cd8ab7b65f90102352d13a46d1669
Created May 5, 2021 19:33
Debug Nativescript 'Problem with CocoaPods Error'
Manually reproduce the steps tns doctor does to detect issues with CocoaPods.
By reading the tns script, I found out this is what actually happens:
NPM package @nativescript/doctor has a zipped example cocoapods folder (/resources/cocoapods-verification/cocoapods.zip).
Extracts its content into a temporary folder.
Tries to run pod install in this temporary folder.
Any issues along it's way = "WARNING: There was a problem with CocoaPods"
So, to manually do this:
@EdJones
EdJones / gist:4756d1f19f779f0756b1ca738002c323
Created March 26, 2021 15:11
NSVF Literacy application opening paragraph
We will field a high school Industry Credential to introduce teens (older siblings, future parents, teachers, babysitters, voters) to the science behind how children learn to read.
The credential will spread the word to current teachers, education majors, parents, and community members that the research behind how people read is rich, deep, historied science, with real impact on how children become first basic, then proficient readers.
(Industry credentials are new: States allow teens to earn credit toward high school graduation while they learn industry-specific knowledge and skills. States vary in implementing them; Ohio offers several hundred http://education.ohio.gov/Topics/Ohio-s-Graduation-Requirements/Industry-Recognized-Credentials/Industry-Recognized-Credentials-by-Career-Field in thirteen career fields, including education. )
The curriculum is truly open sourced. Not just free; it includes an ecosystem to rapidly iterate the curriculum with users of all kinds actively engaged in improving it. Teache
@EdJones
EdJones / rack_env
Created March 13, 2012 11:02
Rack env courses/by_subject
This file has been truncated, but you can view the full file.
#<Rack::Request:0x4063f98 @env={
"SERVER_SOFTWARE"=>"thin 1.3.1 codename Triple Espresso",
"SERVER_NAME"=>"localhost", "rack.input"=>#<StringIO:0x392d108>, "rack.version"=>[1, 0], "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false,
"REQUEST_METHOD"=>"GET",
"REQUEST_PATH"=>"/courses/by_subject",
"PATH_INFO"=>"/courses/by_subject",
"QUERY_STRING"=>"utf8=%E2%9C%93&subject_id=16&commit=Search",
"REQUEST_URI"=>"/courses/by_subject?utf8=%E2%9C%93&subject_id=16&commit=Search",
"HTTP_VERSION"=>"HTTP/1.1",
"HTTP_HOST"=>"localhost:3000",
@EdJones
EdJones / rack_gist
Created March 13, 2012 10:39
Rack env for courses/by_subject
This file has been truncated, but you can view the full file.
#<Rack::Request:0x4063f98 @env={
"SERVER_SOFTWARE"=>"thin 1.3.1 codename Triple Espresso",
"SERVER_NAME"=>"localhost",
"rack.input"=>#<StringIO:0x392d108>,
"rack.version"=>[1, 0],
"rack.errors"=>#<IO:<STDERR>>,
"rack.multithread"=>false,
"rack.multiprocess"=>false,
"rack.run_once"=>false,
"REQUEST_METHOD"=>"GET",
This file has been truncated, but you can view the full file.
#<Rack::Request:0x4063f98 @env={"SERVER_SOFTWARE"=>"thin 1.3.1 codename Triple Espresso", "SERVER_NAME"=>"localhost", "rack.input"=>#<StringIO:0x392d108>, "rack.version"=>[1, 0], "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "REQUEST_METHOD"=>"GET", "REQUEST_PATH"=>"/courses/by_subject", "PATH_INFO"=>"/courses/by_subject", "QUERY_STRING"=>"utf8=%E2%9C%93&subject_id=16&commit=Search", "REQUEST_URI"=>"/courses/by_subject?utf8=%E2%9C%93&subject_id=16&commit=Search", "HTTP_VERSION"=>"HTTP/1.1", "HTTP_HOST"=>"localhost:3000", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Windows NT 6.0; rv:10.0.2) Gecko/20100101 Firefox/10.0.2", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "HTTP_ACCEPT_LANGUAGE"=>"en-us,en;q=0.5", "HTTP_ACCEPT_ENCODING"=>"gzip, deflate", "HTTP_CONNECTION"=>"keep-alive", "HTTP_REFERER"=>"http://localhost:3000/courses", "HTTP_COOKIE"=>"__utma=111872281.1794585154.1323696638.1326994528.1326997977.9; __utmz=1118722