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
| // Just add this text to bookmark panel | |
| javascript:(function () {ISRIL_SCRIPT = document.createElement('SCRIPT');ISRIL_SCRIPT.type = 'text/javascript';ISRIL_SCRIPT.src='http://localhost/Fiv/tools/saveForFun/save.js';document.getElementsByTagName('head')[0].appendChild(ISRIL_SCRIPT)})(); | |
| // Next content save to http://localhost/Fiv/tools/saveForFun/save.js | |
| // | |
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
| (function($){ | |
| /** | |
| * 1.0 | |
| * Author Ivan Scherbak dev@funivan.com | |
| * $('#title').ukrtranslit('#sef'); | |
| * | |
| */ | |
| $.fn.extend({ | |
| ukrtranslit : function(el) { | |
| var translitTable = new Array(); |
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
| sudo sed -i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/*.desktop | |
| #remove unitry | |
| sudo apt-get remove unity unity-2d unity-2d-panel unity-2d-spread unity-asset-pool unity-services unity-lens-files unity-lens-music unity-lens-applications gir1.2-unity-5.0 unity-common libindicator7 indicator-application indicator-datetime indicator-messages libnux-2.0-0 nux-tools libunity-misc4 unity-2d-common | |
| sudo apt-get install gnome-session-fallback |
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
| git remote add github <url> | |
| git push github |
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
| sudo fstrim / -v | |
| gksudo gedit /etc/fstab | |
| # demo : | |
| # UUID=aeade6fd-2b24-4e59-bc8c-6f1791338b0c / ext4 noatime,nodiratime,discard,errors=remount-ro,commit=60 0 1 | |
| # add this | |
| # add this | |
| tmpfs /tmp tmpfs defaults 0 0 | |
| tmpfs /var/tmp tmpfs defaults 0 0 |
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
| data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> | |
| <!-- | |
| For other language: Instead of `ace/mode/ruby`, Use | |
| Markdown -> `ace/mode/markdown` | |
| Python -> `ace/mode/python` | |
| C/C++ -> `ace/mode/c_cpp` | |
| Javscript -> `ace/mode/javascript` |
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
| #!/bin/bash | |
| # | |
| # Ivan Scherbak <funivan.com> | |
| # Configure global commands | |
| # | |
| # unset global user | |
| git config --global --unset user.name; | |
| git config --global --unset user.email; |
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
| #!/bin/bash | |
| # | |
| # Ivan Scherbak <funivan.com> | |
| if [ -z "$1" ]; then | |
| echo "set argument"; | |
| exit; | |
| elif [ $1 = "--backup" ] | |
| then |
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
| #!/bin/bash | |
| # | |
| # Ivan Scherbak <dev@funivan.com> 2013 | |
| # | |
| # Install programs and tweak ubuntu :) | |
| # | |
| source ~/funivan/lib.sh | |
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
| # phpmd/PHP_PMD | |
| pear channel-discover pear.phpmd.org | |
| pear channel-discover pear.pdepend.org | |
| pear install --alldeps phpmd/PHP_PMD |