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
| diff --git a/contrib/mkimage-debian.sh b/contrib/mkimage-debian.sh | |
| index c1abd4f..7dcf6e3 100755 | |
| --- a/contrib/mkimage-debian.sh | |
| +++ b/contrib/mkimage-debian.sh | |
| @@ -34,7 +34,7 @@ set -x | |
| # bootstrap | |
| mkdir -p "$target" | |
| -sudo debootstrap --verbose --variant="$variant" --include="$include" "$suite" "$target" "$mirror" | |
| +sudo debootstrap --verbose --arch=armhf --keyring=/root/.gnupg/pubring.gpg --variant="$variant" --include="$include" "$suite" "$target" "$mirror" |
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/sh | |
| set -e | |
| # Synchronise package databases | |
| pacman -Sy | |
| # Download packages | |
| TMP_DIR=$(mktemp -d) | |
| echo "Downloading package (1/4)" |
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
| wincmd = require('node-windows'); | |
| fs = require('fs'); | |
| es = require('event-stream'); | |
| image = fs.createReadStream('image.jpg') | |
| drive = fs.createWriteStream('\\\\.\\PhysicalDrive2', {flags: 'r+'}); | |
| drive.on('error', function (e) { | |
| console.log('Got error', e); | |
| if (e.code === 'EPERM') { |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main() { | |
| int * buffer = (int *) malloc(10 * sizeof(int)); | |
| int i; | |
| for (i = 0; i < 10; i++) { | |
| buffer[i] = 0; | |
| printf("%d\n", buffer[i]); | |
| } |
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
| <html> | |
| <head> | |
| <script src="binary.js"></script> | |
| <script> | |
| // Connect to Binary.js server of the OpenROV | |
| var openrov = new BinaryClient('ws://openrov.lan:3000'); | |
| openrov.on('stream', function(openrovStream){ | |
| // Connect to Binary.js server of the internet facing OpenROV proxy | |
| var proxy = new BinaryClient('ws://proxy.openrov.com:3000'); |
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/bash | |
| set -o errexit | |
| NAME=home | |
| SOURCE=/home | |
| PATHTOBACKUP=/root/backup | |
| date=$(date "+%Y-%m-%dT%H:%M:%S") |
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
| import ipaddress | |
| ip = '192.168.1.54' | |
| netmask = '255.255.255.0' | |
| network = ipaddress.IPv4Network((ip, netmask), strict=False) | |
| print(str(network)) # prints 192.168.1.0/24 |
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
| 1617642 githubcom/docker/docker/vendor/githubcom/docker/swarmkit/api | |
| 555279 githubcom/docker/docker/daemon | |
| 463736 net/http | |
| 445039 githubcom/docker/docker/vendor/githubcom/miekg/dns | |
| 429534 githubcom/docker/docker/vendor/githubcom/docker/libnetwork | |
| 319895 githubcom/docker/docker/vendor/golang | |
| 253052 githubcom/docker/docker/vendor/githubcom/vishvananda/netlink | |
| 176387 crypto/tls | |
| 167421 githubcom/docker/docker/vendor/githubcom/gogo/protobuf/proto | |
| 164477 githubcom/docker/docker/vendor/githubcom/opencontainers/runc/libcontainer |
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
| li.chat-message.message { | |
| padding-left: 20px; | |
| transition: background-color 0s ease; | |
| } | |
| .avatar-container { | |
| display: none; | |
| } | |
| .bubble-container svg { |
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
| _ = require 'lodash' | |
| # TODO | |
| # - add entry/exit dates | |
| # - add blobs | |
| # - fix FIXME comments | |
| # - make stack versions specific (i.e node 4 -> node 4.5.1) | |
| # - model distro libc and connect blobs to that instead of distro_version | |
| data = { |
OlderNewer