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
timeout 120 | |
taskkill /F /IM "robocopy.exe" | |
robocopy "C:\abc" "D:\xyz" /S /R:0 /W:0 /XJD /XJF /LOG:"C:\TEMP\robocopy.log" /xf *.type~ *.robot~ .gitignore .history .project /xd .git | |
cmd.exe |
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 | |
empty.exe * |
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
cd C:\XXX | |
7z a %date:~0,4%%date:~5,2%%date:~8,2%.zip AAA BBB | |
pushd "\\XXX\abc" | |
move /y "C:\backup\%date:~0,4%%date:~5,2%%date:~8,2%.zip" . | |
cmd.exe |
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
javascript: (function() { | |
var date = new Date(); | |
prompt("unix time:", date.getTime()); | |
})(); |
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 HTTP_CLIENT=wget --no-check-certificate -O | |
set HTTP_CLIENT=curl -f -L -k -o | |
set HTTP_PROXY=yourserver:8080 | |
set HTTPS_PROXY=yourserver:8080 | |
set JAVA_HOME=%~dp0 | |
set "JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=yourserver -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password" | |
set PATH=%PATH%;%JAVA_HOME%bin;%~dp0kotlinc\bin;%~dp0 |
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 HTTP_CLIENT=wget --no-check-certificate -O | |
set HTTP_CLIENT=curl -f -L -k -o | |
set HTTP_PROXY=yourserver:8080 | |
set HTTPS_PROXY=yourserver:8080 | |
set JAVA_HOME=%~dp0 | |
set "JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=yourserver -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password" | |
set PATH=%PATH%;%JAVA_HOME%bin;%~dp0kotlinc\bin;%~dp0 |
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
#!/usr/bin/env python | |
import sys | |
import re | |
import codecs | |
import time | |
import msmt | |
from BeautifulSoup import BeautifulStoneSoup | |
#sys.stdout = codecs.getwriter('utf-8')(sys.stdout) |
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
#!/usr/bin/env gosh | |
(use file.util) | |
(define (main args) | |
(let1 lines (file->list read-line "temp.tmpl") | |
(let loop ((r "") | |
(lis lines)) | |
(if (null? lis) | |
(print r) |
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
(source gnu) | |
(source melpa) | |
(depends-on "bind-key") | |
(depends-on "cask") | |
(depends-on "dash") | |
(depends-on "drag-stuff") | |
(depends-on "exec-path-from-shell") | |
(depends-on "expand-region") | |
(depends-on "f") |
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
;;; myfile.el --- sample | |
;; This program is free software | |
;;; Version: 0.1 | |
;;; Code: | |
(defun myfile:addition (a b) | |
(+ a b)) | |
(provide 'myfile) |