How I feel when I delete everything after the question mark in a URL.
seen from China
seen from Netherlands
seen from Germany

seen from Dominican Republic
seen from Canada
seen from United States
seen from United States
seen from Malaysia
seen from United States

seen from Malaysia

seen from United States
seen from Mexico
seen from United States

seen from United States
seen from Ukraine

seen from United States

seen from United States

seen from Dominican Republic
seen from United Kingdom
seen from United States
How I feel when I delete everything after the question mark in a URL.
example https://codepen.io/tinkercod3/pen/EQKYzb?testcolor=orange...
gists
https://gist.github.com/tinkercod3/7863ab476deb97ddc0181083880570c5
Make Query URL using swift 3
Some times we need to extract some data or get the specific key data from URL. In order to achieve that we need to break the whole url string in “&” and we have to store data as array in a variable. After that we have to make search so doing this , is taking more time and more complexity. The post will show a simple and easy way to Make Query URL using swift 3. (more…)
View On WordPress
Download Smart Security Tools: Firewall Addon (Add-ons)
(adsbygoogle = window.adsbygoogle || []).push(); Live Demo and Download Smart Security Tools: Firewall Addon (Add-ons)
a/A - w4d2
Today I learn a good lesson that I should have took notes while watching the rails videos that were part of the readings... the content in the videos was similar to what we did in our prep work and I thought I would remember, but of course I did not... In lecture today we had a long discussion of “params”. There are three sources where params can get key and value pairs from. These are the post body, path, and query string. I don’t think I still fully understand this deeply, but I have a general understanding of it.
Apparently yesterday we build an API. API’s sound like they are very complicated/technical. However, it seems like they are just some way to output data that can be used elsewhere. Yesterday we build a Contacts API that had contact info and usernames that could be access outside of our application in json. That was my take away from lecture this morning. I’m sure there is more to an API description. I think once I learn how to use other APIs, I’ll gain a better understanding of it all.
Today’s assignment was a play on 99 Dresses. App Academy is obsessed with cats so we built 99 cats. We were required to build cats, and rental requests. Tomorrow we will be continuing on top of this project to integrate authenticity into it. I feel like I’m really enjoying Rails so far. I do hate how ugly our applications look with just html. Hopefully tomorrow I’ll have some time to apply some CSS later in the day. Day 17 is done!
Query String in Javascript
Query String in Javascript
How can we collect a query string value in javascript. my script is like follows http://192.168.10.5/study/gs.js?id=200 here i want to collect the id value in my gs.js script file. For this i am using
function getQuerystring(key, default_) { if (default_==null) default_=""; key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regex = new RegExp("[\\?&]"+key+"=([^&#]*)"); var qs =…
View On WordPress
Combine Query String Parameters with JSON Entity in Spray 1.2.0 Routing
Combine Query String Parameters with JSON Entity in Spray 1.2.0 Routing
Using Spray Routing, I would like have a single directive that merges the query string parameters with a JSON entity, with both being optional. I would want to have this happen before any marshalling happens.
Something like this:
val myRoute = mergedParametersAndEntity(as[DomainSpecificClass]) { myobj => // ... code code code ... complete(OK, myobj.someMethod) }
Basically what I was…
View On WordPress