- Your package.json file should consist a field
homepage:
"homepage": "https://<github-username>.github.io/<project-repo>"2.1. Install gh-pages via npm:
npm i --save-dev gh-pageshomepage: "homepage": "https://<github-username>.github.io/<project-repo>"2.1. Install gh-pages via npm:
npm i --save-dev gh-pages| # You try: | |
| sudo dpkg --remove-architecture armhf | |
| # and get: | |
| # dpkg: error: cannot remove architecture 'armhf' currently in use by the database | |
| # So you have to remove the armhf packages installed to be able to `dpkg --remove-architecture armhf` | |
| apt-get remove --purge `dpkg --get-selections | grep armhf | awk '{print $1}'` | |
| # Then: | |
| sudo dpkg --remove-architecture armhf | |
| # SUCCESS!!! |
Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.
On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED.
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| <IfModule mod_headers.c> | |
| RewriteCond %{HTTP:Accept-encoding} gzip | |
| RewriteCond %{REQUEST_FILENAME} wp-login.php | |
| RewriteRule ^(.*)$ bomb-10G.gzip [QSA] | |
| # Set content type, and prevent mod_deflate double compression. | |
| RewriteRule bomb-[\d]+G\.gzip$ - [T=text/html,E=no-gzip:1] |
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
| #!/bin/bash | |
| # for Ubuntu | |
| sudo apt-get install build-essential libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make | |
| git clone https://github.com/vysheng/tg.git --recursive | |
| cd tg | |
| ./configure | |
| make |
| /*<?php | |
| //*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s", | |
| //\u000A\u002F\u002A | |
| class PhpJava { | |
| static function main() { | |
| echo(//\u000A\u002A\u002F | |
| "Hello World!"); | |
| }} | |
| //\u000A\u002F\u002A | |
| PhpJava::main(); |
Stream audio to any Sonos component via AirPlay using a Raspberry Pi (Model B, Raspbian Jessie) and the following software:
More details - http://blog.gbaman.info/?p=791
For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt file dtoverlay=dwc2 on a new line, then save the file.
3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh in the SD card as well. By default SSH i
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm