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
(() => { | |
// Extracted from Samogot's LibDiscordInternals for BetterDiscord. | |
const req = typeof(webpackJsonp) === "function" ? webpackJsonp([], { | |
'__extra_id__': (module, exports, req) => exports.default = req | |
}, ['__extra_id__']).default : webpackJsonp.push([[], { | |
'__extra_id__': (module, exports, req) => module.exports = req | |
}, [['__extra_id__']]]); | |
delete req.m['__extra_id__']; | |
delete req.c['__extra_id__']; | |
const find = (filter, options = {}) => { |
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
FROM alpine | |
COPY configure-node.sh configure-node.sh | |
CMD ["/bin/sh", "configure-node.sh"] |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
init() { | |
this._super(); | |
// alert(this.get('p')); | |
}, | |
appName: 'Ember Twiddle', | |
queryParams: ['p'] | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
elements: [ | |
{name: "Uranium"}, | |
{name: "Plutonium"}, | |
{name: "Francium"}, | |
{name: "Einstanium"} | |
], | |
searchQuery: '' |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
classNames: ['ui', 'modal'], | |
didInsertElement () { | |
let _this = this; | |
this.$().modal({ | |
// When the modal is hidden, we send an action and update its state | |
onHide: function () { |
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
import random | |
import itertools | |
import nltk | |
from terminaltables import AsciiTable | |
def aff(matrix, voc): | |
m = matrix.copy() | |
m = [[word] + row for row, word in zip(m, voc)] |