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
<a href="https://www.google.co.jp/" target="_blank" rel="noopener noreferrer">Google</a> |
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
<html contenteditable> | |
<body bgcolor="cyan"> | |
</body> | |
</html> |
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
Set obj = CreateObject("InternetExplorer.Application") | |
obj.Visible = true | |
obj.Navigate "https://www.github.com/" |
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
schtasks /query /fo csv /v > ./tasks.csv |
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
select name, type, line, replace(replace(text, chr(13), ''), chr(10), '') as text | |
from user_source | |
where type in ('FUNCTION', 'PROCEDURE', 'PACKAGE BODY') | |
and text like '%2999/12/31%' | |
order by name, line; |
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
File file = new File(filename); | |
FileInputStream fis = new FileInputStream(file); | |
InputStreamReader isr = new InputStreamReader(fis, "Cp930"); | |
BufferedReader br = new BufferedReader(isr); |
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 java.util.Calendar; | |
import java.text.SimpleDateFormat; | |
public class UnixTimeConverter { | |
public String conv(String utime) { | |
String retstr = ""; | |
try { | |
Calendar cal = Calendar.getInstance(); | |
cal.setTimeInMillis(Long.parseLong(utime) * 1000L); |
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
mkdir GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} |
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 java.net.URLDecoder; | |
import java.io.UnsupportedEncodingException; | |
public class MyLittleDecoder { | |
public String decode(String str) { | |
String retstr = ""; | |
try { | |
retstr = URLDecoder.decode(str, "Windows-31J"); | |
} catch (UnsupportedEncodingException e) { |
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 java.io.FileInputStream; | |
import java.io.InputStreamReader; | |
import java.io.BufferedReader; | |
import java.io.FileOutputStream; | |
import java.io.OutputStreamWriter; | |
import java.io.BufferedWriter; | |
import java.io.PrintWriter; | |
public class TextModTest { | |
private final String filename = "file.txt"; |
NewerOlder