This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| destructuring_assignment_for_named_local_args() { | |
| declare numbers letters words | |
| read numbers letters words <<<"$@" | |
| echo "$numbers" | |
| echo "$letters" | |
| echo "$words" | |
| } | |
| destructuring_assignment_for_named_local_args 123 abc "Hello world" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'jmx' | |
| server = JMX.simple_server | |
| client = JMX.connect | |
| hot_spot = client["com.sun.management:type=HotSpotDiagnostic"] | |
| hot_spot.dumpHeap "my_heap.map", true | |
| puts "done" | |
| exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ShouldWrapper | |
| def initialize(value) | |
| @value = value | |
| end | |
| def ==(other) | |
| if @value == other | |
| puts ":)" | |
| else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |
OlderNewer