This file contains 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" ?> | |
<configuration> | |
<startup> | |
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> | |
</startup> | |
<appSettings> | |
<add key="one" value="1"/> | |
<add key="two" value="2"/> | |
<add key="three" value="3"/> | |
<add key="four" value="4"/> |
This file contains 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
python -m SimpleHTTPServer 8090 |
This file contains 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
# save this file as .bash_profile, or merge with the existing one. | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
# User specific environment and startup programs | |
# Red Hat Enterprise Linux Server release 6.3, x84_64 | |
# Oracle Client 11.2.0 (not Instant Client) | |
# Python 2.6 |
This file contains 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 datetime | |
def get_datetimestamp(sep_date="", sep_group="_", sep_time="", moment=None): | |
""" | |
Returns string representation of datetime objects. | |
By default, the value will look like "20121212_120102" and it | |
is safe to use it on file names. |
This file contains 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
if has("win16") || has("win32") || has("win64") | |
else | |
endif |
This file contains 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
try | |
source $HOME/_vimrc_local | |
catch /^Vim\%((\a\+)\)\=:E484/ | |
endtry |
This file contains 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
REM Introduction to bin_cleaner.bat | |
REM Deletes "bin" and "obj" folders recursively from .NET projects. | |
REM This is a simple batch file to DELETE "bin" and "obj" folders | |
REM for Windows. | |
REM I use this to really "clean" .NET projects. | |
REM Usage | |
REM Copy this to the root of your solution folder. | |
REM Warning | |
REM Do not run this in your desktop or documents folder. | |
REM It will delete all the "bin" and "obj" folders under that folder |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Traverses all the Python packages and upgrades them. | |
""" | |
from __future__ import print_function | |
from __future__ import unicode_literals |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# ############################# | |
# R E A D M E | |
# | |
# | |
# # Requirements | |
# |
This file contains 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
# Shell script to prepare an Ubuntu 18.04 LTS for development on Windows 10. | |
# After downloading the file, uncomment the sections you like. | |
# Tested with Ubuntu on Windows. | |
sudo apt update | |
# __________ utilities | |
sudo apt install mc p7zip-full p7zip-rar arj | |
sudo apt install curl tofrodos |