If you need a small makefile introduction/reference you can take a look at my notes https://www.mauriciopoppe.com/notes/os/bin/make/
Project structure
. project
├── Makefile
├── build
#include <stdio.h> | |
#include <stdlib.h> | |
#ifdef __APPLE__ | |
#include <OpenCL/opencl.h> | |
#else | |
#include <CL/cl.h> | |
#endif | |
int main() { |
If you need a small makefile introduction/reference you can take a look at my notes https://www.mauriciopoppe.com/notes/os/bin/make/
Project structure
. project
├── Makefile
├── build
package ru.psqq; | |
import javax.crypto.Cipher; | |
import javax.crypto.spec.IvParameterSpec; | |
import javax.crypto.spec.SecretKeySpec; | |
import java.io.*; | |
import java.security.Key; | |
import java.security.MessageDigest; | |
import java.util.Base64; |
By DoctorEvil on Nextcoin.org
Sponsored by MSIN on BitcoinTalk.org
NXT's Crypto.java and Curve25519.java look kosher aside from a signing bug that is currently being worked around.
// server | |
var net = require('net'); | |
var HOST = '127.0.0.1'; | |
var PORT = 6969; | |
// Create a server instance, and chain the listen function to it | |
// The function passed to net.createServer() becomes the event handler for the 'connection' event | |
// The sock object the callback function receives UNIQUE for each connection | |
net.createServer(function(sock) { |
/* | |
smtpd.js is SMTP server written for node.js | |
#Changes# | |
-made to work with 0.6.2 (replaced sys.print with console.log) | |
-a few bug fixes | |
sudo node smtpd.js | |
#!/usr/bin/python | |
# | |
# Simple script intended to abuse SMTP server's VRFY command to leak | |
# usernames having accounts registered within it. | |
# | |
# Mariusz B., 2016 | |
# | |
import socket | |
import sys |
# create sdk folder | |
export ANDROID_HOME=/opt/android-sdk-linux | |
sudo mkdir -p $ANDROID_HOME | |
# install openjdk | |
sudo apt-get install openjdk-8-jdk | |
# download android sdk | |
cd $ANDROID_HOME | |
sudo wget https://dl.google.com/android/repository/tools_r25.2.3-linux.zip |
sudo add-apt-repository ppa:openjdk-r/ppa | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre | |
# install openjdk | |
sudo apt-get install openjdk-7-jdk | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz |
#!/usr/bin/python2.6 | |
# | |
# Author: Olivier Gillet ([email protected]) | |
"""Class and functions to read and write numpy array from and to audio files.""" | |
import copy | |
import logging | |
import numpy | |
import struct |