This file contains 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
// Helpers. | |
import { convertToText } from './'; | |
/* | |
You would call this when receiving a plain text | |
value back from an API, and before inserting the | |
text into the `contenteditable` area on a page. | |
*/ | |
const convertToMarkup = (str = '') => { | |
return convertToText(str).replace(/\n/g, '<br>'); |
This file contains 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 Dirk < ActiveDeveloper::ProactiveDeveloper | |
extend Transport::Bike | |
extend Editor::VIM | |
extend Dutch | |
# particular things... | |
extend Github::PullRequest | |
extend Developer::Actions | |
extend JIRA::Workload | |
extend Google::Meet |
This file contains 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
console.log('here we go!'); | |
var App = {}; | |
var client = 'r-fNxy-djik7RS--qCOxbQ', | |
access_token = 'dYGeW4UHUlAuiBP8sASs8w', | |
uid = '%2B79885647988'; | |
App.cable = ActionCable.createConsumer('/cable?access-token=' + access_token + '&client='+ client +'&uid=' + uid); | |
App.room = App.cable.subscriptions.create({ | |
channel: "TrainingChannel", |
This file contains 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
#!/bin/bash | |
mkdir ~/.src | |
cd ~/.src | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get remove x264 ffmpeg | |
apt-get install make automake g++ bzip2 unzip patch subversion git yasm |