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
| [user] | |
| email = dayneo@gmail.com | |
| name = dayneo | |
| [init] | |
| defaultBranch = master | |
| [pull] | |
| rebase = true | |
| [alias] | |
| graph = log --graph --pretty=format:'%C(auto,yellow)%h %C(auto,blue)%>(12,trunc)%ad %C(auto,green)%<(6,trunc)%aN %C(auto,red)% gD% D %C(auto,reset)%s' --date=relative --abbrev-commit |
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
| SET FEEDBACK OFF; | |
| SET SERVEROUTPUT ON SIZE 1000000; | |
| set verify off | |
| set trimspool on | |
| set linesize 4000 | |
| ACCEPT seq_name CHAR PROMPT 'Sequence name: '; | |
| ACCEPT seq_value NUMBER PROMPT 'Value: '; |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Data; | |
| using System.IO; | |
| /// <summary> | |
| /// Improts csv data from a file. | |
| /// </summary> | |
| /// <remarks> | |
| /// https://msdn.microsoft.com/en-us/library/ms709353(v=vs.85).aspx |
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
| @echo off | |
| set path=%ProgramFiles%\Oracle\VirtualBox;%path% | |
| set /P size=New size (MB): | |
| VBoxManage modifyhd %1 --resize %size% |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data.Services.Client; | |
| using System.Data.Services.Exceptions; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
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
| using System; | |
| using System.Globalization; | |
| using System.Windows; | |
| using System.Windows.Data; | |
| /// <summary> | |
| /// Provides data for the Format and Parse events. | |
| /// </summary> | |
| public class ConvertEventArgs : EventArgs | |
| { |
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
| using System; | |
| using System.Windows; | |
| using System.Windows.Controls; | |
| /// <summary> | |
| /// Adds ability to perform bitwise operations using a checkbox. | |
| /// </summary> | |
| public class BitFlagBehaviour : DependencyObject | |
| { | |
| /// <summary> |
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
| using System; | |
| using System.Collections; | |
| using System.Windows.Data; | |
| public class IndexAccessibleListCollectionView : ListCollectionView | |
| { | |
| public IndexAccessibleListCollectionView(IEnumerable collection) | |
| : base(new ArrayList()) | |
| { | |
| foreach (object item in collection) |
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
| SET FEEDBACK OFF; | |
| SET SERVEROUTPUT ON SIZE 1000000; | |
| set trimspool on | |
| set linesize 4000 | |
| SPOOL %TEMP%\xcopy.sql | |
| exec dbms_output.put_line(''); | |
| exec dbms_output.put_line('SET FEEDBACK ON;'); | |
| exec dbms_output.put_line('SET SERVEROUTPUT ON;'); |
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
| SET FEEDBACK OFF; | |
| SET SERVEROUTPUT ON; | |
| SPOOL %TEMP%\clearschema.sql | |
| exec dbms_output.put_line(''); | |
| exec dbms_output.put_line('SET FEEDBACK ON;'); | |
| exec dbms_output.put_line('SET SERVEROUTPUT ON;'); | |
| exec dbms_output.put_line(''); |