| distrib/builder | debootstrap | qemu-debootstrap | multistrap | rinse | urpmi | anaconda | chroot + static pm | pacstrap | kickstart | preseed |
|---|---|---|---|---|---|---|---|---|---|---|
| debian | Y | Y | Y | ? | ||||||
| ubuntu | Y | Y | Y | ? | ||||||
| fedora | Y | Y | Y | ? | ||||||
| centos | Y | Y | Y | ? | ||||||
| redhat | Y | Y | Y | ? | ||||||
| gentoo |
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
| Adult | |
| Aeroplane | |
| Air | |
| Aircraft Carrier | |
| Airforce | |
| Airport | |
| Album | |
| Alphabet | |
| Apple | |
| Arm |
In this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.
At the moment GraphQL allows 2 types of queries:
querymutation
Reference implementation also adds the third type: subscription. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.
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
| ## Quick fix for slow internet after update to OSX 10.11 "El Capitan" | |
| ## Changes are not permanent, just restart your mac if it doesn't work. | |
| ## write config | |
| sudo su - | |
| sysctl -w net.inet.tcp.doautorcvbuf=0 | |
| sysctl -w net.inet.tcp.doautosndbuf=0 | |
| sysctl -w net.inet.tcp.win_scale_factor=0 | |
| # net.inet.tcp.recvspace=1048576 | |
| # net.inet.tcp.sendspace=131072 |
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
| server { | |
| listen {PUBLIC-GITLAB-HTTP-PORT}; #e.g. 80 | |
| server_name {PUBLIC-GITLAB-HOST}; #e.g. git.mycompany.com | |
| # add_header X-Frame-Options DENY; | |
| add_header X-Content-Type-Options nosniff; | |
| location / { | |
| ## Hack to implement && - Concat two strings and compare result | |
| if ($args ~* "^go-get=1") { | |
| set $condition goget; | |
| } |
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
| // npm install -g babel | |
| // Then run with babel-node like this: | |
| // babel-node --stage 2 index.js | |
| import gitlab from 'gitlab'; | |
| import request from 'request'; | |
| import Promise from 'bluebird'; | |
| let apiBaseUrl = 'http://v1cs-gitlab-dev.cloudapp.net'; | |
| request.post = Promise.promisify(request.post, request); |
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
| ��l�High speed PHY - Ver 2.0.0 (COM-PHY-V20) | |
| DDR3 Training Sequence - Ver 4.0.0 | |
| DDR3 Training Sequence - Ended Successfully | |
| Status = MV_OK | |
| BootROM: Image checksum verification PASSED | |
| U-Boot 2011.12 (Mar 23 2015 - 16:06:25) Marvell version: 2012_Q4.0p16 | |
| Board: RD-AXP-CUSTOMER |
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
| process.stdout.isTTY; | |
| require('child_process').spawn('ssh', 'localhost -t -- bash'.split(' '), {stdio: 'inherit'}); |