Build your dotfiles (shell, Vim config) from multiple sources with fresh.
Both of our dotfiles are built using fresh. We source Vim and other config from each other:
Build your dotfiles (shell, Vim config) from multiple sources with fresh.
Both of our dotfiles are built using fresh. We source Vim and other config from each other:
| typedef struct { | |
| int girlfriend; | |
| } holder; | |
| typedef struct { | |
| holder a; | |
| } toplevel; | |
| typedef struct { | |
| int this; |
| #!/bin/bash | |
| # INSTALL ORACLE INSTANT CLIENT # | |
| ################################# | |
| # NOTE: Oracle requires at least 1176 MB of swap (or something around there). | |
| # If you are using CentOS in a VMWare VM, there's a good chance that you don't have enough by default. | |
| # If this describes you and you need to add more swap, see the | |
| # "Adding a Swap File to a CentOS System" section, here: | |
| # http://www.techotopia.com/index.php/Adding_and_Managing_CentOS_Swap_Space |
| # Start a new database with name "testDB" and version 20 | |
| window.db = new JohoDB "testDB", 20 | |
| # Define the database schema, early days so the relations don't do anything yet, but I'm getting there. | |
| db.addSchema 'Household', { | |
| id: {type: "int", primaryKey: true, autoIncrement: true} | |
| address: {type: "string", required: true} | |
| suburb: {type: "string", required: true} |
| var levelup = require('levelup') | |
| var fs = require('fs'); | |
| var db = levelup('./imagedb') | |
| db.put('name', fs.readFileSync('image.png'), { encoding: 'binary' }, function (err) { | |
| db.get('name', { encoding: 'binary' }, function (err, value) { | |
| fs.writeFile('image-copy.png', value, function (err) { | |
| console.log('image-copy.png saved!'); | |
| }); | |
| }) |
| // Disable bold. | |
| term_.prefs_.set('enable-bold', false) | |
| // Use this for Solarized Dark | |
| term_.prefs_.set('background-color', "#002b36"); | |
| term_.prefs_.set('foreground-color', "#839496"); | |
| term_.prefs_.set('color-palette-overrides', [ | |
| '#073642', | |
| '#dc322f', |
| === Relevant links | |
| https://help.ubuntu.com/community/MultiArch | |
| http://unix.stackexchange.com/questions/60282/can-one-install-an-armel-ubuntu-package-on-armhf-ubuntu-system | |
| === Setup multiarch for armel | |
| Create | |
| '/etc/dpkg/dpkg.cfg.d/multiarch' | |
| containing | |
| 'foreign-architecture armel'. |
| data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> |
| # Test for an interactive shell. There is no need to set anything | |
| # past this point for scp and rcp, and it's important to refrain from | |
| # outputting anything in those cases. | |
| if [[ $- != *i* ]] ; then | |
| # Shell is non-interactive. Be done now! | |
| return | |
| fi | |
| # Put your fun stuff here. | |
| if uname -a | grep -q SAMSUNG ; then |