Sources to go through:
- asp68k peephole optimizations: Not all are real.
- Efficient 68000 Progamming: Probably some overlap with the above.
- 68000 Tricks and Traps
- A couple 68k tricks
#!/bin/bash | |
# virtualenv-auto-activate.sh | |
# | |
# Installation: | |
# Add this line to your .bashrc or .bash-profile: | |
# | |
# source /path/to/virtualenv-auto-activate.sh | |
# | |
# Go to your project folder, run "virtualenv .venv", so your project folder | |
# has a .venv folder at the top level, next to your version control directory. |
# How Clearance / Hoptoad does it | |
module Clearance | |
class << self | |
attr_accessor :configuration | |
end | |
def self.configure | |
self.configuration ||= Configuration.new | |
yield(configuration) | |
end |
define([ | |
"underscore", | |
"backbone", | |
"marionette", | |
"vent" | |
], | |
/** | |
* Creates the primary `Marionette.Application` object that runs the admin framework. Provides a central point | |
* from which all other sub-applications are started, shown, hidden, and stopped. |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import subprocess | |
__all__ = ["transform"] | |
__version__ = '0.3' | |
__author__ = 'Christoph Burgmer <[email protected]>' | |
__url__ = 'http://github.com/cburgmer/upsidedown' |
; 8-bit Complementary-Multiply-With-Carry (CMWC) random number generator. | |
; Created by Patrik Rak in 2012, and revised in 2014/2015, | |
; with optimization contribution from Einar Saukas and Alan Albrecht. | |
; See http://www.worldofspectrum.org/forums/showthread.php?t=39632 | |
org 40000 | |
call rnd ; BASIC driver | |
ld c,a | |
ld b,0 |
// Uses Kick Assembler | |
// | |
// Switch bank in VIC-II | |
// | |
// Args: | |
// bank: bank number to switch to. Valid values: 0-3. | |
// | |
.macro SwitchVICBank(bank) { |
So you were able to install Kodi via "sudo apt-get install kodi" but have no idea how to force it to autostart on boot? | |
You have tried all those googled solutions such as adding kodi-standalone to .bashrc, creating init.d script but nothing worked? | |
This is the right place to get the answer. | |
For some reason, the current version of Kodi doesnt provide 2 important files: | |
/etc/init.d/kodi | |
/etc/default/kodi |
Sources to go through: