(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
| import os | |
| import logging | |
| LOGLEVEL = os.environ.get('LOGLEVEL', 'INFO').upper() | |
| logging.basicConfig(level=LOGLEVEL, format="%(asctime)s %(message)s") |
| #!/bin/sh | |
| # Build Zsh from sources on Ubuntu. | |
| # From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file. | |
| # Some packages may be missing | |
| sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo | |
| git clone git://zsh.git.sf.net/gitroot/zsh/zsh | |
| cd zsh |
| function uploadPdfOcr() { | |
| authorize(); | |
| var key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // <-- developer key | |
| var file = UrlFetchApp.fetch("http://somewhere.com/path/file.pdf").getBlob(); | |
| var metadata = { title: file.getName() } | |
| var params = {method:"post", | |
| oAuthServiceName: "drive", | |
| oAuthUseToken: "always", | |
| contentType: "application/pdf", | |
| contentLength: file.getBytes().length, |
| /* Tobin Fricke's implementation of the | |
| Hoshen-Kopelman algorithm for | |
| cluster labeling. | |
| Copyright (c) September 9, 2000, by Tobin Fricke <fricke@gmail.com> | |
| Modified 2002-03-09 Tobin Fricke | |
| Modified substantially 2004-04-21 by Tobin Fricke | |
| This program is written in the 1999 standard of the C language (C99). Older C |
| var app = angular.module('app', ['firebase']); | |
| app.controller('ctrl', function($scope, $pageArray) { | |
| $scope.pageItems = $pageArray(ref, 'number'); | |
| }); | |
| app.factory('$pageArray', function($firebaseArray) { | |
| return function(ref, field) { | |
| // create a Paginate reference | |
| var pageRef = new Firebase.util.Paginate(ref, field, {maxCacheSize: 250}); |
You can Rails 3 on App Engine, but it won’t be especially useful until bundler 10. You should try these instead:
Rails 2.3.5: DataMapper version: gist.github.com/268192
Rails 2.3.5: TinyDS version: gist.github.com/269075
The gems for the development environment include a pre-release appengine-tools gem that provides a pre-release version of jruby-rack.
| FROM elixir:slim | |
| # install Node.js (>= 8.0.0) and NPM in order to satisfy brunch.io dependencies | |
| # See https://hexdocs.pm/phoenix/installation.html#node-js-5-0-0 | |
| RUN apt-get update -y && \ | |
| apt-get install -y curl git && \ | |
| curl -sL https://deb.nodesource.com/setup_13.x | bash - && \ | |
| apt-get install -y inotify-tools nodejs | |
| WORKDIR /code |