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
| import subprocess | |
| mysql = '/wamp/bin/mysql/mysql5.6.12/bin/mysql.exe' | |
| host = 'localhost' | |
| dbname = 'test' | |
| user = 'root' | |
| passwd = '' | |
| query = 'SELECT `text` FROM `tbt`' |
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
| /** | |
| * Author: Vilcu Mihai Ionut | |
| * Bilet: CC44 | |
| */ | |
| import java.util.*; | |
| import java.lang.*; | |
| class tmp |
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(o) { | |
| o = o || {}; | |
| // The function existy is meant to define the existence of something. | |
| o.existy = function existy(x) { return x != null }; | |
| o.truthy = function truthy(x) { return (x !== false) && o.existy(x) }; | |
| o.doWhen = function(cond, action) { if(o.truthy(cond)) return action(); return undefined; }; | |
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
| /** | |
| * Script shows position and size of selection or layer if selection is not set | |
| * @author: Mihai Ionut Vilcu | |
| * Jul 2014 | |
| */ | |
| /******** CONFIGURATION **********/ | |
| var ID = '#home-tab-item-'; // the css selector | |
| var PATH = '~/Desktop/test.css'; |
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
| {"panels":["html","css","live"],"editor":{"theme":"monokai","styleActiveLine":false,"lineNumbers":true},"includejs":false,"font":14,"addons":{"closebrackets":true,"highlight":true,"vim":true,"emacs":false,"trailingspace":false,"fold":true}} |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <key name="Software"> | |
| <key name="ConEmu"> | |
| <key name=".Vanilla" modified="2014-01-21 22:47:08" build="131223"> | |
| <value name="ColorTable00" type="dword" data="0036342e"/> | |
| <value name="ColorTable01" type="dword" data="00a46534"/> | |
| <value name="ColorTable02" type="dword" data="00069a4e"/> | |
| <value name="ColorTable03" type="dword" data="009a9806"/> | |
| <value name="ColorTable04" type="dword" data="000000cc"/> | |
| <value name="ColorTable05" type="dword" data="007b5075"/> |
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
| progress { | |
| margin: 40px; | |
| width: 75%; | |
| height: 1em; | |
| -webkit-appearance: none; | |
| appearance: none; | |
| } | |
| progress::-webkit-progress-bar { | |
| background: #ccc; |
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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| *.sass-cache |
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
| $(".toggle-text").on('click', function(event) { | |
| event.preventDefault(); | |
| $this = $(this); | |
| var text = JSON.parse(($this.attr('data-toggle-text'))); | |
| var current_text = $this.text(); | |
| for (var i = 0; i < text.length; i++) { | |
| if(i == text.length-1){ // if it's the last one set it the first value | |
| $this.text(text[0]); | |
| break; |
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 ua = navigator.userAgent.toLowerCase(); | |
| var isSafari = ((ua.indexOf('safari')!=-1) && (ua.indexOf('chrome') == -1)); |