- (about babel/typescript) so you compile JavaScript to other JavaScript so that can be sent to the browser which compiles it again to machine code?
- you can
export default function foo() {}
infoo.js
and thenimport bar from './foo.js'
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
`1abc2 | |
pqr3stu8vwx | |
a1b2c3d4e5f | |
treb7uchet` | |
.split("\n") | |
.reduce( | |
(sum, line) => | |
sum + | |
parseInt( | |
(line + line) |
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
#!/bin/zsh | |
zmodload zsh/datetime | |
# INPUTS | |
INPUT_FILE=$1 | |
START_TIME=$2 | |
if [ -n "$3" ]; then | |
CUT_END=$3 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
javascript: (function(){var a=null;document.querySelectorAll('a.js-selected-navigation-item').forEach(function(b){'Code'===b.innerText.trim()&&(a=b.href)}),document.querySelectorAll('.discussion-item-ref').forEach(function(b){var c=b.querySelector('.commit-meta a');c&&window.fetch(a+'/branch_commits/'+c.innerText).then(function(d){return d.text()}).then(function(d){d.trim().length||b.remove()})})})(); |
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
'use strict'; | |
const md = require('markdown-it')(); | |
const mdJsxPlugin = require('markdown-it-jsx'); | |
const reactJsx = require('react-jsx'); | |
const React = require('react'); | |
const reactDom = require('react-dom/server'); | |
const originalCreateElement = React.createElement; |
[](https://gist.github.com/Xiphe/aa89d804f8137c963d27)
Dieses Produkt wurde in der Überzeugung geschrieben, gestaltet oder anderweitig hergestellt, dass wir die Welt durch Liebe und Frieden zu einem besserem Ort machen können.
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
/** @const */ | |
var PLUGIN_NAME = 'myPlugin'; | |
$.fn[PLUGIN_NAME] = function(options) { | |
var $els = this; | |
/* Method call: */ | |
if (typeof options === 'string') { | |
var methodName = options; | |
var args = Array.prototype.slice.call(arguments, 1); |
Array.prototype.forEach.call(document.querySelectorAll('[title*="/bower_components/"]'), function(node){
node.parentNode.parentNode.parentNode.remove();
});
Bookmarklet can be found after this link: http://xiphe.net/remove_bower_components_bookmarklet.html
NewerOlder