In programming languages, literals are textual representations of values in the source code. This is a syntactical concept.
Some examples:
7 # integer literalIn programming languages, literals are textual representations of values in the source code. This is a syntactical concept.
Some examples:
7 # integer literal| ʘ‿ʘ | |
| Innocent face | |
| ಠ_ಠ | |
| Reddit disapproval face | |
| (╯°□°)╯︵ ┻━┻ | |
| Table Flip / Flipping Table | |
| ┬─┬ ノ( ゜-゜ノ) |
| namespace :codecov do | |
| desc 'Uploads the latest simplecov result set to codecov.io' | |
| task upload: :environment do | |
| require 'simplecov' | |
| require 'codecov' | |
| formatter = SimpleCov::Formatter::Codecov.new | |
| formatter.format(SimpleCov::ResultMerger.merged_result) | |
| end | |
| end |
| ### | |
| `decorate` can apply decorators using the API proposed in | |
| https://github.com/wycats/javascript-decorators | |
| which is supported in Babel 5+ and TypeScript 1.5 | |
| Usage: | |
| Foo = decorate F("color"), G, class Foo |
| #!/usr/bin/env ruby | |
| require 'thor' | |
| class SubCommandBase < Thor | |
| def self.banner(command, namespace = nil, subcommand = false) | |
| "#{basename} #{subcommand_prefix} #{command.usage}" | |
| end | |
| def self.subcommand_prefix |
| #Save this file as hax_background_jobs_in_thin.ru | |
| #In one terminal run: thin start --rackup hax_background_jobs_in_thin.ru | |
| #In another run: curl -v localhost:3000 | |
| class CleverMailSender | |
| class << self; attr_accessor :emails_to_send; end | |
| self.emails_to_send = [] | |
| def initialize(app) | |
| @app = app | |
| end |
| <h1>Alert</h1> | |
| <p>Bootstrap JS</p> | |
| <div class="alert fade in"> | |
| <button type="button" class="close" data-dismiss="alert">×</button> | |
| <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. | |
| </div> | |
| <p></p><a ng-click="alert=true">Open Alert (AngularJS)</a></p> | |
| <div class="alert fade" ng-class="{in:alert}"> | |
| <button type="button" class="close" ng-click="alert=false">×</button> |
| {"description":"Another Inlet","endpoint":"","display":"svg","public":true,"require":[],"tab":"edit","display_percent":0.7,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01} |