An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.
The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.
Most of us won’t be able to use/deploy JDK 8 in production for a looong time. But that shouldn’t stop us from using it, right?
It should be possible to sneak in JDK 8 in the back way, the same way we snuck in Groovy and other libraries we wanted to use.
#!/usr/bin/env sh | |
# first check to see if mongo service is running. you can't delete any files until the service stops so perform a quick check. | |
launchctl list | grep mongo | |
# NOTE: the pipe | symbol means the commands on the right performs on the output from the left | |
# grep is a string search utility. `grep mongo` means search for the substring mongo | |
# use the unload command to end the mongo service. this is required to 'unlock' before removing the service. | |
# first look for the file to delete | |
MONGO_SERVICE_FILE=$(ls ~/Library/LaunchAgents/*mongodb*) |
⌘ – ⌘
– ⌘
– the Command Key symbol
⌥ – ⌥
– ⌥
– the Option Key symbol
⇧ – ⇧
– ⇧
– the Shift Key symbol
⌃ – ⌃
– ⌃
– the Control Key symbol
⎋ – ⎋
– ⎋
– the ESC Key symbol
⇪ – ⇪
– ⇪
– the Capslock symbol
⏎ – ⏎
– ⏎
– the Return symbol
⌫ – ⌫
– ⌫
– the Delete / Backspace symbol
⇥ – ⇥
– ⇥
– the Tab Key symbol
public class EZMap<T> { | |
public static void main(String[] args) { | |
Map<String,Object> m = hashMap( | |
bob -> 5, | |
TheGimp -> 8, | |
incredibleKoolAid -> "James Taylor", | |
heyArnold -> new Date() | |
); | |
System.out.println(m); | |
} |
docker rmi $(docker images -q -f dangling=true) |