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
Windows Registry Editor Version 5.00 | |
; Adapted from https://github.com/neilpa/cmd-colors-solarized/blob/master/solarized-dark.reg | |
; Registry file that maps the solarized palette to the 16 avaliable colors | |
; in a Windows command prompt. Note, hex values in the table are RGB but byte | |
; ordering of a DWORD is BGR, e.g. "ColorTable<##>"=dword:00<B><G><R> | |
; | |
; Solarized color table from http://ethanschoonover.com/solarized. | |
; |
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
# Automatically answer all prompts negatively not to stall | |
# the script on errors | |
option batch on | |
# Disable overwrite confirmations that conflict with the previous | |
option confirm off | |
# Connect using a password | |
# open user:password@example.com | |
# Connect |
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
<?php | |
/** | |
* Convert an object into an array (by example json object) | |
* @param an object | |
* @return an array | |
*/ | |
function objectToArray($object) { | |
if(is_object($object)) { | |
$object = get_object_vars($object); |
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
@echo off | |
REM This script will copy all CSV files of the given directory to another location | |
REM Then it moves files to another directory | |
xcopy C:\path\to\files\*.csv Z:\path\to\copied\files\ /y | |
move C:\path\to\files\*.csv C:\path\to\new\location\ /y |
NewerOlder