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
certutil -hashfile targetFile.txt md5 | |
certutil -hashfile targetFile.txt sha1 | |
certutil -hashfile targetFile.txt sha256 |
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
IDENTIFICATION DIVISION. | |
PROGRAM-ID. advofcode01. | |
AUTHOR Paul Klingelhuber | |
ENVIRONMENT DIVISION. | |
INPUT-OUTPUT SECTION. | |
FILE-CONTROL. | |
SELECT InpFile ASSIGN TO "ADVOFCODE01.DAT" | |
ORGANIZATION IS LINE SEQUENTIAL. |
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
// AI.java | |
public interface AI | |
{ | |
String getName(); | |
} | |
// A.java | |
@Service | |
public class A implements AI |
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 requests | |
from xml.dom import minidom | |
from subprocess import call | |
from distutils.version import StrictVersion | |
def checkValidVersion(s): | |
if len(s) < 1: | |
return None | |
try: | |
parsed = float(s[:-1]) |
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 requests | |
from xml.dom import minidom | |
from subprocess import call | |
from distutils.version import StrictVersion | |
def checkValidVersion(s): | |
if len(s) < 1: | |
return None | |
try: | |
parsed = float(s[:-1]) |
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
use_bpm 120 | |
kicks = [1,0,0,0, 1,0,0,0, 1,0,0,0, 1,0,0,0].ring | |
snares = [1,0,1,0, 1,0,0,1, 0,0,1,0, 0,0,1,0].ring | |
drum = [0,0,0,0, 0,0,0,1, 0,0,0,0, 0,0,0,0].ring | |
drum2 = [1,0,1,0, 0,0,1,0, 0,0,1,0, 0,0,1,0].ring | |
live_loop :drums do | |
pos = tick | |
if kicks[pos] == 1 then |
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
((ch.qos.logback.classic.Logger)org.slf4j.LoggerFactory.getLogger("org.hibernate.SQL")).setLevel(ch.qos.logback.classic.Level.DEBUG); | |
((ch.qos.logback.classic.Logger)org.slf4j.LoggerFactory.getLogger("org.hibernate.type")).setLevel(ch.qos.logback.classic.Level.TRACE); |
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
package at.paukl.dynclient.blogpost; | |
import jdk.nashorn.api.scripting.NashornScriptEngine; | |
import org.apache.commons.io.IOUtils; | |
import org.slf4j.Logger; | |
import javax.script.Bindings; | |
import javax.script.ScriptContext; | |
import javax.script.ScriptEngineManager; | |
import javax.script.ScriptException; |
NewerOlder