- Left Option key acts as "Meta"
- Right Option key acts as "Meta"
Opt+→sends escape sequence offOpt+←sends escape sequence ofb- Add
Opt+←Deletesends hex code17
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
| \set PROMPT1 '%[%033[1m%]%M %n@%/%R%[%033[0m%]%# ' | |
| \set PROMPT2 '[more] %R > ' | |
| -- By default, NULL displays as an empty space. Is it actually an empty | |
| -- string, or is it null? This makes that distinction visible. | |
| \pset null '[NULL]' | |
| -- Use table format (with headers across the top) by default, but switch to | |
| -- expanded table format when there's a lot of data, which makes it much | |
| -- easier to read. | |
| \x auto | |
| -- Verbose error reports. |
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
| {"title":"Anonymous Gistbook","author":"Anonymous","pages":[{"pageName":"","sections":[{"type":"text","source":"Welcome to Gistbook!"},{"type":"html","source":"<h1>test</h1>"},{"type":"css","source":"h1 { color: red; }"},{"type":"javascript","source":"alert('welcome to the internet');"}]}],"public":true} |
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
| export default React.createClass({ | |
| // ... | |
| render () { | |
| const style = { | |
| WebkitTransform: 'translateY(' + this.state.translatedYPosition + ')' | |
| } | |
| let containerClassString = this.state.containerExpanded ? LeftNavConstants.CONTAINER_EXPANDED : LeftNavConstants.CONTAINER_COLLAPSED | |
| if (this.state.containerHighlighted) containerClassString += ' ' + LeftNavConstants.CONTAINER_HIGHLIGHTED |
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
| vjs.MediaTechController.prototype.emulateTextTracks = function() { | |
| var player = this.player_, | |
| textTracksChanges, | |
| tracks, | |
| script; | |
| if (!window['WebVTT']) { | |
| script = document.createElement('script'); | |
| script.src = player.options()['vtt.js'] || '../node_modules/vtt.js/dist/vtt.js'; | |
| player.el().appendChild(script); |
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
| public class BaseActivity extends AppCompatActivity { | |
| protected OnBackPressedListener onBackPressedListener; | |
| public void setOnBackPressedListener(OnBackPressedListener onBackPressedListener) { | |
| this.onBackPressedListener = onBackPressedListener; | |
| } | |
| @Override | |
| public void onBackPressed() { | |
| if (onBackPressedListener != null) { |
Feed will support xcal (xml representation of ical). This allows us to handle event schedules (PBR) in a nice way
Feed will also support the media rss spec as part of our RSS parsing. This allows a nice way to provide links to assets (images, video, etc) within the rss feed in a standardized way.
Both of these require the tag to add additional XML namespaces (xmlns:media, xmlns:xcal).
These are used within an RSS feed like so:
<?xml version="1.0"?>
<rss version="2.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
| #!/usr/bin/env node | |
| 'use strict'; | |
| const _ = require('lodash'); | |
| const filepath = require('filepath'); | |
| const Promise = require('bluebird'); | |
| const Archiver = require('archiver'); | |
| const output = filepath.create(process.env.OUTPUT).newWriteStream(); | |
| const archive = Archiver('zip'); |
I hereby claim:
- I am brkattk on github.
- I am brkattk (https://keybase.io/brkattk) on keybase.
- I have a public key ASAXZz9hWCV9VQFBpRdbrid6L4b7H40abmPNakkMgOkZhwo
To claim this, I am signing this object:
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
| npm install --global @oddnetworks/oddworks-cli |