This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
source: http://www.harmonicaclub.com/tabs/The_Flintstones_Theme.htm | |
A harmonica 1st position | |
6b 4b | |
7b 6d 6b 4b | |
6b 5d 5b 5b 5d 6b 4b 4d 5b |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
//Arash Rouhani | |
#define _GLIBCXX_DEBUG | |
//#define NDEBUG | |
#include <iostream> | |
#include <iomanip> | |
#include <vector> | |
#include <algorithm> | |
#include <sstream> | |
#include <string> | |
#include <math.h> |
module GetHostName where | |
import Foreign.Marshal.Array ( allocaArray0, peekArray0 ) | |
import Foreign.C.Types ( CInt(..), CSize(..) ) | |
import Foreign.C.String ( CString, peekCString ) | |
import Foreign.C.Error ( throwErrnoIfMinus1_ ) | |
getHostName :: IO String | |
getHostName = do | |
let size = 256 |
I want to use colemak+telex on Ubuntu 14.04. Preferably switching betweeen them with a keyboard shortcut.
canhaz ibus-unikey
sudo cp /usr/share/ibus/component/unikey.xml{,-orig}
curl https://gist.githubusercontent.com/lewtds/14ca841f7331126ad66b/raw/86b525d474e803995dd85833fd8ae41496a5633d/unikey.xml | sudo tee /usr/share/ibus/component/unikey.xml
This is my xmonad+unity panel config. With this config, you'll have a well integrated panel from unity but still have xmonad as your window manager with your gnome apps, including the pretty gnome-terminal
(for those too lazy to learn xmoobar).
This config doesn't have the unity launcher, mainly becuse it causes windows to be unfloatable, besides I'm not fond of it anymore.
Copy and paste these lines (or understand what it does and do it manually).
/* | |
* Copyright (C) 2014 Square, Inc. | |
* | |
* 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 | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
# For Python unit testing, an idea for how to use a context manager for | |
# a unittest.TestCase instead of the setUp() and tearDown() methods. | |
# | |
# This is a possible answer to-- | |
# | |
# http://stackoverflow.com/questions/8416208/in-python-is-there-a-good-idiom-for-using-context-managers-in-setup-teardown | |
from contextlib import contextmanager | |
import unittest |
xkb_keymap { | |
xkb_keycodes { include "evdev+aliases(qwerty)" }; | |
xkb_types { include "complete" }; | |
xkb_compatibility { | |
include "complete" | |
}; | |
xkb_symbols { | |
include "pc+us(colemak)+inet(evdev)" | |
key <RALT> { |
{"version":1,"resource":"file:///Users/quydm/Workspace/codes/2.1-end-to-end-machine-learning-project.ipynb","entries":[{"id":"8Pvx.ipynb","source":"edit","timestamp":1653531385919},{"id":"kGIm.ipynb","timestamp":1653532319305},{"id":"UCm4.ipynb","timestamp":1653533440687},{"id":"zPdh.ipynb","source":"edit","timestamp":1653533753252},{"id":"oEQS.ipynb","source":"Insert Cell","timestamp":1653534685971},{"id":"eOUc.ipynb","timestamp":1653534793564},{"id":"SmsD.ipynb","source":"edit","timestamp":1653536355775},{"id":"6iy0.ipynb","source":"Insert Cell","timestamp":1653537021354},{"id":"1R4C.ipynb","source":"Insert Cell","timestamp":1653537430360}]} |