sudo apt-get install qemu-user-static qemu-system-arm debootstrap
mkdir vexpress
cd vexpress
mkdir qemu-img
dd if=/dev/zero of=./vexpress-4G.img bs=4M count=1024
sudo losetup -f ./vexpress-4G.img
This file contains 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 | |
# | |
# Copyright 2014 Hewlett-Packard Development Company, L.P. | |
# All Rights Reserved. | |
# Authored by Yazz D. Atlas <yazz.atlas@hp.com> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. You may obtain | |
# a copy of the License at | |
# |
You might want to read this to get an introduction to armel vs armhf.
If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.
First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static
so that you can run ARM executables directly on linux
This file contains 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
var gulp = require('gulp'); | |
var source = require('vinyl-source-stream'); | |
var watchify = require('watchify'); | |
var livereload = require('gulp-livereload'); | |
var hbsfy = require("hbsfy").configure({ | |
extensions: ["html"] | |
}); | |
gulp.task('watch', function() { |
This file contains 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
(when (and (require 'dash) (require 'realgud) (require 'grizzl)) | |
(defun xars-grizzl-select-cmdbuf() | |
"Lets the user select a realgud command buffer, unless there's a single | |
command buffer, in which case returns the buffer directly." | |
(interactive) | |
(let ((cmdbuffers (-select #'realgud-cmdbuf? (buffer-list)))) | |
(if (> (length cmdbuffers) 1) | |
(let* ((cmdbuffers-names (-map #'buffer-name cmdbuffers)) | |
(cmdbuffers-index (grizzl-make-index cmdbuffers-names))) | |
(let ((selection (grizzl-completing-read |
This file contains 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
#!/usr/bin/python | |
import os | |
import json | |
def update(module, state, name, auto, hotplug, iface_type, addr_family, address, | |
netmask, nameservers, gateway): | |
try: | |
fd = open('/etc/network/interfaces') |
This file contains 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
.btn-primary { | |
background-color: #08c; | |
border-color: #08c; | |
color: #fff; | |
background-color: #007ab8; | |
background-image: -moz-linear-gradient(top, #08c, #006699); | |
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#006699)); | |
background-image: -webkit-linear-gradient(top, #08c, #006699); | |
background-image: -o-linear-gradient(top, #08c, #006699); | |
background-image: linear-gradient(to bottom, #08c, #006699); |
This file contains 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
describe("Something", function () { | |
it("should promise", promising(function () { | |
return Promise.reject("Ouch!"); | |
})); | |
}); |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
This file contains 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
# | |
# Copyright (C) 2013-2020 Vinay Sajip. New BSD License. | |
# | |
import os | |
import os.path | |
from subprocess import Popen, PIPE | |
import sys | |
from threading import Thread | |
from urllib.parse import urlparse | |
from urllib.request import urlretrieve |