ruebenramirez / blog Goto Github PK
View Code? Open in Web Editor NEWMy blog
Home Page: http://blog.ruebenramirez.com/
My blog
Home Page: http://blog.ruebenramirez.com/
supposedly this can't be done: http://askubuntu.com/a/517370
but these guys have managed to wire something up:
http://how-to.cc/get-a-displaylink-video-adapter-working-with-ubuntu-12-04
changing primary monitor temporarily (not hardcoding it)
http://blog.nachtarbeiter.net/2012/01/09/change-primary-monitor-in-gnome-3/
http://blog.evernote.com/blog/2014/09/13/evernote-android-now-chromebook/
It looks like evernote finally updated their web client. It allows for pasting images, and everything! Woot!
add more resources:
I want to refer back to this post in the future as I discover more resources.
vundle plugins:
"Keymap: i - Install plugin; c - Cleanup; s - Search; R - Reload list
"Search results for: sql
Plugin 'sql.vim'
Plugin 'color-codes-SQL-keywords-from-Oracle-11g'
Plugin 'sqlplus.vim'
Plugin 'sqlserver.vim'
Plugin 'sql_iabbr-2'
Plugin 'sqlplsql'
Plugin 'sqlite_c'
Plugin 'vim-addon-sql'
Plugin 'sqloracle.vim'
Plugin 'mysqlquery'
Plugin 'nosql.vim'
Plugin 'mySqlGenQueryMenu.vim'
Plugin 'psql.vim'
Plugin 'sqlvim.sh'
Plugin 'Menu_SQL_Templates.vim'
Plugin 'tcl_sqlite.vim'
Plugin 'Access-SQL-Syntax-file'
Plugin 'SQLComplete.vim'
Plugin 'MS-SQL-Server-Syntax'
Plugin 'psql.vim'
Plugin 'sqlldr.vim'
Plugin 'sql.vim'
Plugin 'changesqlcase.vim'
Plugin 'sql.vim'
Plugin 'sql.vim'
Plugin 'sql.vim'
Plugin 'SQLUtilities'
Plugin 'sql.vim'
Plugin 'MySQL-script-runner'
Plugin 'plsql.vim'
Plugin 'plsql.vim'
Plugin 'sql_iabbr.vim'
Plugin 'sql.vim'
Plugin 'sqlplus.vim'
I really like the idea of tracking issues inline as part of your project's documentation:
https://medium.com/@MrJamesFisher/documentation-for-free-ec6d50f2b3c2
For the longest time, I've been using Jira and github task and issue tracking to organize development effort.
[ ] - find the changelog interview with the founder of gitlab.com -- covers issue tracking and workflow management.
I use agile sprint planning to help with longer term company roadmaping of my work. This is often messy though, as it's common to create issues and and add them into the sprint. I like the idea of just working off of a prioritized backlog at least.
I could see this wiki-style issue tracking actually work if there were proper tooling in place with the wiki software.
https://launchpad.net/~daniel.pavel/+archive/ubuntu/solaar
Once everything is installed, you can tweak the settings!
http://franklinstrube.com/blog/logitech-t650-wireless-touchpad-ubuntu/
curl http://files.polosatus.ru/winefontssmoothing_en.sh | sh
[ ] setup coreos on a couple of local machines
redis at scale at Twitter:
http://highscalability.com/blog/2014/9/8/how-twitter-uses-redis-to-scale-105tb-ram-39mm-qps-10000-ins.html
This article inspired my fix for display resolution config on start:
http://bernaerts.dyndns.org/linux/74-ubuntu/309-ubuntu-dual-display-monitor-position-lost
I ended up running xrandr as a startup application in order to reconfigure the laptop display to something readable via:
xrandr --output eDP1 --mode 1680x1050
Why would you want to move off of gmail?
[ ] - mail in a box docker container info
Using kolab
End result:
Imapsync to move your messages
https://help.ubuntu.com/community/AppleKeyboard#Mapping_keys_.28Insert.2C_Alt.2C_Cmd.2C_etc..29
temporarily:
echo 1 | sudo tee /sys/module/hid_apple/parameters/swap_opt_cmd
permanently
echo options hid_apple swap_opt_cmd=1 | sudo tee -a /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u -k all
sudo reboot
It's possible to write mysql queries that join tables from multiple databases.
[ ] - add a link to the mysql docs for this cross database join feature
Because queries do not span multiple database server connections, it is not possible to join databases across multiple servers.
Enter MySQL proxy....
[ ] - Does mysql proxy expose access to all proxied mysql servers via a single connection?
[ ] - grab the posts from the old wordpress installation
[ ] - export the images from the old site into the contrib dir here on this repo
I saw Dropcam and fell in love. But with the idea, not their proprietary offering.
I recently purchased my first home and ADT sales staff are worse than mosquitoes. For $50 a month I could have the house monitored "professionally", or I could rig something up myself for a one time up front investment. I setup Motion on an old laptop (more on that below) which was easy enough, but figured there had to be a better open source way to cover more of the house (and outside as well) without breaking the bank and getting sucked into expensive subscriptions.
I also just rescued Sammie from a dog shelter and am still house breaking her, so it's ideal to be able to see how she's doing without having to drive home from work multiple times a day. Dropcam and Simplicam both have a two way audio com feature that would be nice to replicate.
So I started researching on social media and all of my progress really started here:
https://twitter.com/yibi/status/481462671221719040
features:
Dropcam is pretty much a plug and play solution. It comes at a cost though. $150 for the cheaper offering and $200 for the "higher end" camera.
features:
[ ] does Motion support IP cameras?
alternatives to zoneminder:
http://alternativeto.net/software/zoneminder/
need to investigate these:
did a complete reset and things seem snappier..
keyboard is still broken in various applications though :(
Wondering how difficult it would be to rig up gluster on the backend for this:
http://www.gluster.org/
[ ] can we consume this via iSCSI?
[ ] how to combine CIFS with LDAP perms with this kind of a back end?
[ ] how to load balance? how to setup a reverse proxy? (is there a CIFS reverse proxy?)
How low can you go? Who provides the best of the cheap hosting space?
[ ] - need to give them a test run for a month and see how they do.
[ ] - what distinguishes vultr as a good hosting provider? How do they stack up with the "more mature" DigitalOcean?
[ ] - what kind of support do these providers offer?
[ ] - how do these providers stack up against bigger names like Rackspace, Amazon, Microsoft, and Google?
vundle vimium or vim-plug?
[ ] - include link to "how to create an ubuntu installation bootable thumb drive"
https://www.jverdeyen.be/ubuntu/imapsync-on-ubuntu/
nice ubuntu tutorial
The various raid configurations mapped to ZFS raid levels:
http://www.zfsbuild.com/2010/05/26/zfs-raid-levels/
Raid 10 setup as a stripped volume across multiple mirrored pairs:
http://www.zfsbuild.com/2010/06/03/howto-create-striped-mirror-vdev-pool/
[ ] How do we setup the RAID 10 ZFS volume equivalent through FreeNAS's web administrative interface? (might be easier to just shell into the command line)
pypi daemon module:
https://pypi.python.org/pypi/python-daemon/
provides some example usage:
import daemon
from spam import do_main_program
with daemon.DaemonContext():
do_main_program()
this module is an implementation of PEP 3143 - Standard daemon process library:
https://www.python.org/dev/peps/pep-3143/
Source: mysql
What are the best targets for a small data warehouse?
Replication:
Benefits of replication for this situation:
Running mysql proxy:
[ ] - would running a mysql proxy allow us to query production with cross database joins?
Index building options:
What can elastic search so for us?
$ ssh-copy-id [email protected]
source: http://unix.stackexchange.com/a/29388
public keys are also always available via github public api:
https://api.github.com/users/ruebenramirez/keys
This is probably the best source of keys to copy to all of my machines.
[ ] is building a webhook for public key deployment a good idea?
[ ] for that matter, what about a webhook for listening for updates to my .dotfiles repo?
embed images in posts by first adding the images to a contrib
directory in your repo
then embed those images in the markdown with something like:
![ScreenShot](https://github.com/ruebenramirez/blog/raw/master/contrib/screenshot.png)
I stumbled across some actually affordable 10' apple lightning connector cables for iphones and ipads.
one of the reasons that I've been reluctant to go back to mac is that I really like the pdf merging ability in automator. I think there are better workflows available in linux though...
Looks like this guy has figured out 3 of the better CLI tools:
https://blog.dbrgn.ch/2013/8/14/merge-multiple-pdfs/
It seems that mysql has removed a feature: renaming mysql databases.
looks like cclark has a python script that works well enough:
https://github.com/cclark/Rename-MySQL-DB
works by renaming every table in a database to <new_db_name>.<existing_table_name>...
temporary fix:
echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode
permanent fix:
echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf;
sudo update-initramfs -u -k all;
sudo reboot`
make sure that RSS actually works...
I bought a pair of Logitech Z263 THX 2.1 speakers some 3 years ago, and they finally gave out on me today.
I've bought all kinds of cables from Monoprice for a long time now. I still haven't tried out any other products they sell though. Before spending money on their $250 5.1 surround sound system, I figured I would run a cheap experiment and replace my office speakers that just died.
I decided to kick things off with the 8" 3-way bookshelf speakers:
https://www.monoprice.com/Product?c_id=109&cp_id=10904&cs_id=1090407&p_id=8251&seq=1&format=2
I've heard great things about these little amps:
Don't forget the wires! Don't do what I did and forget to buy the speaker wire...
The hardware is starting to grow on me. The metal on the sides of the screen seems like it doesn't fit around the glass as well as it should.
The device performance is great. It started out slow (while I a TON of updates were pulling in the background), but sped up pretty quickly and is a better experience than my iPad Air that I think I'll be selling soon.
I didn't go for the LTE but I'm already kind of kicking myself wishing that I had. I can definitely see using this over my iPad Air.
The downsides... Apple has a default split keyboard in landscape mode, where android does not. There are some after market keyboards that do offer this though, so I'm going to keep trying them out to see which one works best for me.
what's the current state of using pebble watch as a fitness tracker? pedometer, etc...
And is the android app going to get any better anytime soon? It's better than it used to be at least...
watch some videos!
http://blog.golang.org/two-recent-go-talks
source: https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Software_toggle
Then save this script to something such as /usr/bin/trackpad-toggle.sh:
/usr/bin/trackpad-toggle.sh
#!/bin/bash
synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')
Then finally add a key binding to use the script. It is best to call with xbindkeys like so (file ~/.xbindkeysrc):
~/.xbindkeysrc
"/usr/bin/trackpad-toggle.sh"
m:0x5 + c:65
Control+Shift + space
I just found out about a budget smartphone with pretty incredible specs for the price point. It's a Motorola device with stock android like you might find on a nexus device.
The Motorola g
They have a second generation now also with a bigger screen, and a micro sd card slot under the back cover.
[ ] is the battery removable/swappable?
I don't use my phone for much beyond light browsing, texting and maybe a few calls here and there, but I really like that Motorola is offering latest stock android support direct from Google.
one of the reasons that I couldn't get along with chromebooks as well as I would have liked is that I didn't have a good evernote client.
I think that's changed today:
http://www.theverge.com/2014/6/25/5842454/chromebooks-running-android-apps-in-the-works
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.