These rules are adopted from the AngularJS commit conventions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Qt | |
| #include <QCoreApplication> | |
| #include <QStringList> | |
| #include <QFile> | |
| #include <QHash> | |
| #include <QTextStream> | |
| #include <QtDebug> | |
| int main( int argc, char *argv[] ) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.directive('scrollSpy', function ($window) { | |
| return { | |
| restrict: 'A', | |
| controller: function ($scope) { | |
| $scope.spies = []; | |
| this.addSpy = function (spyObj) { | |
| $scope.spies.push(spyObj); | |
| }; | |
| }, | |
| link: function (scope, elem, attrs) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var scale | |
| var flickable | |
| var target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "settings.h" | |
| #include <QSettings> | |
| #include <QMetaEnum> | |
| #include <QRegExp> | |
| #include <QStringList> | |
| Settings::Settings(){ | |
| const QMetaObject &mo = staticMetaObject; | |
| int idx = mo.indexOfEnumerator("Key"); | |
| keys = mo.enumerator(idx); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -r 19cc3b567644 make/sun/font/Makefile | |
| --- a/make/sun/font/Makefile Wed Jan 22 12:34:24 2014 -0800 | |
| +++ b/make/sun/font/Makefile Fri Jan 24 21:41:23 2014 +0900 | |
| @@ -138,7 +138,7 @@ | |
| ifeq ($(USING_SYSTEM_FT_LIB), false) | |
| FREETYPE_LIB = $(LIB_LOCATION)/$(LIB_PREFIX)freetype.$(LIBRARY_SUFFIX).6 | |
| endif | |
| - OTHER_LDLIBS += -L$(FREETYPE_LIB_PATH) -lfreetype | |
| + OTHER_LDLIBS += -L$(FREETYPE_LIB_PATH) -lfreetype -lfontconfig | |
| endif |
As configured in my dotfiles.
start new:
tmux
start new with session name:
NewerOlder