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
from tensorflow.examples.tutorials.mnist import input_data | |
import tensorflow as tf | |
import matplotlib.pyplot as plt | |
# Load data | |
mnist = input_data.read_data_sets('MNIST_data', one_hot=True) | |
# Neural Network Initialization |
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> | |
<head> | |
<style> | |
#content { | |
font-size: 18; | |
text-align: center; | |
padding-top: 150px; | |
} | |
.blurry-text { | |
color: transparent; |
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
//more details: http://www.bogotobogo.com/cplusplus/multithreaded2A.php | |
#include <Windows.h> | |
#include <process.h> | |
#include <stdio.h> | |
unsigned int __stdcall test_thread(void *data) { | |
printf("Thread Started"); | |
return 0; | |
} |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""Urls to Hyperlinks. | |
This script takes line-separated urls from stdin and writes formatted hyperlinks to stdout. | |
Usage: | |
# cat urls.txt | python ltoh.py > hyperlinks. | |
""" |
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
#include <stdio.h> | |
#include <tchar.h> | |
#include <Windows.h> | |
#include <iostream> | |
HHOOK hHook{ NULL }; | |
enum Keys | |
{ | |
ShiftKey = 16, |
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 matplotlib.pyplot as plt | |
from numpy.fft import fft | |
from numpy.fft import fftshift | |
import numpy as np | |
import random | |
dictionary = ['A','C','G','T'] | |
def generate_random_sequence(N): | |
return [dictionary[random.randint(0,len(dictionary)-1)] for _ in range(N)] |
NewerOlder