[global]
log to stderr = true
; Uncomment the following in order to use the Windows Event Log
log to syslog = true
run dir = C:/ProgramData/ceph/out
crash dir = C:/ProgramData/ceph/out
; Use the following to change the cephfs client log level
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 org.ea.debugger; | |
import java.lang.management.ManagementFactory; | |
import java.util.*; | |
import java.util.function.IntConsumer; | |
public class CollectionTest { | |
public static void sleep() { | |
try { | |
Thread.sleep(3000); |
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
Methods | |
1. Creation of a webapp for interactive communication | |
2. Weekly report form (Template) | |
3. Modify an existing app | |
4. Biannual reports | |
Solutions | |
1. Creation of awareness, incentives and settings and clear targets | |
2. Bridging the power gap - non formal communication | |
3. Weekly briefs and summary - improve quality and simplify reports |
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
def _load_simple_annotation(self, index): | |
""" | |
Load image and bounding boxes info from txt space separeted values where you have | |
lines in the format of | |
classification x1 y1 x2 y2 | |
""" | |
filename = os.path.join(self._data_path, 'Annotations', index + '.txt') | |
# print 'Loading: {}'.format(filename) | |
with open(filename) as f: |
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 re | |
addrs = [ | |
'PetImages/A/test1.jpg', | |
'PetImages/B/test3.jpg', | |
'PetImages/B/test3.jpg', | |
'PetImages/C/test4.jpg', | |
'PetImages/D/test2.jpg', | |
'PetImages/C/test4.jpg', | |
'PetImages/A/test1.jpg', |
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 com.sun.net.httpserver.HttpContext; | |
import com.sun.net.httpserver.HttpExchange; | |
import com.sun.net.httpserver.HttpHandler; | |
import com.sun.net.httpserver.HttpServer; | |
import sun.net.httpserver.HttpServerImpl; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.net.InetSocketAddress; |
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 org.ea; | |
import java.security.MessageDigest; | |
import java.util.Arrays; | |
public class FeistelAlg { | |
private final static String plainText = "the brown fox jumped over the lazy dog"; | |
public static void doRound(byte[] left, byte[] right) throws Exception { | |
MessageDigest md = MessageDigest.getInstance("sha-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
Download and extract the LJ Speech dataset | |
Clone this repo: git clone https://github.com/NVIDIA/tacotron2.git | |
CD into this repo: cd tacotron2 | |
Initialize submodule: git submodule init; git submodule update | |
Update .wav paths: sed -i -- 's,DUMMY,ljs_dataset_folder/wavs,g' filelists/*.txt |
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 org.ea; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.InputEvent; | |
import java.awt.event.KeyEvent; | |
import java.awt.event.KeyListener; | |
public class AutoClicker implements KeyListener { | |
static boolean enabled = false; |
OlderNewer