- Get fonts folder. Put the TTF subfolder into ~/.local/share/fonts/
- Run :
fc-cache -f -v
- Check:
fc-list | grep "name of font"
Instructions obtained from https://github.com/source-foundry/Hack
;(ql:quickload "cffi") | |
(require :cffi) | |
(defcfun "fork" :int) | |
(defcfun "execvp" :int | |
(file :string) | |
(argv (:pointer :string))) | |
(defun test () | |
(let ((pid (fork))) |
fc-cache -f -v
fc-list | grep "name of font"
Instructions obtained from https://github.com/source-foundry/Hack
Vanilla: document.querySelector("#someid") | |
Umbrella: u('#someid').first() | |
With regards to use in CellJS, query selector can be used to get hold of a cell/subcell and then run a function within it. |
# change binder to tilda | |
# NOT OK -> marking in vim becomes difficult | |
# TODO: find a suitable single key replacement ( maybe ALT) | |
unbind C-b | |
set -g prefix ` | |
bind ` send-prefix | |
# Start numbering at 1 | |
set -g base-index 1 |
#Very Important Instructions for this file
A simple hello world x86 program demonstrating syscalls.
###Build Instructions: You need to run the cpp to convert the .S file to .s file. Then instead of manually assembling and linking the file, you can run cc as shown.
###Main vs _start Here note the use of the 'dont include std lib' flag. This is because we do not have a main but a direct _start. If you want to use main instead, replace all instances of _start with main and remove this flag. It should work the same.
git remote update | |
git status -uno |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[add your bin description]" /> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<script src="http://code.jquery.com/jquery-2.0.2.js"></script> | |
<script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script> | |
<script src="http://builds.emberjs.com/tags/v1.5.0/ember.js"></script> | |
<script src="http://builds.emberjs.com/beta/ember-data.js"></script> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[add your bin description]" /> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<script src="http://code.jquery.com/jquery-2.0.2.js"></script> | |
<script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script> | |
<script src="http://builds.emberjs.com/tags/v1.5.0/ember.js"></script> | |
<script src="http://builds.emberjs.com/beta/ember-data.js"></script> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[add your bin description]" /> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<script src="http://code.jquery.com/jquery-2.0.2.js"></script> | |
<script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script> | |
<script src="http://builds.emberjs.com/tags/v1.5.0/ember.js"></script> | |
<script src="http://builds.emberjs.com/beta/ember-data.js"></script> |
//this file goes into app/initializers/ | |
//same logic for injecting into other stuff | |
//tested | |
export default { | |
name: "injectStoreIntoView", | |
after: "store", | |
initialize: function(container, application) { | |
container.typeInjection('view', 'store', 'store:main'); |